datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
272 stars 229 forks source link

How to turn video on and off during a call #108

Open rsnay opened 6 years ago

rsnay commented 6 years ago

Many video calling applications provide the functionality to toggle on/off your video being shown to the other call participant(s). Basically a mute button, but for video—you can still see the other party, but your video isn't being transmitted.

The Endpoint class provides a way to mute a call, but how should video be toggled on/off during a call (as opposed to just setting it with the videoCount variable at call setup)? Ideally this could be specific for each party, and not for the entire call (e.g. I can see the other party, even if they can't see me, or vice-versa).

Thanks!

JensPauwels commented 6 years ago

followings this post

tribeappid commented 6 years ago

Any suggestion for this ? toggle on/off video call

varunprashar5 commented 5 years ago

Is this possible in this module ? If yes , please tell me how to accomplish it.

datso commented 5 years ago

Hey Guys, yes it is possible by sending re-invite with videoCount 0 or 1, but current JS bindings version doesn't support re-invites as I remember, currently I don't have time to work on it for free, let me know if you need commercial support on this feature.

varunprashar5 commented 5 years ago

Hey Guys, yes it is possible by sending re-invite with videoCount 0 or 1, but current JS bindings version doesn't support re-invites as I remember, currently I don't have time to work on it for free, let me know if you need commercial support on this feature.

Yes please share your email and discuss further.

Regards, Varun

datso commented 5 years ago

vadim.ruban@carusto.com

kiranNegiloni commented 1 month ago

Hello team, Thanks for this great library, audio and video call works fine. please let me know if i can turn video on / off during the audio call.