mirror of
https://github.com/lexmount/moli.git
synced 2026-11-21 16:03:10 +00:00
feat(webrtc): expose transport and RTP interface shells
This commit is contained in:
@@ -52,6 +52,8 @@ pub(in crate::context_bootstrap) const WORKER_SHARED_INTERFACE_NAMES: &[&str] =
|
||||
"SourceBufferList",
|
||||
"VideoColorSpace",
|
||||
"VideoFrame",
|
||||
"RTCEncodedAudioFrame",
|
||||
"RTCEncodedVideoFrame",
|
||||
"EventTarget",
|
||||
"Event",
|
||||
"CustomEvent",
|
||||
@@ -285,6 +287,8 @@ const WINDOW_AND_DEDICATED_WORKER_INTERFACE_NAMES: &[&str] = &[
|
||||
"SourceBufferList",
|
||||
"VideoColorSpace",
|
||||
"VideoFrame",
|
||||
"RTCEncodedAudioFrame",
|
||||
"RTCEncodedVideoFrame",
|
||||
];
|
||||
|
||||
pub(in crate::context_bootstrap) const INDEXED_DB_INTERFACE_NAMES: &[&str] = &[
|
||||
|
||||
@@ -288,6 +288,70 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[
|
||||
interface: web_api_interfaces::ScriptProcessorNode::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCCertificate::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCDTMFSender::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCDTMFToneChangeEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCDtlsTransport::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCEncodedAudioFrame::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCEncodedVideoFrame::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCError::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCErrorEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 2 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCIceTransport::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCPeerConnectionIceErrorEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 2 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCRtpScriptTransform::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCRtpSender::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCRtpTransceiver::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCSctpTransport::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCStatsReport::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::RTCTrackEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 2 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::External::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
|
||||
@@ -78,6 +78,20 @@ interfaces! {
|
||||
MediaStreamAudioSourceNode: AudioNode;
|
||||
PannerNode: AudioNode;
|
||||
ScriptProcessorNode: AudioNode;
|
||||
RTCCertificate;
|
||||
RTCDTMFSender: EventTarget;
|
||||
RTCDTMFToneChangeEvent: Event;
|
||||
RTCDtlsTransport: EventTarget;
|
||||
RTCError: DOMException;
|
||||
RTCErrorEvent: Event;
|
||||
RTCIceTransport: EventTarget;
|
||||
RTCPeerConnectionIceErrorEvent: Event;
|
||||
RTCRtpScriptTransform;
|
||||
RTCRtpSender;
|
||||
RTCRtpTransceiver;
|
||||
RTCSctpTransport: EventTarget;
|
||||
RTCStatsReport;
|
||||
RTCTrackEvent: Event;
|
||||
AbortController;
|
||||
AbortSignal: EventTarget;
|
||||
AbstractRange;
|
||||
@@ -508,26 +522,26 @@ interfaces! {
|
||||
PushSubscription;
|
||||
PushSubscriptionOptions;
|
||||
QuotaExceededError: DOMException;
|
||||
RTCCertificate;
|
||||
|
||||
RTCDataChannel: EventTarget;
|
||||
RTCDTMFSender: EventTarget;
|
||||
RTCDtlsTransport: EventTarget;
|
||||
RTCError: DOMException;
|
||||
RTCErrorEvent: Event;
|
||||
|
||||
|
||||
|
||||
|
||||
RTCIceCandidate;
|
||||
RTCIceTransport: EventTarget;
|
||||
|
||||
RTCEncodedAudioFrame;
|
||||
RTCEncodedVideoFrame;
|
||||
RTCPeerConnection: EventTarget;
|
||||
RTCPeerConnectionIceEvent: Event;
|
||||
RTCDataChannelEvent: Event;
|
||||
RTCPeerConnectionIceErrorEvent: Event;
|
||||
|
||||
RTCRtpReceiver;
|
||||
RTCRtpSender;
|
||||
RTCRtpTransceiver;
|
||||
RTCSctpTransport: EventTarget;
|
||||
|
||||
|
||||
|
||||
RTCSessionDescription;
|
||||
RTCStatsReport;
|
||||
|
||||
RadioNodeList: NodeList;
|
||||
Range: AbstractRange;
|
||||
ReadableByteStreamController;
|
||||
|
||||
Reference in New Issue
Block a user