LINXD-2342: Added documentation for kind
This commit is contained in:
parent
7ee93d7963
commit
f02d6af726
2
app.js
2
app.js
@ -370,6 +370,8 @@ peers.on('connection', async (socket) => {
|
||||
? videoCalls[callId].receiverSocket
|
||||
: videoCalls[callId].initiatorSocket;
|
||||
|
||||
// callId - Id of the call
|
||||
// kind - producer type: audio/video
|
||||
socketToEmit.emit('new-producer', { callId, kind });
|
||||
} catch (error) {
|
||||
console.log(`ERROR | transport-produce | callId ${socketDetails[socket.id]} | ${error.message}`);
|
||||
|
Loading…
Reference in New Issue
Block a user