Fixed compile error
This commit is contained in:
parent
0e030215db
commit
0fc138598b
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ export class RtpVideoConnection implements VideoConnection {
|
||||||
}
|
}
|
||||||
|
|
||||||
getBroadcastStatistics(type: VideoBroadcastType): Promise<VideoBroadcastStatistics | undefined> {
|
getBroadcastStatistics(type: VideoBroadcastType): Promise<VideoBroadcastStatistics | undefined> {
|
||||||
return this.rtcConnection.getVideoBroadcastStatistics(type);
|
return this.rtcConnection.getVideoBroadcastStatistics(type === "camera" ? "video" : "video-screen");
|
||||||
}
|
}
|
||||||
|
|
||||||
getBroadcastingSource(type: VideoBroadcastType): VideoSource | undefined {
|
getBroadcastingSource(type: VideoBroadcastType): VideoSource | undefined {
|
||||||
|
|
Loading…
Add table
Reference in a new issue