question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transform not applied to RTCView video

See original GitHub issue

Hi! Thanks for this wonderful library!

Faced a problem. RTCView transforms do not work on android, but excellent work on ios. I read the previous tasks, just mirroring is not enough for me. I need to rotate the video stream by a certain degree and etc. surfaceViewRenderer rotates, but content inside (video) does not rotate.

Expected behavior

transform: [ {rotate: '-90deg'}, { scaleX: -1 }, { scaleY: -1 } ] Expect: Rotates the video stream 90 degrees and make horizontal and vertical flip.

Observerd behavior

RTCView is rotating, but content inside (video) is not rotating.

Steps to reproduce the problem

Connect to the broadcast and try to apply this in your RTCView styles : transform: [ {rotate: '-90deg'}, { scaleX: -1 }, { scaleY: -1 } ]

Platform information

  • React Native version: 63.2 / 63.3
  • Plugin version: 1.84.1
  • OS: Android
  • OS version: 10

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Nov 9, 2020

To be honest, I don’t know right off the bat, sorry. I’d start by digging into how we build RCTView and supported the other transforms.

0reactions
stale[bot]commented, Oct 4, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

In react-native-webrtc in <RTCView> only video is coming ...
I am working with react-native-webrtc but I am facing one problem I am able to display video captured by the camera but the...
Read more >
Help - React Native WebRTC - Discourse
Topic Replies Views Activity Black screen when receiving video (resolved) 4 5733 December 11, 2021 How can i get each frame as image from stream...
Read more >
WebRTC on mobile devices - Delivery Hero - Tech Blog
Streams are rendered using RTCView . In a web application, we used a normal video element to show our stream on a web...
Read more >
Quick Start - Video SDK Documentation
Video SDK enables the opportunity to integrate native iOS, Android & Web SDKs to add live video & audio conferencing to your applications....
Read more >
react-native-webrtc-usb-lib - npm
There are no other projects in the npm registry using ... Support video and audio communication. ... rtcView }} streamURL={this.state.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found