Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding relativeBitrate parameter to RTCRtpEncodingParameters. #1632

Closed
wants to merge 1 commit into from

Conversation

taylor-b
Copy link
Contributor

@taylor-b taylor-b commented Oct 11, 2017

Fixes #1625.

This provides more fine-grained control over the relative amount of bits
different encodings should be allocated. This allows the webrtc
implementation to respond quickly to changes in available capacity; the
alternative would be for an application to inspect the stats
periodically, and continually adjust maxBitrate, which would result in
wasted bandwidth and slower responsiveness to changing bandwidth
estimates (since polling stats and calling getParameters/setParameters
is not instantaneous).

This assumes that rtcweb-transports will update its definition of
"priority," such that it only controls the priority of streams in
network queues (via DSCP and SCTP priority values), and not the
relative amount of bitrate they're granted.


Preview | Diff

Fixes w3c#1625.

This provides more fine-grained control over the relative amount of bits
different encodings should be allocated. This allows the webrtc
implementation to respond quickly to changes in available capacity; the
alternative would be for an application to inspect the stats
periodically, and continually adjust `maxBitrate`, which would result in
wasted bandwidth and slower responsiveness to changing bandwidth
estimates (since polling stats and calling getParameters/setParameters
is not instantaneous).

This assumes that rtcweb-transports will update its definition of
"priority," such that it only controls the priority of streams in
network queues (via DSCP and SCTP priority values), and not the
relative amount of bitrate they're granted.
@stefhak
Copy link
Contributor

stefhak commented Nov 2, 2017

I think it would be premature to merge this one now. Perhaps a discussion at TPAC?
I'm also afraid of adding one thing at a time (such as we did with maxBitrate, and here relativePriority is proposed) could lead to us having a patchwork that does not accomplish what is needed in the end.

@alvestrand
Copy link
Contributor

Discussion at TPAC suggested heading in a different direction.
Once another PR is available, this will be closed.

@stefhak
Copy link
Contributor

stefhak commented Nov 30, 2017

Looks like this PR is (to be) replaced by https://github.com/alvestrand/webrtc-dscp-exp.

@aboba aboba closed this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants