Remove callback with producer id from transport-produce
This commit is contained in:
parent
4e92f6cdd3
commit
d5cb144799
2
app.js
2
app.js
@ -177,7 +177,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);
|
// 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