Set initiatorSocketId to be dispatcher
This commit is contained in:
parent
92fbecc36a
commit
3ca555ef9e
4
app.js
4
app.js
@ -453,10 +453,6 @@ const consumeAudio = async (callId, rtpCapabilities) => {
|
||||
console.log('producer of consumer closed', callId);
|
||||
closeCall(callId);
|
||||
});
|
||||
|
||||
if(isInitiator(callId, sockId)) {
|
||||
|
||||
}
|
||||
return {
|
||||
id: videoCalls[callId].consumerAudio.id,
|
||||
producerId: videoCalls[callId].producerAudio.id,
|
||||
|
Loading…
Reference in New Issue
Block a user