Request: mark a producer created from pipeToRouter

I’m implementing a stats logger and I need to exclude the producer / consumers created by pipeToRouter calls (I need to track only the “real” users). I need to identify the producers created by pipes, as I do with consumers using consumer.type === ‘pipe’
Can you add a similar property for producers? Thanks

Resolved: I added a transport.constructor.name === ‘PipeTransport’ check on the producer transport.

Oh, that’s indeed simpler :slight_smile:

Also, due to internals, we need that the Producer in a PipeTransport has type simple or simulcast or svc, so associated Consumers created in WebRTC or plain transports get the same type.