Remove callback with producer id from transport-produce
This commit is contained in:
parent
cd887142f7
commit
4f302570a2
8
app.js
8
app.js
@ -155,7 +155,7 @@ peers.on('connection', async socket => {
|
||||
kind,
|
||||
rtpParameters,
|
||||
})
|
||||
|
||||
console.log('callback', callback);
|
||||
console.log(`[transport-produce] Producer ID: ${producer.id} | kind: ${producer.kind}`)
|
||||
|
||||
producer.on('transportclose', () => {
|
||||
@ -170,9 +170,9 @@ peers.on('connection', async socket => {
|
||||
})
|
||||
|
||||
// Send back to the client the Producer's id
|
||||
callback({
|
||||
id: producer.id
|
||||
})
|
||||
// callback({
|
||||
// id: producer.id
|
||||
// })
|
||||
})
|
||||
|
||||
// see client's socket.emit('transport-recv-connect', ...)
|
||||
|
Loading…
Reference in New Issue
Block a user