浏览代码

fix(CodecSelection): disable AV1 for Safari.

Encoder/decoder issues were noticed with AV1 for Safari. This includes no scalability for the stream that is send, not decoded videos on the receiver side, etc. This should be disable until all issues are resolved.
dev0
Hristo Terezov 4 个月前
父节点
当前提交
a8d134d7fc
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
    0
      modules/qualitycontrol/CodecSelection.js

+ 6
- 0
modules/qualitycontrol/CodecSelection.js 查看文件

@@ -103,6 +103,12 @@ export class CodecSelection {
103 103
                 }
104 104
             }
105 105
 
106
+            // Safari retports AV1 as supported on M3+ macs. Because of some decoder/encoder issues reported AV1 should
107
+            // be disabled until all issues are resolved.
108
+            if (browser.isWebKitBased()) {
109
+                selectedOrder = selectedOrder.filter(codec => codec !== CodecMimeType.AV1);
110
+            }
111
+
106 112
             logger.info(`Codec preference order for ${connectionType} connection is ${selectedOrder}`);
107 113
             this.codecPreferenceOrder[connectionType] = selectedOrder;
108 114
 

正在加载...
取消
保存