We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8238c5c commit fc276abCopy full SHA for fc276ab
lib/src/participant/local.dart
@@ -209,6 +209,8 @@ class LocalParticipant extends Participant<LocalTrackPublication> {
209
// fallback to a supported codec if it is not supported
210
if (!room.engine.enabledPublishCodecs!
211
.where((c) => c.mime.startsWith('video/'))
212
+ .where(
213
+ (c) => videoCodecs.any((v) => c.mime.toLowerCase().endsWith(v)))
214
.any((c) =>
215
publishOptions?.videoCodec ==
216
mimeTypeToVideoCodecString(c.mime))) {
0 commit comments