react-native-webrtc icon indicating copy to clipboard operation
react-native-webrtc copied to clipboard

Android shows multiple cameras

Open conkyliu opened this issue 3 years ago • 1 comments

May I ask how to display multiple cameras on one page? I use THE TV box to connect multiple cameras with USB external, and I can find multiple camera lists, but only one video can be displayed, and the others are not displayed. If I traverse multiple RTCView components through map, it will not work.

conkyliu avatar Dec 08 '21 04:12 conkyliu

I haven't tested this myself and I know displaying the front and back camera at the same time is not possible, but maybe it's different with external cameras.

Are you able to display those external cameras individually?

Are you getting multiple streams with different getUserMedia calls, one for each camera, specifying the correct device ID?

saghul avatar Dec 08 '21 07:12 saghul

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.

stale[bot] avatar Oct 04 '22 14:10 stale[bot]

Closing in favor of https://github.com/react-native-webrtc/react-native-webrtc/issues/828 since UVC would be necessary.

saghul avatar Oct 04 '22 15:10 saghul