Update go2rtc and implement stream probe to only show 2 way talk when supported (#11407)

* Support two way talk validation

* Fix handling

* Use go2rtc stream info to infer audio output

* Update go2rtc

* Update bundle policy

* Formatting
This commit is contained in:
Nicolas Mowen
2024-05-17 07:30:22 -06:00
committed by GitHub
parent 07eef9b139
commit 97f5ba0145
10 changed files with 91 additions and 12 deletions

View File

@@ -3,3 +3,30 @@ export type VideoResolutionType = {
width: number;
height: number;
};
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;
};
export type LiveStreamMetadata = {
producers: LiveProducerMetadata[];
consumers: LiveConsumerMetadata[];
};