Update Client show error correctly

This commit is contained in:
Sergiu Toma 2023-02-08 03:28:15 +02:00
parent 7474b083e2
commit 6ae0c3571e
2 changed files with 8 additions and 2 deletions

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);