@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.cjs.js CHANGED
@@ -6123,10 +6123,10 @@ const getPreferredCodecs = (kind, preferredCodec, codecToRemove) => {
6123
6123
  cap.codecs.forEach((c) => {
6124
6124
  const codec = c.mimeType.toLowerCase();
6125
6125
  logger === null || logger === void 0 ? void 0 : logger('debug', `Found supported codec: ${codec}`);
6126
- const shouldRemoveCodec = codecToRemove && codec === `${kind}/${codecToRemove}`;
6126
+ const shouldRemoveCodec = codecToRemove && codec === `${kind}/${codecToRemove.toLowerCase()}`;
6127
6127
  if (shouldRemoveCodec)
6128
6128
  return;
6129
- const matchesCodec = codec === `${kind}/${preferredCodec}`;
6129
+ const matchesCodec = codec === `${kind}/${preferredCodec.toLowerCase()}`;
6130
6130
  if (!matchesCodec) {
6131
6131
  unmatched.push(c);
6132
6132
  return;
@@ -12866,7 +12866,7 @@ class WSConnectionFallback {
12866
12866
  }
12867
12867
  }
12868
12868
 
12869
- const version = '0.3.10';
12869
+ const version = '0.3.11';
12870
12870
 
12871
12871
  const logger = getLogger(['location']);
12872
12872
  const HINT_URL = `https://hint.stream-io-video.com/`;