LH-259: Update createRoom callback
This commit is contained in:
parent
24390c98e5
commit
9f8347bec5
5
app.js
5
app.js
@ -164,7 +164,10 @@ peers.on('connection', async socket => {
|
|||||||
|
|
||||||
// rtpCapabilities is set for callback
|
// rtpCapabilities is set for callback
|
||||||
console.log('[getRtpCapabilities] callId', callId);
|
console.log('[getRtpCapabilities] callId', callId);
|
||||||
callbackResponse = videoCalls[callId].router.rtpCapabilities;
|
callbackResponse = {
|
||||||
|
rtpCapabilities :videoCalls[callId].router.rtpCapabilities
|
||||||
|
};
|
||||||
|
callback(callbackResponse);
|
||||||
} else {
|
} else {
|
||||||
console.log(`[createRoom] missing callId ${callId}`);
|
console.log(`[createRoom] missing callId ${callId}`);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user