@stream-io/video-client 1.11.2 → 1.11.3
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/package.json +1 -1
- package/src/rtc/Publisher.ts +2 -1
package/dist/index.es.js
CHANGED
|
@@ -3336,7 +3336,7 @@ const retryable = async (rpc, signal) => {
|
|
|
3336
3336
|
return result;
|
|
3337
3337
|
};
|
|
3338
3338
|
|
|
3339
|
-
const version = "1.11.
|
|
3339
|
+
const version = "1.11.3";
|
|
3340
3340
|
const [major, minor, patch] = version.split('.');
|
|
3341
3341
|
let sdkInfo = {
|
|
3342
3342
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -6002,7 +6002,7 @@ class Publisher {
|
|
|
6002
6002
|
.target_resolution;
|
|
6003
6003
|
const screenShareBitrate = settings?.screensharing.target_resolution?.bitrate;
|
|
6004
6004
|
const publishOpts = opts || this.publishOptsForTrack.get(trackType);
|
|
6005
|
-
const codecInUse = getOptimalVideoCodec(
|
|
6005
|
+
const codecInUse = opts?.forceCodec || getOptimalVideoCodec(opts?.preferredCodec);
|
|
6006
6006
|
return trackType === TrackType.VIDEO
|
|
6007
6007
|
? findOptimalVideoLayers(track, targetResolution, codecInUse, publishOpts)
|
|
6008
6008
|
: trackType === TrackType.SCREEN_SHARE
|
|
@@ -12977,7 +12977,7 @@ class StreamClient {
|
|
|
12977
12977
|
});
|
|
12978
12978
|
};
|
|
12979
12979
|
this.getUserAgent = () => {
|
|
12980
|
-
const version = "1.11.
|
|
12980
|
+
const version = "1.11.3";
|
|
12981
12981
|
return (this.userAgent ||
|
|
12982
12982
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
12983
12983
|
};
|