Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

janus-pp-rec: improve DTX detection #3488

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

atoppi
Copy link
Member

@atoppi atoppi commented Dec 10, 2024

This patch improves opus DTX detection in janus-pp-rec by considering as DTX those packets with a plen greater than 20 ms.
We are aware that WebRTC/opus supports plen up to 60ms, but historically janus-pp-rec has only been capable of processing 20ms packets so we're not introducing any regression from that perspective.

Since pp-rec restamping (-r) artificially introduces larger timestamp gaps, we mark restamped packets in the first loop of janus-pp-rec in order not to confuse them with DTX packets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multistream Related to Janus 1.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants