From c0157d7515dedfa17a9a818583ec0f5ffc0b5938 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 23 Nov 2026 09:19:43 -0600 Subject: [PATCH] trim go2rtc stream metadata types to producer medias --- web/src/types/live.ts | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) 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;