[*] 本地消费者暂停不受远程生产者影响

This commit is contained in:
acgist
2023-04-30 15:09:47 +08:00
parent 10551daf31
commit b57c077eb9
5 changed files with 57 additions and 50 deletions

View File

@@ -431,6 +431,8 @@ class Taoyao extends RemoteClient {
password;
// 房间标识
roomId;
// 视频质量
options;
// 回调事件
callback;
// 请求回调
@@ -864,6 +866,7 @@ class Taoyao extends RemoteClient {
ideal: video.frameRate,
max: media.maxFrameRate,
};
me.options = Object.keys(media.videos).map(key => ({value: key, label: media.videos[key].resolution}));
me.mediaConfig = media;
me.webrtcConfig = webrtc;
console.debug(