trim go2rtc stream metadata types to producer medias

This commit is contained in:
Josh Hawkins
2026-11-23 09:19:43 -06:00
parent f6eae237bf
commit c0157d7515
+1 -20
View File
@@ -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;