How to disconnect session on pressing any button ?
tarunmehta-quovantis opened this issue · 1 comments
tarunmehta-quovantis commented
I am working on its demo app , its working fine on Android.
But its only contain code for "Showing Video" but couldn't find following functionality
eg.
- How to disconnect session ?
- How to record Video ?
- How to mute yourself ?
Hoping to hear these answers asap. Will have to implement in project.
msach22 commented
@tarunmehta-quovantis Here is some documentation that will help you get started:
- Disconnecting Session: https://github.com/opentok/opentok-react-native/blob/master/docs/OTSession.md
To disconnect the session, unmount the OTSession component - Recording is done through server side: https://tokbox.com/developer/guides/archiving/
- Muting your video:
https://github.com/opentok/opentok-react-native/blob/master/docs/OTPublisher.md