using the client library we call
OT.initPublisher
OT.initSession
session.connect
on ending the broadcast, we want to remove the broadcast video div from UI and switch somewhere else.
we call
session.disconnect();
session.cleanUpDom();
None of this command removes the video from the screen. the camera is on and stays there.
using the client library we call OT.initPublisher OT.initSession session.connect
on ending the broadcast, we want to remove the broadcast video div from UI and switch somewhere else. we call session.disconnect(); session.cleanUpDom();
None of this command removes the video from the screen. the camera is on and stays there.