Add log on consume
This commit is contained in:
parent
d67debc70b
commit
9b36a78be2
1
app.js
1
app.js
@ -183,6 +183,7 @@ peers.on('connection', async socket => {
|
|||||||
|
|
||||||
socket.on('consume', async ({ rtpCapabilities, callId }, callback) => {
|
socket.on('consume', async ({ rtpCapabilities, callId }, callback) => {
|
||||||
try {
|
try {
|
||||||
|
console.log('consume', rtpCapabilities, callId);
|
||||||
// check if the router can consume the specified producer
|
// check if the router can consume the specified producer
|
||||||
if (router[callId].canConsume({
|
if (router[callId].canConsume({
|
||||||
producerId: producer.id,
|
producerId: producer.id,
|
||||||
|
Loading…
Reference in New Issue
Block a user