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
|
// Send back to the client the Producer's id
|
||||||
// callback({
|
callback && callback({
|
||||||
// id: videoCalls[callId].producer.id
|
id: videoCalls[callId].producer.id
|
||||||
// });
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(`ERROR | transport-produce | callId ${socketDetails[socket.id]} | ${error.message}`);
|
console.log(`ERROR | transport-produce | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user