Closed
Bug 928304
Opened 11 years ago
Closed 11 years ago
mozRTCIceCandidate could use jsonifier to simplify passing the ice candidate via signalling
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
2.04 KB,
patch
|
jib
:
review+
|
Details | Diff | Splinter Review |
Currently if I take a mozRTCIceCandidate and try to pass that to a peer via a signalling server, I end up with an empty object.
This is different to mozRTCSessionDescription which automatically gives me an object that can be translated into json.
Currently the webidl for mozRTCIceCandidate points to bug 863402, but it seems that is not really needed if jsonifer is used as per the current mozRTCSessionDescription implementation.
Assignee | ||
Comment 1•11 years ago
|
||
This adds the jsonifier attribute which magically gives us the toJSON() functionality we need.
Also included is a testcase for this, based on the one for session descriptions.
Comment 2•11 years ago
|
||
Comment on attachment 819706 [details] [diff] [review]
Add jsonifier attribute
Review of attachment 819706 [details] [diff] [review]:
-----------------------------------------------------------------
Looks ok to me, but reassigning to jib for review
Attachment #819706 -
Flags: review?(rjesup) → review?(jib)
Comment 3•11 years ago
|
||
Comment on attachment 819706 [details] [diff] [review]
Add jsonifier attribute
Review of attachment 819706 [details] [diff] [review]:
-----------------------------------------------------------------
lgtm too. Thanks.
Attachment #819706 -
Flags: review?(jib) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Target Milestone: --- → mozilla27
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Keywords: dev-doc-needed
Comment 6•7 years ago
|
||
Docs added:
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceCandidate/toJSON
Docs updated:
https://developer.mozilla.org/en-US/Firefox/Releases/27
BCD for RTCIceCandidate also updated.
Updated•7 years ago
|
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•