Saúl Ibarra Corretgé
unread,Jul 7, 2017, 10:15:32 AM7/7/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to discuss...@googlegroups.com
Hola!
I’ve been working on updating the React Native WebRTC plugin to use the Camera2 API on Android, but I’m running into a weird problem, and I’m in need of some help. Local streams are not properly rendered, they just show a black. Remote streams render fine.
AFACT I have done everything just like the demo app:
- configured the PeerConnectionFactory to use HW acceleration
- pass the EGL contexts to the factory to enable HW codecs
- create the video capturer using the Camera2Enumerator
- …
At this point, remote video renders correctly, and the remote party can see my video, but the local view is just black. Using the same code, but with the Camera1Eumerator / capturer, local video renders correctly.
So, is there any extra setup required to have a local stream rendered in a SurfaceViewRenderer? I can’t find anything suggesting this in the demo app’s source :-S
Any help would be appreciated.
Cheers,
--
Saúl