@stream-io/video-client 0.3.10 → 0.3.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -6103,10 +6103,10 @@ const getPreferredCodecs = (kind, preferredCodec, codecToRemove) => {
6103
6103
  cap.codecs.forEach((c) => {
6104
6104
  const codec = c.mimeType.toLowerCase();
6105
6105
  logger === null || logger === void 0 ? void 0 : logger('debug', `Found supported codec: ${codec}`);
6106
- const shouldRemoveCodec = codecToRemove && codec === `${kind}/${codecToRemove}`;
6106
+ const shouldRemoveCodec = codecToRemove && codec === `${kind}/${codecToRemove.toLowerCase()}`;
6107
6107
  if (shouldRemoveCodec)
6108
6108
  return;
6109
- const matchesCodec = codec === `${kind}/${preferredCodec}`;
6109
+ const matchesCodec = codec === `${kind}/${preferredCodec.toLowerCase()}`;
6110
6110
  if (!matchesCodec) {
6111
6111
  unmatched.push(c);
6112
6112
  return;
@@ -12846,7 +12846,7 @@ class WSConnectionFallback {
12846
12846
  }
12847
12847
  }
12848
12848
 
12849
- const version = '0.3.10';
12849
+ const version = '0.3.11';
12850
12850
 
12851
12851
  const logger = getLogger(['location']);
12852
12852
  const HINT_URL = `https://hint.stream-io-video.com/`;