Skip to content

Sections 2.2 and 2.3: RTCDtlsTransport #38

@aboba

Description

@aboba

2.2 Operation

A RTCDtlsTransport instance is optionally constructed from an RTCIceTransport object or an RTCIceTransport is automatically constructed.

[BA] Should this be "or an RTCDtlsTransport is automatically constructed"?

2.3 Interface Definition

[Constructor(optional RTCIceTransport transport)]
interface RTCDtlsTransport {
readonly attribute RTCIceTransport transport;
readonly attribute RTCDtlsTransportState state;
RTCDtlsParameters getLocalParameters ();
RTCDtlsParameters? getRemoteParameters ();
void start (RTCDtlsParameters remoteParameters);
void stop ();
attribute EventHandler? onstatechange;
};

Assuming we have a DTLS transport constructed without an ice transport object as an argument, what happens when an app calls start() on the DTLS transport? Is an RTCIceTransport object really an optional argument to the constructor?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions