@stream-io/video-client 1.2.0 → 1.2.2
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 +14 -0
- package/dist/index.browser.es.js +4 -2
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +4 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/src/gen/coordinator/index.d.ts +154 -1
- package/package.json +1 -1
- package/src/Call.ts +2 -1
- package/src/gen/coordinator/index.ts +151 -1
- package/src/rtc/codecs.ts +1 -1
- package/src/store/CallState.ts +1 -0
package/dist/index.es.js
CHANGED
|
@@ -80,6 +80,7 @@ const NoiseCancellationSettingsModeEnum = {
|
|
|
80
80
|
*/
|
|
81
81
|
const OwnCapability = {
|
|
82
82
|
BLOCK_USERS: 'block-users',
|
|
83
|
+
CHANGE_MAX_DURATION: 'change-max-duration',
|
|
83
84
|
CREATE_CALL: 'create-call',
|
|
84
85
|
CREATE_REACTION: 'create-reaction',
|
|
85
86
|
ENABLE_NOISE_CANCELLATION: 'enable-noise-cancellation',
|
|
@@ -6412,7 +6413,7 @@ const getGenericSdp = async (direction) => {
|
|
|
6412
6413
|
const offer = await tempPc.createOffer();
|
|
6413
6414
|
let sdp = offer.sdp ?? '';
|
|
6414
6415
|
tempPc.getTransceivers().forEach((t) => {
|
|
6415
|
-
t.stop();
|
|
6416
|
+
t.stop?.();
|
|
6416
6417
|
});
|
|
6417
6418
|
tempPc.close();
|
|
6418
6419
|
return sdp;
|
|
@@ -7639,6 +7640,7 @@ class CallState {
|
|
|
7639
7640
|
'call.recording_stopped': () => this.setCurrentValue(this.recordingSubject, false),
|
|
7640
7641
|
'call.rejected': (e) => this.updateFromCallResponse(e.call),
|
|
7641
7642
|
'call.ring': (e) => this.updateFromCallResponse(e.call),
|
|
7643
|
+
'call.missed': (e) => this.updateFromCallResponse(e.call),
|
|
7642
7644
|
'call.session_ended': (e) => this.updateFromCallResponse(e.call),
|
|
7643
7645
|
'call.session_participant_joined': this.updateFromSessionParticipantJoined,
|
|
7644
7646
|
'call.session_participant_left': this.updateFromSessionParticipantLeft,
|
|
@@ -15288,7 +15290,7 @@ class StreamClient {
|
|
|
15288
15290
|
});
|
|
15289
15291
|
};
|
|
15290
15292
|
this.getUserAgent = () => {
|
|
15291
|
-
const version = "1.2.
|
|
15293
|
+
const version = "1.2.2" ;
|
|
15292
15294
|
return (this.userAgent ||
|
|
15293
15295
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15294
15296
|
};
|