@@ -274,7 +274,7 @@ enum RTCRtpTransceiverDirection {
274274 readonly attribute MediaStreamTrack? track;
275275 readonly attribute RTCDtlsTransport? transport;
276276 readonly attribute RTCDtlsTransport? rtcpTransport;
277- static RTCRtpCapabilities getCapabilities (DOMString kind);
277+ static RTCRtpCapabilities? getCapabilities (DOMString kind);
278278 Promise<void> setParameters (RTCRtpSendParameters parameters);
279279 RTCRtpSendParameters getParameters ();
280280 Promise<void> replaceTrack (MediaStreamTrack? withTrack);
@@ -366,7 +366,7 @@ dictionary RTCRtpHeaderExtensionCapability {
366366 readonly attribute MediaStreamTrack track;
367367 readonly attribute RTCDtlsTransport? transport;
368368 readonly attribute RTCDtlsTransport? rtcpTransport;
369- static RTCRtpCapabilities getCapabilities (DOMString kind);
369+ static RTCRtpCapabilities? getCapabilities (DOMString kind);
370370 RTCRtpReceiveParameters getParameters ();
371371 sequence<RTCRtpContributingSource> getContributingSources ();
372372 sequence<RTCRtpSynchronizationSource> getSynchronizationSources ();
@@ -499,7 +499,6 @@ partial interface RTCPeerConnection {
499499};
500500
501501enum RTCSctpTransportState {
502- "new",
503502 "connecting",
504503 "connected",
505504 "closed"
@@ -602,71 +601,6 @@ dictionary RTCStatsEventInit : EventInit {
602601 required RTCStatsReport report;
603602 };
604603
605- [Global, Exposed=RTCIdentityProviderGlobalScope]
606- interface RTCIdentityProviderGlobalScope : WorkerGlobalScope {
607- readonly attribute RTCIdentityProviderRegistrar rtcIdentityProvider;
608- };
609-
610- [Exposed=RTCIdentityProviderGlobalScope]
611- interface RTCIdentityProviderRegistrar {
612- void register (RTCIdentityProvider idp);
613- };
614-
615- dictionary RTCIdentityProvider {
616- required GenerateAssertionCallback generateAssertion;
617- required ValidateAssertionCallback validateAssertion;
618- };
619-
620- callback GenerateAssertionCallback = Promise<RTCIdentityAssertionResult>
621- (DOMString contents, DOMString origin, RTCIdentityProviderOptions options);
622-
623- callback ValidateAssertionCallback = Promise<RTCIdentityValidationResult>
624- (DOMString assertion, DOMString origin);
625-
626- dictionary RTCIdentityAssertionResult {
627- required RTCIdentityProviderDetails idp;
628- required DOMString assertion;
629- };
630-
631- dictionary RTCIdentityProviderDetails {
632- required DOMString domain;
633- DOMString protocol = "default";
634- };
635-
636- dictionary RTCIdentityValidationResult {
637- required DOMString identity;
638- required DOMString contents;
639- };
640-
641- partial interface RTCPeerConnection {
642- void setIdentityProvider (DOMString provider, optional RTCIdentityProviderOptions options);
643- Promise<DOMString> getIdentityAssertion ();
644- readonly attribute Promise<RTCIdentityAssertion> peerIdentity;
645- readonly attribute DOMString? idpLoginUrl;
646- readonly attribute DOMString? idpErrorInfo;
647- };
648-
649- dictionary RTCIdentityProviderOptions {
650- DOMString protocol = "default";
651- DOMString usernameHint;
652- DOMString peerIdentity;
653- };
654-
655- [Constructor(DOMString idp, DOMString name), Exposed=Window]
656- interface RTCIdentityAssertion {
657- attribute DOMString idp;
658- attribute DOMString name;
659- };
660-
661- partial dictionary MediaStreamConstraints {
662- DOMString peerIdentity;
663- };
664-
665- partial interface MediaStreamTrack {
666- readonly attribute boolean isolated;
667- attribute EventHandler onisolationchange;
668- };
669-
670604enum RTCErrorDetailType {
671605 "data-channel-failure",
672606 "dtls-failure",
0 commit comments