It seems to indicate that since we negotiate as inactive, we should send no RTP (the comment suggesting removal of zeroRtpOnPause). However I am still seeing about 1.2Kbps on an audio producer that is paused which is about the same as I was seeing with DTX. Is this expected?
When using zeroRtpOnPause I am still getting delayed audio after some time. I believe this is a somewhat known issue but I though it was related to replacing the underlying track with null but is this still needed when renegotiating the source as inactive?
It seem like the “sweet spot” is {disableTrackOnPause: false, zeroRtpOnPause: true} and I think (still testing) that this prevents the delay bug, while still sending zero RTP. Does this match with other people’s findings?
edit: unfortunately after letting things idle for a while the delay returned. Looks like zeroRtpOnPause is still a no go.
Have you tried using opusDtx? It might give you the result you’re looking for, at least for audio. I’ve been experimenting with it, but haven’t deployed it widely yet.
It is honestly really minor and most users have no complained about it. I hear it because I am testing this stuff every day. For us a little quality loss in rare conditions was worth the bandwidth savings. Using Voice Activity Detection client-side and pausing producers seems to be working just about as well as leaving the producer open and using DTX though. But I would still love to get down to 0bps if the producer is paused (right now it sits around 1.2Kbps when not using zeroRtpOnPause)
Hi @alexciarlillo, I know its been a while since this thread is open but are you still having issue with zeroRtpOnPause sending RTP when producer is paused?