mirror of
https://github.com/lexmount/moli.git
synced 2026-11-25 00:02:32 +00:00
feat(media): expose EncodedVideoChunk interface shell
This commit is contained in:
@@ -54,6 +54,7 @@ pub(in crate::context_bootstrap) const WORKER_SHARED_INTERFACE_NAMES: &[&str] =
|
||||
"VideoFrame",
|
||||
"RTCEncodedAudioFrame",
|
||||
"RTCEncodedVideoFrame",
|
||||
"EncodedVideoChunk",
|
||||
"EventTarget",
|
||||
"Event",
|
||||
"CustomEvent",
|
||||
@@ -289,6 +290,7 @@ const WINDOW_AND_DEDICATED_WORKER_INTERFACE_NAMES: &[&str] = &[
|
||||
"VideoFrame",
|
||||
"RTCEncodedAudioFrame",
|
||||
"RTCEncodedVideoFrame",
|
||||
"EncodedVideoChunk",
|
||||
];
|
||||
|
||||
pub(in crate::context_bootstrap) const INDEXED_DB_INTERFACE_NAMES: &[&str] = &[
|
||||
|
||||
@@ -352,6 +352,10 @@ const CONSTRUCTOR_SPECS_BEFORE_STREAMS: &[ConstructorSpec] = &[
|
||||
interface: web_api_interfaces::RTCTrackEvent::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 2 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::EncodedVideoChunk::DESCRIPTOR,
|
||||
kind: ConstructorKind::Shell { length: 1 },
|
||||
},
|
||||
ConstructorSpec {
|
||||
interface: web_api_interfaces::External::DESCRIPTOR,
|
||||
kind: ConstructorKind::Illegal,
|
||||
|
||||
@@ -92,6 +92,7 @@ interfaces! {
|
||||
RTCSctpTransport: EventTarget;
|
||||
RTCStatsReport;
|
||||
RTCTrackEvent: Event;
|
||||
EncodedVideoChunk;
|
||||
AbortController;
|
||||
AbortSignal: EventTarget;
|
||||
AbstractRange;
|
||||
@@ -262,7 +263,7 @@ interfaces! {
|
||||
DynamicsCompressorNode: AudioNode;
|
||||
Element: Node;
|
||||
ElementInternals;
|
||||
EncodedVideoChunk;
|
||||
|
||||
ErrorEvent: Event;
|
||||
Event;
|
||||
EventCounts;
|
||||
|
||||
Reference in New Issue
Block a user