LAPI-675: Update server go emit new-producer; Update client to handle this event
This commit is contained in:
@ -95,6 +95,10 @@ setTimeout(() => {
|
||||
}
|
||||
if (IS_PRODUCER && urlParams.get('testing') === 'true') { getLocalStream() }
|
||||
})
|
||||
|
||||
socket.on('new-producer', ({ callId }) => {
|
||||
console.log(`🟥 new-producer | callId: ${callId}`);
|
||||
})
|
||||
}
|
||||
|
||||
if (IS_PRODUCER === true) {
|
||||
|
Reference in New Issue
Block a user