Fix svc encoding for chrome mobile on iOS (#3751)
The browser could send rtp packets of svc encoding without DD extension while the sdp negotiates it, sfu detects extension in rtp packet for this case.
This commit is contained in:
@@ -49,21 +49,6 @@ var StaticConfigurations = []ConfigurationItem{
|
||||
},
|
||||
Merge: true,
|
||||
},
|
||||
// disable advanced codecs when publishing using JS SDK from iOS,
|
||||
// seeing publish failures (no DD header extension found) when Chrome Mobile publishes VP9,
|
||||
// being defensive and disabling advanced codecs
|
||||
{
|
||||
Match: must.Get(NewScriptMatch(`c.os == "ios" && c.sdk == "js"`)),
|
||||
Configuration: &livekit.ClientConfiguration{
|
||||
DisabledCodecs: &livekit.DisabledCodecs{
|
||||
Publish: []*livekit.Codec{
|
||||
{Mime: mime.MimeTypeVP9.String()},
|
||||
{Mime: mime.MimeTypeAV1.String()},
|
||||
},
|
||||
},
|
||||
},
|
||||
Merge: true,
|
||||
},
|
||||
{
|
||||
Match: must.Get(NewScriptMatch(`(c.device_model == "xiaomi 2201117ti" && c.os == "android") ||
|
||||
((c.browser == "firefox" || c.browser == "firefox mobile") && (c.os == "linux" || c.os == "android"))`)),
|
||||
|
||||
Reference in New Issue
Block a user