Closed
Bug 1212907
Opened 10 years ago
Closed 10 years ago
a=rid attribute support
Categories
(Core :: WebRTC: Signaling, defect, P1)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
FIXED
mozilla44
| Tracking | Status | |
|---|---|---|
| firefox44 | --- | fixed |
| backlog | webrtc/webaudio+ |
People
(Reporter: bwc, Assigned: bwc)
References
Details
Attachments
(1 file)
Covers parse, serialization, and test code for a=rid.
| Assignee | ||
Comment 1•10 years ago
|
||
Bug 1212907: (WIP) a=rid support
Updated•10 years ago
|
backlog: --- → webrtc/webaudio+
Rank: 10
Priority: -- → P1
| Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8671654 [details]
MozReview Request: Bug 1212907: a=rid support r=mt
Bug 1212907: a=rid support
Attachment #8671654 -
Attachment description: MozReview Request: Bug 1212907: (WIP) a=rid support → MozReview Request: Bug 1212907: a=rid support
| Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8671654 [details]
MozReview Request: Bug 1212907: a=rid support r=mt
Bug 1212907: a=rid support
Attachment #8671654 -
Flags: review?(martin.thomson)
Comment 4•10 years ago
|
||
Comment on attachment 8671654 [details]
MozReview Request: Bug 1212907: a=rid support r=mt
https://reviewboard.mozilla.org/r/21627/#review19927
This looks pretty good. One comment there on the grammar for Peter though.
::: media/webrtc/signaling/src/sdp/SdpAttribute.h:816
(Diff revision 2)
> + param-val = byte-string
This is a bit arsey. Does this mean that you could have a ',' or ';' in a parameter?
::: media/webrtc/signaling/src/sdp/SdpAttribute.h:851
(Diff revision 2)
> + uint32_t maxFps;
Why can't the max FPS be non-ordinal?
::: media/webrtc/signaling/test/sdp_unittests.cpp:3908
(Diff revision 2)
> +}
Needs a test with pt after some other parameter. Comment that it's non-standard grammar, of course.
::: media/webrtc/signaling/test/sdp_unittests.cpp:4092
(Diff revision 2)
> + ParseRid("0123456789az-_ recv max-width=800"));
Speaking of bizarre values, do we happily accept things like \x07 ?
Attachment #8671654 -
Flags: review?(martin.thomson) → review+
| Assignee | ||
Comment 5•10 years ago
|
||
https://reviewboard.mozilla.org/r/21627/#review19927
> This is a bit arsey. Does this mean that you could have a ',' or ';' in a parameter?
Yep, I think Adam fixed that last night. I'll make sure to scrape the latest BNF.
> Needs a test with pt after some other parameter. Comment that it's non-standard grammar, of course.
That seems like it would fall under testing that prevents behavior from changing, as opposed to testing that prevents regressions. Maybe I could add a test that verifies that nothing crashes, but does no other checking.
> Speaking of bizarre values, do we happily accept things like \x07 ?
Right now we'll accept anything before the first ' '. Do you think it is worthwhile adding validation?
| Assignee | ||
Comment 6•10 years ago
|
||
https://reviewboard.mozilla.org/r/21627/#review19927
> Why can't the max FPS be non-ordinal?
I don't understand what you're getting at here.
Comment 7•10 years ago
|
||
https://reviewboard.mozilla.org/r/21627/#review19927
> I don't understand what you're getting at here.
Oh, should it be a double?
Comment 8•10 years ago
|
||
https://reviewboard.mozilla.org/r/21627/#review19927
> That seems like it would fall under testing that prevents behavior from changing, as opposed to testing that prevents regressions. Maybe I could add a test that verifies that nothing crashes, but does no other checking.
The point is that if someone fixes it, then you want to make sure they test their changes.
> Right now we'll accept anything before the first ' '. Do you think it is worthwhile adding validation?
I think that in general, I'd be happier if we had validation for these sorts of things, but it's not a high priority. Whatever you decide to do will be OK.
| Assignee | ||
Comment 9•10 years ago
|
||
https://reviewboard.mozilla.org/r/21627/#review19927
> Oh, should it be a double?
Oh, non-integral. The BNF (the latest one anyway) makes all of these integral values.
> The point is that if someone fixes it, then you want to make sure they test their changes.
I guess I can see the utility of that.
| Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8671654 [details]
MozReview Request: Bug 1212907: a=rid support r=mt
Bug 1212907: a=rid support r=mt
Attachment #8671654 -
Attachment description: MozReview Request: Bug 1212907: a=rid support → MozReview Request: Bug 1212907: a=rid support r=mt
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Keywords: checkin-needed
Comment 12•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment 13•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•