New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603690 link

Starred by 5 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Can't use "b=AS" to set maximum bitrate above opus maximum bitrate.

Reported by spongess...@gmail.com, Apr 14 2016

Issue description

UserAgent: 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.
 
The issue above occurs in Chrome Version 49.0.2623.112 (64-bit) for Mac OS X. I posted from Firefox and can't find where to change the user agent text in the issue.
It also occurs in Chrome Version 50.0.2661.75 (64-bit) for Mac OS X and 49.0.2623.91 for Android.
Labels: -OS-Mac OS-All
Marking OS=All
Doesn't seem to happen on Windows. Got same error on 2 other Mac computers.
Components: -Internals>Media Blink>WebRTC
Components: -Blink>WebRTC Blink>WebRTC>Network
Owner: pthatcher@chromium.org
Status: Assigned (was: Unconfirmed)
Sending to pthatcher, though I suspect he might not be able to make much progress without a webrtc-internals dump from the Chrome endpoint.
Here's a WebRTC internals dump from my computer. The relevant error is near the bottom.
webrtc_internals_dump (1).txt
2.6 MB View Download
Labels: WebrtcTriaged
Owner: deadbeef@chromium.org
Components: Blink>WebRTC>Audio
Summary: Can't use "b=AS" to set maximum bitrate above opus maximum bitrate. (was: Peer to peer streaming fails: Answer SDP cannot set audio description)
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.
Correction: The maximum rate that the opus codec is capable of is 510kbps not 51kbps.
Labels: Pri-3
What's the status here? Still valid or should it be closed?

Sign in to add a comment