@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.cjs.js
CHANGED
|
@@ -100,6 +100,7 @@ const NoiseCancellationSettingsModeEnum = {
|
|
|
100
100
|
*/
|
|
101
101
|
const OwnCapability = {
|
|
102
102
|
BLOCK_USERS: 'block-users',
|
|
103
|
+
CHANGE_MAX_DURATION: 'change-max-duration',
|
|
103
104
|
CREATE_CALL: 'create-call',
|
|
104
105
|
CREATE_REACTION: 'create-reaction',
|
|
105
106
|
ENABLE_NOISE_CANCELLATION: 'enable-noise-cancellation',
|
|
@@ -6432,7 +6433,7 @@ const getGenericSdp = async (direction) => {
|
|
|
6432
6433
|
const offer = await tempPc.createOffer();
|
|
6433
6434
|
let sdp = offer.sdp ?? '';
|
|
6434
6435
|
tempPc.getTransceivers().forEach((t) => {
|
|
6435
|
-
t.stop();
|
|
6436
|
+
t.stop?.();
|
|
6436
6437
|
});
|
|
6437
6438
|
tempPc.close();
|
|
6438
6439
|
return sdp;
|
|
@@ -7659,6 +7660,7 @@ class CallState {
|
|
|
7659
7660
|
'call.recording_stopped': () => this.setCurrentValue(this.recordingSubject, false),
|
|
7660
7661
|
'call.rejected': (e) => this.updateFromCallResponse(e.call),
|
|
7661
7662
|
'call.ring': (e) => this.updateFromCallResponse(e.call),
|
|
7663
|
+
'call.missed': (e) => this.updateFromCallResponse(e.call),
|
|
7662
7664
|
'call.session_ended': (e) => this.updateFromCallResponse(e.call),
|
|
7663
7665
|
'call.session_participant_joined': this.updateFromSessionParticipantJoined,
|
|
7664
7666
|
'call.session_participant_left': this.updateFromSessionParticipantLeft,
|
|
@@ -15308,7 +15310,7 @@ class StreamClient {
|
|
|
15308
15310
|
});
|
|
15309
15311
|
};
|
|
15310
15312
|
this.getUserAgent = () => {
|
|
15311
|
-
const version = "1.2.
|
|
15313
|
+
const version = "1.2.2" ;
|
|
15312
15314
|
return (this.userAgent ||
|
|
15313
15315
|
`stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
|
|
15314
15316
|
};
|