diff --git a/web/src/types/live.ts b/web/src/types/live.ts index 49e63b6908..c63a62df22 100644 --- a/web/src/types/live.ts +++ b/web/src/types/live.ts @@ -5,30 +5,11 @@ export type VideoResolutionType = { }; type LiveProducerMetadata = { - type: string; - url: string; - remote_addr: string; - user_agent: string; - sdp: string; - medias?: string[]; - receivers?: string[]; - recv: number; -}; - -type LiveConsumerMetadata = { - type: string; - url: string; - remote_addr: string; - user_agent: string; - sdp: string; - medias?: string[]; - senders?: string[]; - send: number; + medias?: string[] | null; }; export type LiveStreamMetadata = { producers: LiveProducerMetadata[]; - consumers: LiveConsumerMetadata[]; }; // mse-codec is go2rtc's proof that it has no codec this browser plays;