Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion api-outline.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ interface RtcTransport {
// becomes non-viable before the scheduled send time.
undefined sendPackets(sequence<RtcPacketToSend> packets, RtcNetworkRoute networkRoute);

// Set the fingerprints of the certificate of the peer.
void setRemoteFingerprints(sequence<ArrayBuffer> fingerprint);

// After a viable RtcNetworkRoute has been found then a handshake needs to be
// initiated or completed before `sendPackets` can be used. The promise
// resolves with `true` when encryption is successfully establish, `false`
// otherwise.
Promise<boolean> establishEncryption(RtcNetworkRoute networkRoute);

// The type depends on which `RtcNetworkRouteControllerType` that was given in
// the constructor.
readonly attribute RtcNetworkRouteController networkRouteController;
Expand Down Expand Up @@ -209,7 +218,7 @@ dictionary RtcTransportConfig {
// A name could be useful for debugging/devtools.
required DOMString name;
required RtcNetworkRouteControllerType transportControllerType;
// Certificates?
required sequence<RTCCertificate> certificates;
};

dictionary RtcPacketToSend {
Expand Down
Loading