Transform not applied to RTCView video
See original GitHub issueHi! 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:
- Created 3 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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.