fallback to vp8 if no viable codec (#2211)
This commit is contained in:
@@ -151,6 +151,6 @@ func selectAlternativeVideoCodec(enabledCodecs []*livekit.Codec) string {
|
|||||||
return c.Mime
|
return c.Mime
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// uh oh. this should not happen
|
// no viable codec in the list of enabled codecs, fall back to the most widely supported codec
|
||||||
return ""
|
return webrtc.MimeTypeVP8
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user