LINXD-2329: Don't close the call if initiator or receiver close the transport #28

Closed
sergiu wants to merge 13 commits from LINXD-2329-video-turn-on-camera-after-call-start into develop
2 changed files with 8 additions and 2 deletions
Showing only changes of commit 6ae0c3571e - Show all commits

View File

@ -20455,7 +20455,6 @@ setTimeout(() => {
socket.on('new-producer', ({ callId }) => {
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
remoteVideo.play()
consume()
})
}
@ -20580,6 +20579,10 @@ const createDevice = async () => {
routerRtpCapabilities: rtpCapabilities
})
device.observer.on("newtransport", (transport) => {
console.log("new transport created [id:%s]", transport.id);
});
console.log('Device RTP Capabilities', device.rtpCapabilities)
console.log('[createDevice] device', device);

View File

@ -97,7 +97,6 @@ setTimeout(() => {
socket.on('new-producer', ({ callId }) => {
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
remoteVideo.play()
consume()
})
}
@ -222,6 +221,10 @@ const createDevice = async () => {
routerRtpCapabilities: rtpCapabilities
})
device.observer.on("newtransport", (transport) => {
console.log("new transport created [id:%s]", transport.id);
});
console.log('Device RTP Capabilities', device.rtpCapabilities)
console.log('[createDevice] device', device);