Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

Error Handling #75

@aboba

Description

@aboba

From Shijun Sun:

  1. You need to describe the circumstances under which error events will occur. Examples include DTLS transport and ICE transport.

  2. The “onerror” interface is not defined correctly. There is no need of custom event here.

  3. Same on the “onstatechange” and some other events. If custom event is needed, the spec can say, “Fire a trust event with the name statechange, that does not bubble and is not cancelable, that uses the StateChangedEvent interface.”

     interface StateChangedEvent: Event {
       readonly attribute RTCDtlsTransportState state;
     };
    
  4. getStats, RTCErrorCallback/failureCallback is not defined or used anywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions