LH-259: Added callback from transport-produce
This commit is contained in:
parent
b59a157b18
commit
f4ebf92783
6
app.js
6
app.js
@ -251,9 +251,9 @@ peers.on('connection', async socket => {
|
||||
});
|
||||
|
||||
// Send back to the client the Producer's id
|
||||
// callback({
|
||||
// id: videoCalls[callId].producer.id
|
||||
// });
|
||||
callback && callback({
|
||||
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