Closed RikdeVos closed 5 years ago
It is not possible.
It is possible. Take a look at skyway examples or this example: https://github.com/muaz-khan/WebRTC-Experiment/blob/master/demos/switch-streams.html
Really??? that's not possible?
Hi, any one can switch camera during call? Can you help me?
You need to establish a new connection, this is because of how WebRTC works.
You can use replaceTrack of RTCRtpSender.
this.call.peerConnection.getSenders()[0].replaceTrack()
I want to switch camera stream while in a call, without closing the connection to the other peer. Is this possible?
Currently doing something like this: