Commit ee40b466 by 李宁

1

1 parent 8b4410bb
...@@ -1010,7 +1010,11 @@ async function init(){ ...@@ -1010,7 +1010,11 @@ async function init(){
// 创建房间实例,启用自适应流和动态发布 // 创建房间实例,启用自适应流和动态发布
room = new LivekitClient.Room({ room = new LivekitClient.Room({
adaptiveStream: true, adaptiveStream: true,
dynacast: true dynacast: true,
videoCaptureDefaults: {
resolution: LivekitClient.VideoPresets.h720.resolution,
frameRate: 25,
}
}); });
//resolution: LivekitClient.VideoPresets.h720.resolution, //resolution: LivekitClient.VideoPresets.h720.resolution,
//new VideoPreset(1280, 720, 1_700_000, 30) //new VideoPreset(1280, 720, 1_700_000, 30)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!