@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
|
@@ -824,6 +824,55 @@ export interface CallMemberUpdatedPermissionEvent {
|
|
|
824
824
|
*/
|
|
825
825
|
type: string;
|
|
826
826
|
}
|
|
827
|
+
/**
|
|
828
|
+
* This event is sent to call members who did not accept/reject/join the call to notify they missed the call
|
|
829
|
+
* @export
|
|
830
|
+
* @interface CallMissedEvent
|
|
831
|
+
*/
|
|
832
|
+
export interface CallMissedEvent {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {CallResponse}
|
|
836
|
+
* @memberof CallMissedEvent
|
|
837
|
+
*/
|
|
838
|
+
call: CallResponse;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof CallMissedEvent
|
|
843
|
+
*/
|
|
844
|
+
call_cid: string;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof CallMissedEvent
|
|
849
|
+
*/
|
|
850
|
+
created_at: string;
|
|
851
|
+
/**
|
|
852
|
+
* List of members who missed the call
|
|
853
|
+
* @type {Array<MemberResponse>}
|
|
854
|
+
* @memberof CallMissedEvent
|
|
855
|
+
*/
|
|
856
|
+
members: Array<MemberResponse>;
|
|
857
|
+
/**
|
|
858
|
+
* Call session ID
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof CallMissedEvent
|
|
861
|
+
*/
|
|
862
|
+
session_id: string;
|
|
863
|
+
/**
|
|
864
|
+
* The type of event: "call.notification" in this case
|
|
865
|
+
* @type {string}
|
|
866
|
+
* @memberof CallMissedEvent
|
|
867
|
+
*/
|
|
868
|
+
type: string;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {UserResponse}
|
|
872
|
+
* @memberof CallMissedEvent
|
|
873
|
+
*/
|
|
874
|
+
user: UserResponse;
|
|
875
|
+
}
|
|
827
876
|
/**
|
|
828
877
|
* This event is sent to all call members to notify they are getting called
|
|
829
878
|
* @export
|
|
@@ -1096,6 +1145,12 @@ export interface CallRejectedEvent {
|
|
|
1096
1145
|
* @memberof CallRejectedEvent
|
|
1097
1146
|
*/
|
|
1098
1147
|
created_at: string;
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {string}
|
|
1151
|
+
* @memberof CallRejectedEvent
|
|
1152
|
+
*/
|
|
1153
|
+
reason?: string;
|
|
1099
1154
|
/**
|
|
1100
1155
|
* The type of event: "call.rejected" in this case
|
|
1101
1156
|
* @type {string}
|
|
@@ -1475,6 +1530,14 @@ export interface CallSessionResponse {
|
|
|
1475
1530
|
* @memberof CallSessionResponse
|
|
1476
1531
|
*/
|
|
1477
1532
|
live_started_at?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @type {{ [key: string]: string; }}
|
|
1536
|
+
* @memberof CallSessionResponse
|
|
1537
|
+
*/
|
|
1538
|
+
missed_by: {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
};
|
|
1478
1541
|
/**
|
|
1479
1542
|
*
|
|
1480
1543
|
* @type {Array<CallParticipantResponse>}
|
|
@@ -1503,6 +1566,12 @@ export interface CallSessionResponse {
|
|
|
1503
1566
|
* @memberof CallSessionResponse
|
|
1504
1567
|
*/
|
|
1505
1568
|
started_at?: string;
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @type {string}
|
|
1572
|
+
* @memberof CallSessionResponse
|
|
1573
|
+
*/
|
|
1574
|
+
timer_ends_at?: string;
|
|
1506
1575
|
}
|
|
1507
1576
|
/**
|
|
1508
1577
|
* This event is sent when a call session starts
|
|
@@ -1571,6 +1640,12 @@ export interface CallSettingsRequest {
|
|
|
1571
1640
|
* @memberof CallSettingsRequest
|
|
1572
1641
|
*/
|
|
1573
1642
|
geofencing?: GeofenceSettingsRequest;
|
|
1643
|
+
/**
|
|
1644
|
+
*
|
|
1645
|
+
* @type {LimitsSettingsRequest}
|
|
1646
|
+
* @memberof CallSettingsRequest
|
|
1647
|
+
*/
|
|
1648
|
+
limits?: LimitsSettingsRequest;
|
|
1574
1649
|
/**
|
|
1575
1650
|
*
|
|
1576
1651
|
* @type {RecordSettingsRequest}
|
|
@@ -1638,6 +1713,12 @@ export interface CallSettingsResponse {
|
|
|
1638
1713
|
* @memberof CallSettingsResponse
|
|
1639
1714
|
*/
|
|
1640
1715
|
geofencing: GeofenceSettingsResponse;
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @type {LimitsSettingsResponse}
|
|
1719
|
+
* @memberof CallSettingsResponse
|
|
1720
|
+
*/
|
|
1721
|
+
limits: LimitsSettingsResponse;
|
|
1641
1722
|
/**
|
|
1642
1723
|
*
|
|
1643
1724
|
* @type {RecordSettingsResponse}
|
|
@@ -2246,6 +2327,12 @@ export interface ChannelMember {
|
|
|
2246
2327
|
* @memberof ChannelMember
|
|
2247
2328
|
*/
|
|
2248
2329
|
is_moderator?: boolean;
|
|
2330
|
+
/**
|
|
2331
|
+
*
|
|
2332
|
+
* @type {boolean}
|
|
2333
|
+
* @memberof ChannelMember
|
|
2334
|
+
*/
|
|
2335
|
+
notifications_muted: boolean;
|
|
2249
2336
|
/**
|
|
2250
2337
|
* Whether member is shadow banned in this channel or not
|
|
2251
2338
|
* @type {boolean}
|
|
@@ -3709,6 +3796,44 @@ export interface LabelThresholds {
|
|
|
3709
3796
|
*/
|
|
3710
3797
|
flag?: number;
|
|
3711
3798
|
}
|
|
3799
|
+
/**
|
|
3800
|
+
*
|
|
3801
|
+
* @export
|
|
3802
|
+
* @interface LimitsSettingsRequest
|
|
3803
|
+
*/
|
|
3804
|
+
export interface LimitsSettingsRequest {
|
|
3805
|
+
/**
|
|
3806
|
+
*
|
|
3807
|
+
* @type {number}
|
|
3808
|
+
* @memberof LimitsSettingsRequest
|
|
3809
|
+
*/
|
|
3810
|
+
max_duration_seconds?: number;
|
|
3811
|
+
/**
|
|
3812
|
+
*
|
|
3813
|
+
* @type {number}
|
|
3814
|
+
* @memberof LimitsSettingsRequest
|
|
3815
|
+
*/
|
|
3816
|
+
max_participants?: number;
|
|
3817
|
+
}
|
|
3818
|
+
/**
|
|
3819
|
+
*
|
|
3820
|
+
* @export
|
|
3821
|
+
* @interface LimitsSettingsResponse
|
|
3822
|
+
*/
|
|
3823
|
+
export interface LimitsSettingsResponse {
|
|
3824
|
+
/**
|
|
3825
|
+
*
|
|
3826
|
+
* @type {number}
|
|
3827
|
+
* @memberof LimitsSettingsResponse
|
|
3828
|
+
*/
|
|
3829
|
+
max_duration_seconds?: number;
|
|
3830
|
+
/**
|
|
3831
|
+
*
|
|
3832
|
+
* @type {number}
|
|
3833
|
+
* @memberof LimitsSettingsResponse
|
|
3834
|
+
*/
|
|
3835
|
+
max_participants?: number;
|
|
3836
|
+
}
|
|
3712
3837
|
/**
|
|
3713
3838
|
*
|
|
3714
3839
|
* @export
|
|
@@ -4053,6 +4178,7 @@ export interface NullTime {
|
|
|
4053
4178
|
*/
|
|
4054
4179
|
export declare const OwnCapability: {
|
|
4055
4180
|
readonly BLOCK_USERS: "block-users";
|
|
4181
|
+
readonly CHANGE_MAX_DURATION: "change-max-duration";
|
|
4056
4182
|
readonly CREATE_CALL: "create-call";
|
|
4057
4183
|
readonly CREATE_REACTION: "create-reaction";
|
|
4058
4184
|
readonly ENABLE_NOISE_CANCELLATION: "enable-noise-cancellation";
|
|
@@ -4293,7 +4419,7 @@ export interface OwnUserResponse {
|
|
|
4293
4419
|
* @type {boolean}
|
|
4294
4420
|
* @memberof OwnUserResponse
|
|
4295
4421
|
*/
|
|
4296
|
-
invisible
|
|
4422
|
+
invisible: boolean;
|
|
4297
4423
|
/**
|
|
4298
4424
|
*
|
|
4299
4425
|
* @type {string}
|
|
@@ -4894,6 +5020,19 @@ export interface RecordSettingsResponse {
|
|
|
4894
5020
|
*/
|
|
4895
5021
|
quality: string;
|
|
4896
5022
|
}
|
|
5023
|
+
/**
|
|
5024
|
+
*
|
|
5025
|
+
* @export
|
|
5026
|
+
* @interface RejectCallRequest
|
|
5027
|
+
*/
|
|
5028
|
+
export interface RejectCallRequest {
|
|
5029
|
+
/**
|
|
5030
|
+
* Reason for rejecting the call
|
|
5031
|
+
* @type {string}
|
|
5032
|
+
* @memberof RejectCallRequest
|
|
5033
|
+
*/
|
|
5034
|
+
reason?: string;
|
|
5035
|
+
}
|
|
4897
5036
|
/**
|
|
4898
5037
|
*
|
|
4899
5038
|
* @export
|
|
@@ -4964,6 +5103,12 @@ export interface RingSettingsRequest {
|
|
|
4964
5103
|
* @memberof RingSettingsRequest
|
|
4965
5104
|
*/
|
|
4966
5105
|
incoming_call_timeout_ms: number;
|
|
5106
|
+
/**
|
|
5107
|
+
*
|
|
5108
|
+
* @type {number}
|
|
5109
|
+
* @memberof RingSettingsRequest
|
|
5110
|
+
*/
|
|
5111
|
+
missed_call_timeout_ms?: number;
|
|
4967
5112
|
}
|
|
4968
5113
|
/**
|
|
4969
5114
|
*
|
|
@@ -4983,6 +5128,12 @@ export interface RingSettingsResponse {
|
|
|
4983
5128
|
* @memberof RingSettingsResponse
|
|
4984
5129
|
*/
|
|
4985
5130
|
incoming_call_timeout_ms: number;
|
|
5131
|
+
/**
|
|
5132
|
+
*
|
|
5133
|
+
* @type {number}
|
|
5134
|
+
* @memberof RingSettingsResponse
|
|
5135
|
+
*/
|
|
5136
|
+
missed_call_timeout_ms: number;
|
|
4986
5137
|
}
|
|
4987
5138
|
/**
|
|
4988
5139
|
*
|
|
@@ -6992,6 +7143,8 @@ export type WSEvent = ({
|
|
|
6992
7143
|
} & CallMemberUpdatedEvent) | ({
|
|
6993
7144
|
type: 'call.member_updated_permission';
|
|
6994
7145
|
} & CallMemberUpdatedPermissionEvent) | ({
|
|
7146
|
+
type: 'call.missed';
|
|
7147
|
+
} & CallMissedEvent) | ({
|
|
6995
7148
|
type: 'call.notification';
|
|
6996
7149
|
} & CallNotificationEvent) | ({
|
|
6997
7150
|
type: 'call.permission_request';
|
package/package.json
CHANGED
package/src/Call.ts
CHANGED
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
PinResponse,
|
|
46
46
|
QueryCallMembersRequest,
|
|
47
47
|
QueryCallMembersResponse,
|
|
48
|
+
RejectCallRequest,
|
|
48
49
|
RejectCallResponse,
|
|
49
50
|
RequestPermissionRequest,
|
|
50
51
|
RequestPermissionResponse,
|
|
@@ -685,7 +686,7 @@ export class Call {
|
|
|
685
686
|
* @param reason the reason for rejecting the call.
|
|
686
687
|
*/
|
|
687
688
|
reject = async (reason?: RejectReason): Promise<RejectCallResponse> => {
|
|
688
|
-
return this.streamClient.post<RejectCallResponse>(
|
|
689
|
+
return this.streamClient.post<RejectCallResponse, RejectCallRequest>(
|
|
689
690
|
`${this.streamClientBasePath}/reject`,
|
|
690
691
|
{ reason: reason },
|
|
691
692
|
);
|
|
@@ -831,6 +831,55 @@ export interface CallMemberUpdatedPermissionEvent {
|
|
|
831
831
|
*/
|
|
832
832
|
type: string;
|
|
833
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
* This event is sent to call members who did not accept/reject/join the call to notify they missed the call
|
|
836
|
+
* @export
|
|
837
|
+
* @interface CallMissedEvent
|
|
838
|
+
*/
|
|
839
|
+
export interface CallMissedEvent {
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {CallResponse}
|
|
843
|
+
* @memberof CallMissedEvent
|
|
844
|
+
*/
|
|
845
|
+
call: CallResponse;
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @type {string}
|
|
849
|
+
* @memberof CallMissedEvent
|
|
850
|
+
*/
|
|
851
|
+
call_cid: string;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {string}
|
|
855
|
+
* @memberof CallMissedEvent
|
|
856
|
+
*/
|
|
857
|
+
created_at: string;
|
|
858
|
+
/**
|
|
859
|
+
* List of members who missed the call
|
|
860
|
+
* @type {Array<MemberResponse>}
|
|
861
|
+
* @memberof CallMissedEvent
|
|
862
|
+
*/
|
|
863
|
+
members: Array<MemberResponse>;
|
|
864
|
+
/**
|
|
865
|
+
* Call session ID
|
|
866
|
+
* @type {string}
|
|
867
|
+
* @memberof CallMissedEvent
|
|
868
|
+
*/
|
|
869
|
+
session_id: string;
|
|
870
|
+
/**
|
|
871
|
+
* The type of event: "call.notification" in this case
|
|
872
|
+
* @type {string}
|
|
873
|
+
* @memberof CallMissedEvent
|
|
874
|
+
*/
|
|
875
|
+
type: string;
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @type {UserResponse}
|
|
879
|
+
* @memberof CallMissedEvent
|
|
880
|
+
*/
|
|
881
|
+
user: UserResponse;
|
|
882
|
+
}
|
|
834
883
|
/**
|
|
835
884
|
* This event is sent to all call members to notify they are getting called
|
|
836
885
|
* @export
|
|
@@ -1103,6 +1152,12 @@ export interface CallRejectedEvent {
|
|
|
1103
1152
|
* @memberof CallRejectedEvent
|
|
1104
1153
|
*/
|
|
1105
1154
|
created_at: string;
|
|
1155
|
+
/**
|
|
1156
|
+
*
|
|
1157
|
+
* @type {string}
|
|
1158
|
+
* @memberof CallRejectedEvent
|
|
1159
|
+
*/
|
|
1160
|
+
reason?: string;
|
|
1106
1161
|
/**
|
|
1107
1162
|
* The type of event: "call.rejected" in this case
|
|
1108
1163
|
* @type {string}
|
|
@@ -1476,6 +1531,12 @@ export interface CallSessionResponse {
|
|
|
1476
1531
|
* @memberof CallSessionResponse
|
|
1477
1532
|
*/
|
|
1478
1533
|
live_started_at?: string;
|
|
1534
|
+
/**
|
|
1535
|
+
*
|
|
1536
|
+
* @type {{ [key: string]: string; }}
|
|
1537
|
+
* @memberof CallSessionResponse
|
|
1538
|
+
*/
|
|
1539
|
+
missed_by: { [key: string]: string };
|
|
1479
1540
|
/**
|
|
1480
1541
|
*
|
|
1481
1542
|
* @type {Array<CallParticipantResponse>}
|
|
@@ -1500,6 +1561,12 @@ export interface CallSessionResponse {
|
|
|
1500
1561
|
* @memberof CallSessionResponse
|
|
1501
1562
|
*/
|
|
1502
1563
|
started_at?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
*
|
|
1566
|
+
* @type {string}
|
|
1567
|
+
* @memberof CallSessionResponse
|
|
1568
|
+
*/
|
|
1569
|
+
timer_ends_at?: string;
|
|
1503
1570
|
}
|
|
1504
1571
|
/**
|
|
1505
1572
|
* This event is sent when a call session starts
|
|
@@ -1568,6 +1635,12 @@ export interface CallSettingsRequest {
|
|
|
1568
1635
|
* @memberof CallSettingsRequest
|
|
1569
1636
|
*/
|
|
1570
1637
|
geofencing?: GeofenceSettingsRequest;
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @type {LimitsSettingsRequest}
|
|
1641
|
+
* @memberof CallSettingsRequest
|
|
1642
|
+
*/
|
|
1643
|
+
limits?: LimitsSettingsRequest;
|
|
1571
1644
|
/**
|
|
1572
1645
|
*
|
|
1573
1646
|
* @type {RecordSettingsRequest}
|
|
@@ -1635,6 +1708,12 @@ export interface CallSettingsResponse {
|
|
|
1635
1708
|
* @memberof CallSettingsResponse
|
|
1636
1709
|
*/
|
|
1637
1710
|
geofencing: GeofenceSettingsResponse;
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {LimitsSettingsResponse}
|
|
1714
|
+
* @memberof CallSettingsResponse
|
|
1715
|
+
*/
|
|
1716
|
+
limits: LimitsSettingsResponse;
|
|
1638
1717
|
/**
|
|
1639
1718
|
*
|
|
1640
1719
|
* @type {RecordSettingsResponse}
|
|
@@ -2246,6 +2325,12 @@ export interface ChannelMember {
|
|
|
2246
2325
|
* @memberof ChannelMember
|
|
2247
2326
|
*/
|
|
2248
2327
|
is_moderator?: boolean;
|
|
2328
|
+
/**
|
|
2329
|
+
*
|
|
2330
|
+
* @type {boolean}
|
|
2331
|
+
* @memberof ChannelMember
|
|
2332
|
+
*/
|
|
2333
|
+
notifications_muted: boolean;
|
|
2249
2334
|
/**
|
|
2250
2335
|
* Whether member is shadow banned in this channel or not
|
|
2251
2336
|
* @type {boolean}
|
|
@@ -3704,6 +3789,44 @@ export interface LabelThresholds {
|
|
|
3704
3789
|
*/
|
|
3705
3790
|
flag?: number;
|
|
3706
3791
|
}
|
|
3792
|
+
/**
|
|
3793
|
+
*
|
|
3794
|
+
* @export
|
|
3795
|
+
* @interface LimitsSettingsRequest
|
|
3796
|
+
*/
|
|
3797
|
+
export interface LimitsSettingsRequest {
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @type {number}
|
|
3801
|
+
* @memberof LimitsSettingsRequest
|
|
3802
|
+
*/
|
|
3803
|
+
max_duration_seconds?: number;
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @type {number}
|
|
3807
|
+
* @memberof LimitsSettingsRequest
|
|
3808
|
+
*/
|
|
3809
|
+
max_participants?: number;
|
|
3810
|
+
}
|
|
3811
|
+
/**
|
|
3812
|
+
*
|
|
3813
|
+
* @export
|
|
3814
|
+
* @interface LimitsSettingsResponse
|
|
3815
|
+
*/
|
|
3816
|
+
export interface LimitsSettingsResponse {
|
|
3817
|
+
/**
|
|
3818
|
+
*
|
|
3819
|
+
* @type {number}
|
|
3820
|
+
* @memberof LimitsSettingsResponse
|
|
3821
|
+
*/
|
|
3822
|
+
max_duration_seconds?: number;
|
|
3823
|
+
/**
|
|
3824
|
+
*
|
|
3825
|
+
* @type {number}
|
|
3826
|
+
* @memberof LimitsSettingsResponse
|
|
3827
|
+
*/
|
|
3828
|
+
max_participants?: number;
|
|
3829
|
+
}
|
|
3707
3830
|
/**
|
|
3708
3831
|
*
|
|
3709
3832
|
* @export
|
|
@@ -4048,6 +4171,7 @@ export interface NullTime {
|
|
|
4048
4171
|
*/
|
|
4049
4172
|
export const OwnCapability = {
|
|
4050
4173
|
BLOCK_USERS: 'block-users',
|
|
4174
|
+
CHANGE_MAX_DURATION: 'change-max-duration',
|
|
4051
4175
|
CREATE_CALL: 'create-call',
|
|
4052
4176
|
CREATE_REACTION: 'create-reaction',
|
|
4053
4177
|
ENABLE_NOISE_CANCELLATION: 'enable-noise-cancellation',
|
|
@@ -4285,7 +4409,7 @@ export interface OwnUserResponse {
|
|
|
4285
4409
|
* @type {boolean}
|
|
4286
4410
|
* @memberof OwnUserResponse
|
|
4287
4411
|
*/
|
|
4288
|
-
invisible
|
|
4412
|
+
invisible: boolean;
|
|
4289
4413
|
/**
|
|
4290
4414
|
*
|
|
4291
4415
|
* @type {string}
|
|
@@ -4883,6 +5007,19 @@ export interface RecordSettingsResponse {
|
|
|
4883
5007
|
*/
|
|
4884
5008
|
quality: string;
|
|
4885
5009
|
}
|
|
5010
|
+
/**
|
|
5011
|
+
*
|
|
5012
|
+
* @export
|
|
5013
|
+
* @interface RejectCallRequest
|
|
5014
|
+
*/
|
|
5015
|
+
export interface RejectCallRequest {
|
|
5016
|
+
/**
|
|
5017
|
+
* Reason for rejecting the call
|
|
5018
|
+
* @type {string}
|
|
5019
|
+
* @memberof RejectCallRequest
|
|
5020
|
+
*/
|
|
5021
|
+
reason?: string;
|
|
5022
|
+
}
|
|
4886
5023
|
/**
|
|
4887
5024
|
*
|
|
4888
5025
|
* @export
|
|
@@ -4953,6 +5090,12 @@ export interface RingSettingsRequest {
|
|
|
4953
5090
|
* @memberof RingSettingsRequest
|
|
4954
5091
|
*/
|
|
4955
5092
|
incoming_call_timeout_ms: number;
|
|
5093
|
+
/**
|
|
5094
|
+
*
|
|
5095
|
+
* @type {number}
|
|
5096
|
+
* @memberof RingSettingsRequest
|
|
5097
|
+
*/
|
|
5098
|
+
missed_call_timeout_ms?: number;
|
|
4956
5099
|
}
|
|
4957
5100
|
/**
|
|
4958
5101
|
*
|
|
@@ -4972,6 +5115,12 @@ export interface RingSettingsResponse {
|
|
|
4972
5115
|
* @memberof RingSettingsResponse
|
|
4973
5116
|
*/
|
|
4974
5117
|
incoming_call_timeout_ms: number;
|
|
5118
|
+
/**
|
|
5119
|
+
*
|
|
5120
|
+
* @type {number}
|
|
5121
|
+
* @memberof RingSettingsResponse
|
|
5122
|
+
*/
|
|
5123
|
+
missed_call_timeout_ms: number;
|
|
4975
5124
|
}
|
|
4976
5125
|
/**
|
|
4977
5126
|
*
|
|
@@ -6971,6 +7120,7 @@ export type WSEvent =
|
|
|
6971
7120
|
| ({
|
|
6972
7121
|
type: 'call.member_updated_permission';
|
|
6973
7122
|
} & CallMemberUpdatedPermissionEvent)
|
|
7123
|
+
| ({ type: 'call.missed' } & CallMissedEvent)
|
|
6974
7124
|
| ({ type: 'call.notification' } & CallNotificationEvent)
|
|
6975
7125
|
| ({ type: 'call.permission_request' } & PermissionRequestEvent)
|
|
6976
7126
|
| ({ type: 'call.permissions_updated' } & UpdatedCallPermissionsEvent)
|
package/src/rtc/codecs.ts
CHANGED
package/src/store/CallState.ts
CHANGED
|
@@ -472,6 +472,7 @@ export class CallState {
|
|
|
472
472
|
this.setCurrentValue(this.recordingSubject, false),
|
|
473
473
|
'call.rejected': (e) => this.updateFromCallResponse(e.call),
|
|
474
474
|
'call.ring': (e) => this.updateFromCallResponse(e.call),
|
|
475
|
+
'call.missed': (e) => this.updateFromCallResponse(e.call),
|
|
475
476
|
'call.session_ended': (e) => this.updateFromCallResponse(e.call),
|
|
476
477
|
'call.session_participant_joined':
|
|
477
478
|
this.updateFromSessionParticipantJoined,
|