Update Client show error correctly
This commit is contained in:
parent
7474b083e2
commit
6ae0c3571e
@ -20455,7 +20455,6 @@ setTimeout(() => {
|
|||||||
|
|
||||||
socket.on('new-producer', ({ callId }) => {
|
socket.on('new-producer', ({ callId }) => {
|
||||||
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
|
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
|
||||||
remoteVideo.play()
|
|
||||||
consume()
|
consume()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -20580,6 +20579,10 @@ const createDevice = async () => {
|
|||||||
routerRtpCapabilities: rtpCapabilities
|
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('Device RTP Capabilities', device.rtpCapabilities)
|
||||||
console.log('[createDevice] device', device);
|
console.log('[createDevice] device', device);
|
||||||
|
|
||||||
|
@ -97,7 +97,6 @@ setTimeout(() => {
|
|||||||
|
|
||||||
socket.on('new-producer', ({ callId }) => {
|
socket.on('new-producer', ({ callId }) => {
|
||||||
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
|
console.log(`🟢 new-producer | callId: ${callId} | Ready to consume`);
|
||||||
remoteVideo.play()
|
|
||||||
consume()
|
consume()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
@ -222,6 +221,10 @@ const createDevice = async () => {
|
|||||||
routerRtpCapabilities: rtpCapabilities
|
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('Device RTP Capabilities', device.rtpCapabilities)
|
||||||
console.log('[createDevice] device', device);
|
console.log('[createDevice] device', device);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user