@stream-io/video-client 1.4.4 → 1.4.5
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 +17 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +17 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +17 -2
- package/dist/index.es.js.map +1 -1
- package/dist/src/gen/video/sfu/models/models.d.ts +9 -1
- package/package.json +1 -1
- package/src/client-details.ts +17 -2
- package/src/gen/video/sfu/models/models.ts +8 -0
package/dist/index.es.js
CHANGED
|
@@ -926,6 +926,14 @@ var SdkType;
|
|
|
926
926
|
* @generated from protobuf enum value: SDK_TYPE_UNITY = 7;
|
|
927
927
|
*/
|
|
928
928
|
SdkType[SdkType["UNITY"] = 7] = "UNITY";
|
|
929
|
+
/**
|
|
930
|
+
* @generated from protobuf enum value: SDK_TYPE_GO = 8;
|
|
931
|
+
*/
|
|
932
|
+
SdkType[SdkType["GO"] = 8] = "GO";
|
|
933
|
+
/**
|
|
934
|
+
* @generated from protobuf enum value: SDK_TYPE_PLAIN_JAVASCRIPT = 9;
|
|
935
|
+
*/
|
|
936
|
+
SdkType[SdkType["PLAIN_JAVASCRIPT"] = 9] = "PLAIN_JAVASCRIPT";
|
|
929
937
|
})(SdkType || (SdkType = {}));
|
|
930
938
|
/**
|
|
931
939
|
* @generated from protobuf enum stream.video.sfu.models.TrackUnpublishReason
|
|
@@ -6528,7 +6536,14 @@ function getIceCandidate(candidate) {
|
|
|
6528
6536
|
}
|
|
6529
6537
|
}
|
|
6530
6538
|
|
|
6531
|
-
|
|
6539
|
+
const version = "1.4.5" ;
|
|
6540
|
+
const [major, minor, patch] = version.split('.');
|
|
6541
|
+
let sdkInfo = {
|
|
6542
|
+
type: SdkType.PLAIN_JAVASCRIPT,
|
|
6543
|
+
major,
|
|
6544
|
+
minor,
|
|
6545
|
+
patch,
|
|
6546
|
+
};
|
|
6532
6547
|
let osInfo;
|
|
6533
6548
|
let deviceInfo;
|
|
6534
6549
|
let webRtcInfo;
|
|
@@ -15505,7 +15520,7 @@ class StreamClient {
|
|
|
15505
15520
|
});
|
|
15506
15521
|
};
|
|
15507
15522
|
this.getUserAgent = () => {
|
|
15508
|
-
const version = "1.4.
|
|
15523
|
+
const version = "1.4.5" ;
|
|
15509
15524
|
return (this.userAgent ||
|
|
15510
15525
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15511
15526
|
};
|