This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21950 - Add success/error callbacks to addIceCandidate (and possibly other API calls)
Summary: Add success/error callbacks to addIceCandidate (and possibly other API calls)
Status: RESOLVED FIXED
Alias: None
Product: WebRTC Working Group
Classification: Unclassified
Component: WebRTC API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Web RTC Working Group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-07 15:20 UTC by ekr
Modified: 2014-10-29 18:39 UTC (History)
2 users (show)

See Also:


Attachments

Description ekr 2013-05-07 15:20:14 UTC
The 4.6.1 policy suggests that errors in the values to
addIceCandidate (e.g., mal-formatted SDP), these should
be handled by error callbacks.

This was discussed on the 5/7 call and the mailing list.

The action for this bug is

(a) to close on whether we should make this change.
(b) If we agree to make this change, we need to scrub the
entire API for other potential inconsistencies.
Comment 1 Harald Alvestrand 2014-10-29 18:39:02 UTC
As of the 1 July 2014 version, addIceCandidate() has success and failure callbacks.

(Will likely be converted to returning a Promise).