philnash / twilio-video-react-hooks

A video chat application built with Twilio Video and React Hooks
MIT License
110 stars 61 forks source link

Camera selection? #39

Closed gregarican closed 4 years ago

gregarican commented 4 years ago

One feature that would be interesting would be allowing the app user to select which camera to use for their session. In the event there are multiple cameras. I assume that the default camera is automatically assigned to the session. Out of curiosity, how much work would be required to add this feature? What would be a good starting-off point for me to start coding this?

gregarican commented 4 years ago

I did see your other project (https://github.com/philnash/mediadevices-camera-selection) and am attempting to port this over for React/Hooks.

gregarican commented 4 years ago

Please disregard, I was able to cobble it together :)

philnash commented 4 years ago

Glad to see you found my other repo and you got the feature working here.