Added callback for 'transport-produce'
This commit is contained in:
parent
e57cb94892
commit
4c7fb73048
3
app.js
3
app.js
@ -258,9 +258,10 @@ peers.on('connection', async socket => {
|
||||
closeCall(callId);
|
||||
});
|
||||
|
||||
console.log('----------- videoCalls[callId].producer.id', videoCalls[callId].producer.id);
|
||||
// Send back to the client the Producer's id
|
||||
callback({
|
||||
id: producer.id
|
||||
id: videoCalls[callId].producer.id
|
||||
});
|
||||
} catch (error) {
|
||||
console.log(`ERROR | transport-produce | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||
|
Loading…
Reference in New Issue
Block a user