Add L16 linear PCM codec for AudioBridge media - #2
Closed
mirkobrankovic82 wants to merge 1 commit into
Closed
Conversation
Support l16 and l16-48 on join, decode/encode, plain RTP and rtpws call_info with room sampling_rate validation; extend ws-audio-test. Co-authored-by: Cursor <cursoragent@cursor.com>
mirkobrankovic82
force-pushed
the
feature/audiobridge-l16
branch
from
July 6, 2026 12:02
53d759c to
d349eb3
Compare
mirkobrankovic82
changed the base branch from
feature/audiobridge-rtpws
to
master
July 6, 2026 12:02
mirkobrankovic82
marked this pull request as ready for review
July 6, 2026 12:51
Owner
Author
|
Superseded by #7, which carries this same L16 commit plus the payload-only framing feature (stacked on feature/audiobridge-rtpws). Closing to avoid duplicate L16 commits in the stack. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
l16@ 16 kHz, PT 106;l16-48@ 48 kHz, PT 105) on plain RTP andmedia=websocketjoins.call_infoto the participant join codec (not hardcoded Opus).sampling_rate.ws-audio-testwith--codec l16/l16-48and BE PCM tone generation.Base:
master(fork-only draft, not targeting meetecho/janus-gateway).Usage
Expected
call_info:{"type":"call_info","codec":"l16","sample_rate":16000,"channels":1,"ptime_ms":20,"payload_type":106}Test plan
codec=l16in a 16 kHz room →call_infoPT 106, 640-byte payloadscodec=l16-48in a 48 kHz room →call_infoPT 105, 1920-byte payloadsl16join when roomsampling_rateis not 16000ws-stream --codec l16 --tone --expect-rx 50bidirectional RTP