fishjam-dev / react-native-membrane-webrtc

Apache License 2.0
78 stars 8 forks source link

[RTC-279] Add tracks after joining #124

Closed graszka22 closed 1 year ago

graszka22 commented 1 year ago

Merge this one: https://github.com/jellyfish-dev/membrane-webrtc-ios/pull/42 before testing / merging Changed the API a bit, now we have startCamera and startMicrophone functions that user will call after calling connect. They nicely split up options related to camera, microphone and connection (it was in one big object before which wasn't nice) and makes it more consistent with the web. I'm not sure though if they should be grouped with related functions in their respective hooks (useCamera and useMicrophone) or just completely separate functions, wdyt?