Disable av1 for safari (#3284)
M3 chip/iphone15 pro has av1 enabled for safari but its hardware decoder can't decode av1 svc encoding.
This commit is contained in:
@@ -25,13 +25,13 @@ var StaticConfigurations = []ConfigurationItem{
|
|||||||
// Configuration: &livekit.ClientConfiguration{ResumeConnection: livekit.ClientConfigSetting_DISABLED},
|
// Configuration: &livekit.ClientConfiguration{ResumeConnection: livekit.ClientConfigSetting_DISABLED},
|
||||||
// Merge: false,
|
// Merge: false,
|
||||||
// },
|
// },
|
||||||
// {
|
{
|
||||||
// Match: &ScriptMatch{Expr: `c.browser == "safari" && c.os == "ios"`},
|
Match: &ScriptMatch{Expr: `c.browser == "safari"`},
|
||||||
// Configuration: &livekit.ClientConfiguration{DisabledCodecs: &livekit.DisabledCodecs{Codecs: []*livekit.Codec{
|
Configuration: &livekit.ClientConfiguration{DisabledCodecs: &livekit.DisabledCodecs{Codecs: []*livekit.Codec{
|
||||||
// {Mime: "video/vp9"},
|
{Mime: "video/av1"},
|
||||||
// }}},
|
}}},
|
||||||
// Merge: false,
|
Merge: false,
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
Match: &ScriptMatch{Expr: `(c.device_model == "xiaomi 2201117ti" && c.os == "android") ||
|
Match: &ScriptMatch{Expr: `(c.device_model == "xiaomi 2201117ti" && c.os == "android") ||
|
||||||
((c.browser == "firefox" || c.browser == "firefox mobile") && (c.os == "linux" || c.os == "android"))`},
|
((c.browser == "firefox" || c.browser == "firefox mobile") && (c.os == "linux" || c.os == "android"))`},
|
||||||
|
|||||||
Reference in New Issue
Block a user