Closed
Bug 1276368
Opened 9 years ago
Closed 9 years ago
Implement receiving 'b=TIAS' on media description to restrict sending bandwidth
Categories
(Core :: WebRTC, defect, P2)
Core
WebRTC
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
backlog | webrtc/webaudio+ |
People
(Reporter: drno, Assigned: drno)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/55942/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/55942/
Attachment #8757504 -
Flags: review?(rjesup)
Assignee | ||
Updated•9 years ago
|
backlog: --- → webrtc/webaudio+
Rank: 25
Priority: -- → P2
Comment 2•9 years ago
|
||
Comment on attachment 8757504 [details]
Bug 1276368: use b=TIAS for maxBitrate encoding constraints.
https://reviewboard.mozilla.org/r/55942/#review52686
::: media/webrtc/signaling/src/jsep/JsepTrackEncoding.h:45
(Diff revision 1)
> + mConstraints.maxBr = std::min(tias? tias:mConstraints.maxBr,
> + mConstraints.maxBr? mConstraints.maxBr:tias);
spaces around ? and :
::: media/webrtc/signaling/src/jsep/JsepTrackEncoding.h:47
(Diff revision 1)
> + void UpdateMaxBitrate(const SdpMediaSection& remote)
> + {
> + uint32_t tias = remote.GetBandwidth("TIAS");
> + mConstraints.maxBr = std::min(tias? tias:mConstraints.maxBr,
> + mConstraints.maxBr? mConstraints.maxBr:tias);
> + // TODO do we want b=AS support? I don't think so
b=AS is worse, true. However... Chrome is using b=AS last I checked, and apps assume (for now) they can manipulate b=AS. Some interop uses (likely not spark, but others) may use b=AS. So we should think hard about it before deciding not to... but in any case that's a separate (though related) bug.
Attachment #8757504 -
Flags: review?(rjesup) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8757504 [details]
Bug 1276368: use b=TIAS for maxBitrate encoding constraints.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/55942/diff/1-2/
Attachment #8757504 -
Attachment description: MozReview Request: Bug 1276368: use b=TIAS for maxBitrate encoding constraints. r=jesup → Bug 1276368: use b=TIAS for maxBitrate encoding constraints.
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8757504 [details]
Bug 1276368: use b=TIAS for maxBitrate encoding constraints.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/55942/diff/2-3/
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/403728f309ce
use b=TIAS for maxBitrate encoding constraints. r=jesup
Assignee | ||
Comment 6•9 years ago
|
||
Just a note: as of now this enables to restrict a single outgoing video stream to a given bandwidth (according to b=TIAS). But restricting multiple senders does not work as expected as per bug 1278001.
Comment 7•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•