Open
Bug 1043543
Opened 10 years ago
Updated 2 years ago
Respect Opus fmtp parameter maxplaybackrate
Categories
(Core :: WebRTC: Signaling, defect, P5)
Tracking
()
NEW
backlog | webrtc/webaudio+ |
People
(Reporter: derf, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: parity-chrome)
For sendonly or sendrecv Opus streams, we should respect the value of maxplaybackrate provided by the other side. This is a request to us not to encode audio with a sampling rate higher than the given playback rate, since the receiver will not use it, and the bandwidth we spend on it will be wasted. We should get the GIPS code to call opus_encoder_ctl(...,OPUS_SET_MAX_BANDIWDTH(x)) on its encoder based on the value of maxplaybackrate: maxplaybackrate <= 8000: x = OPUS_BANDWIDTH_NARROWBAND maxplaybackrate <= 12000: x = OPUS_BANDWIDTH_MEDIUMBAND maxplaybackrate <= 16000: x = OPUS_BANDWIDTH_WIDEBAND maxplaybackrate <= 24000: x = OPUS_BANDWIDTH_SUPERWIDEBAND maxplaybackrate > 24000: x = OPUS_BANDWIDTH_FULLBAND This may require some plumbing to get the information on the bandwidth the receiver wants to the GIPS encoder. I know the GIPS folks planned to implement that plumbing so Chrome could also respect these parameters, but I have lost track of the status of that work. It may already be done. We may have to do it ourselves.
Reporter | ||
Comment 1•10 years ago
|
||
Looks like it is in progress: <https://webrtc-codereview.appspot.com/13099004/>.
Reporter | ||
Comment 2•10 years ago
|
||
https://code.google.com/p/webrtc/issues/detail?id=1906
Whiteboard: [parity-chrome]
Comment 3•10 years ago
|
||
We'll need SDP, and we'll need to cherry-pick the patch for webrtc/trunk or wait for it to be in a stable branch we import. Derf: any reason to cherry-pick? I'm guessing not...
Flags: needinfo?(tterribe)
Reporter | ||
Comment 4•10 years ago
|
||
I don't see a problem with waiting for the next import.
Flags: needinfo?(tterribe)
Updated•9 years ago
|
backlog: --- → webRTC+
Rank: 45
Priority: -- → P4
Comment 5•7 years ago
|
||
Mass change P4->P5 to align with new Mozilla triage process.
Priority: P4 → P5
Comment 6•6 years ago
|
||
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-chrome
Whiteboard: [parity-chrome]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•