i use openvidu in react native project. mainstreammanager kicked other subscriber ,this time should be call sessionDisconnected. but not occur! can u help me ?
this feature very important for me. thanks
Hi,
I don’t understand what you mean. Could you please explain a little bit more detaile what are your waiting for to happen ?
Thanks
i want to use sessionDisconnected event listener, but it not fired. How can i notice that network is lost or mainstream manager disconnected our session?
i want to use sessionDisconnected event listener, but it not fired. How can i notice that network is lost or mainstream manager disconnected our session?
Event listener sessionDisconnected
works perfectly. If it is not firing you must have a bug in your code.
Usage:
var session = OV.initSession();
session.on("sessionDisconnected", event => {
console.log("Session Disconnected");
});
See more information about Session events listeners: Session | OpenVidu Browser - v2.16.0