Hi all,
I have replicated the pipeToRouter
function for piping a remote producer to a local one.
In particular, I start a consumer
on the remote side and a producer
on the local one (exactly like this: https://github.com/versatica/mediasoup/blob/2d8f4ebac131370b98a59f6c150d4e7440cb65d1/src/Router.ts#L612).
Two things are not clear:
- the local producer, if added to an
AudioLevelObserver
instance, doesn’t produce novolume
event; - consumers created on the local copy don’t emit the
layerschange
event. The question is if thePipeTransport
sends all the layers exactly as sent by the origin producer.