Can't use "b=AS" to set maximum bitrate above opus maximum bitrate.
Reported by
spongess...@gmail.com,
Apr 14 2016
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0 Example URL: Steps to reproduce the problem: Attempt to begin a WebRTC peer-to-peer video/audio stream. I'm using Kurento Media Server to facilitate the streaming, Node/Express to handle websocket connections, and FreeICE stun servers. What is the expected behavior? Video and audio stream should be sent between peers. What went wrong? Streaming fails to start and I get the following error in the console: Failed to set remote answer sdp: Session error code: ERROR_CONTENT. Session error description: Failed to set remote audio description send parameters.. Did this work before? Yes I'm not sure exactly, but I remember streaming working in an earlier version of Chrome. Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: <Copy from: 'about:version'> Channel: stable OS Version: OS X 10.11 Flash Version: Shockwave Flash 21.0 r0 I'm able to get it working using Firefox 45 on Mac OS X. I also reproduced this problem on Chrome for Android on my phone, latest stable version, so I assume it's not my hardware.
,
Apr 14 2016
It also occurs in Chrome Version 50.0.2661.75 (64-bit) for Mac OS X and 49.0.2623.91 for Android.
,
Apr 15 2016
Marking OS=All
,
Apr 19 2016
Doesn't seem to happen on Windows. Got same error on 2 other Mac computers.
,
Apr 21 2016
,
Apr 22 2016
Sending to pthatcher, though I suspect he might not be able to make much progress without a webrtc-internals dump from the Chrome endpoint.
,
Apr 25 2016
Here's a WebRTC internals dump from my computer. The relevant error is near the bottom.
,
Apr 25 2016
,
Apr 25 2016
The issue here is that "b=AS" sets a maximum bitrate of 50Mbps for audio and 200Mbps for video, because "b=AS" is in units of kilobits per second. The maximum rate that the opus codec is capable of is 51kbps, which is why setting the audio description fails. It seems likely that you meant to set maxes of 50kbps/200kbps. So you can just replace "b=AS:50000" with "b=AS:50" and this should work. However, I'll keep this bug open because even setting a maximum bitrate above the opus maximum shouldn't fail. It should just result in the opus maximum being used.
,
Apr 25 2016
Correction: The maximum rate that the opus codec is capable of is 510kbps not 51kbps.
,
Nov 8 2016
,
Feb 8 2018
What's the status here? Still valid or should it be closed? |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by spongess...@gmail.com
, Apr 14 2016