From cd74941a36d99d6c3d6a82c7e5b8efdb48136129 Mon Sep 17 00:00:00 2001 From: acgist <289547414@qq.com> Date: Thu, 11 Apr 2024 17:35:36 +0800 Subject: [PATCH] [*] --- taoyao-client-web/src/components/Taoyao.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/taoyao-client-web/src/components/Taoyao.js b/taoyao-client-web/src/components/Taoyao.js index 2700028..3c670f2 100644 --- a/taoyao-client-web/src/components/Taoyao.js +++ b/taoyao-client-web/src/components/Taoyao.js @@ -2329,6 +2329,9 @@ class Taoyao extends RemoteClient { videoSource: this.videoSource }, }); + // let oldParameters = this.videoProducer.rtpSender.getParameters(); + // oldParameters.encodings[0].maxBitrate = 800000; + // this.videoProducer.rtpSender.setParameters(oldParameters); this.callbackTrack(this.clientId, track); if (this.proxy && this.proxy.media) { this.proxy.media(track, this.videoProducer);