EricssonResearch / EricssonResearch/openwebrtc
GstCaps -> SDP properties (was: opusdec always decodes in 2 channels)
Open
All Platforms
enhancement
Non-Build Issue
- Dominant language
- C
- Stars
- 1.8k
- Forks
- 531
- PR merge metrics
- No merged PRs in 30d
Description
Even when we send 1 channel, opusdec decodes into two channels.
From rudimentary debugging, I see that opusdec never invokes `gst_opus_dec_parse_header`, and just uses fallback defaults (2 channels, etc). Meanwhile, opusenc's header sending code **is** invoked.
Contributor guide
Research direction
Start by tracing the opusdec path around gst_opus_dec_parse_header and compare it with opusenc's header-sending code. Investigate how GstCaps and SDP properties reach opusdec; done means a one-channel stream is decoded with one channel instead of fallback defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100