@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/CHANGELOG.md +7 -0
- package/dist/index.browser.es.js +3 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/rtc/codecs.ts +2 -2
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.
|
|
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/`;
|