This method is used to create webrtc answer, sets local description on internal PeerConnection object
It supports both style of answer creation that is plan-b and unified.
This method is used to create webrtc offer, sets local description on internal PeerConnection object
It supports both style of offer creation that is plan-b and unified.
This function takes care of cleaning up all the internal stream controller and timers used to make janus_client compatible with streams and polling support
this method Initialize data channel on handle's internal peer connection object.
It is mainly used for Janus TextRoom and can be used for other plugins with data channel support
Helper method that generates MediaStream from your device camera that will be automatically added to peer connection instance internally used by janus client
a utility method which can be used to switch camera of user device if it has more than one camera
deviceId : device id of the camera you want to switch to
deviceId is important for switchCamera to work in browsers.