Update
This commit is contained in:
parent
b606a72030
commit
dafbc486ad
4
app.js
4
app.js
@ -390,9 +390,9 @@ peers.on('connection', async socket => {
|
||||
*/
|
||||
socket.on('consume', async ({ rtpCapabilities }, callback) => {
|
||||
try {
|
||||
console.log(`[consume] rtpCapabilities: ${JSON.stringify(rtpCapabilities)}`);
|
||||
|
||||
const callId = socketDetails[socket.id];
|
||||
console.log(`[consume] socket ${socket.id} | callId ${callId} | rtpCapabilities: ${JSON.stringify(rtpCapabilities)}`);
|
||||
|
||||
console.log('[consume] callId', callId);
|
||||
let canConsumeVideo, canConsumeAudio;
|
||||
if (isInitiator(callId, socket.id)) {
|
||||
|
Loading…
Reference in New Issue
Block a user