@stream-io/video-client 1.34.0 → 1.35.0
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 +12 -0
- package/dist/index.browser.es.js +29 -8
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +29 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +29 -8
- package/dist/index.es.js.map +1 -1
- package/dist/src/Call.d.ts +10 -4
- package/dist/src/gen/coordinator/index.d.ts +684 -1
- package/package.json +1 -1
- package/src/Call.ts +40 -3
- package/src/devices/CameraManager.ts +3 -2
- package/src/gen/coordinator/index.ts +665 -1
package/dist/src/Call.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Publisher, Subscriber, TrackPublishOptions } from './rtc';
|
|
2
2
|
import { CallState } from './store';
|
|
3
|
-
import type { AcceptCallResponse, BlockUserResponse, CallRingEvent, CallSettingsResponse, CollectUserFeedbackRequest, CollectUserFeedbackResponse, DeleteCallRequest, DeleteCallResponse, EndCallResponse, GetCallReportResponse, GetCallResponse, GetOrCreateCallRequest, GetOrCreateCallResponse, GoLiveRequest, GoLiveResponse, JoinCallResponse, KickUserRequest, KickUserResponse, ListRecordingsResponse, ListTranscriptionsResponse, MuteUsersResponse, PinRequest, PinResponse, QueryCallMembersRequest, QueryCallMembersResponse, RejectCallResponse, RequestPermissionRequest, RequestPermissionResponse, SendCallEventResponse, SendReactionRequest, SendReactionResponse, StartClosedCaptionsRequest, StartClosedCaptionsResponse, StartFrameRecordingRequest, StartFrameRecordingResponse, StartHLSBroadcastingResponse, StartRecordingRequest, StartRecordingResponse, StartRTMPBroadcastsRequest, StartRTMPBroadcastsResponse, StartTranscriptionRequest, StartTranscriptionResponse, StopAllRTMPBroadcastsResponse, StopClosedCaptionsRequest, StopClosedCaptionsResponse, StopFrameRecordingResponse, StopHLSBroadcastingResponse, StopLiveRequest, StopLiveResponse, StopRecordingResponse, StopRTMPBroadcastsResponse, StopTranscriptionResponse, UnblockUserResponse, UnpinRequest, UnpinResponse, UpdateCallMembersRequest, UpdateCallMembersResponse, UpdateCallRequest, UpdateCallResponse, UpdateUserPermissionsRequest, UpdateUserPermissionsResponse } from './gen/coordinator';
|
|
3
|
+
import type { AcceptCallResponse, BlockUserResponse, CallRingEvent, CallSettingsResponse, CollectUserFeedbackRequest, CollectUserFeedbackResponse, DeleteCallRequest, DeleteCallResponse, EndCallResponse, GetCallReportResponse, GetCallResponse, GetCallSessionParticipantStatsDetailsResponse, GetOrCreateCallRequest, GetOrCreateCallResponse, GoLiveRequest, GoLiveResponse, JoinCallResponse, KickUserRequest, KickUserResponse, ListRecordingsResponse, ListTranscriptionsResponse, MuteUsersResponse, PinRequest, PinResponse, QueryCallMembersRequest, QueryCallMembersResponse, QueryCallSessionParticipantStatsResponse, QueryCallSessionParticipantStatsTimelineResponse, RejectCallResponse, RequestPermissionRequest, RequestPermissionResponse, SendCallEventResponse, SendReactionRequest, SendReactionResponse, StartClosedCaptionsRequest, StartClosedCaptionsResponse, StartFrameRecordingRequest, StartFrameRecordingResponse, StartHLSBroadcastingResponse, StartRecordingRequest, StartRecordingResponse, StartRTMPBroadcastsRequest, StartRTMPBroadcastsResponse, StartTranscriptionRequest, StartTranscriptionResponse, StopAllRTMPBroadcastsResponse, StopClosedCaptionsRequest, StopClosedCaptionsResponse, StopFrameRecordingResponse, StopHLSBroadcastingResponse, StopLiveRequest, StopLiveResponse, StopRecordingResponse, StopRTMPBroadcastsResponse, StopTranscriptionResponse, UnblockUserResponse, UnpinRequest, UnpinResponse, UpdateCallMembersRequest, UpdateCallMembersResponse, UpdateCallRequest, UpdateCallResponse, UpdateUserPermissionsRequest, UpdateUserPermissionsResponse } from './gen/coordinator';
|
|
4
4
|
import { AudioTrackType, CallConstructor, CallLeaveOptions, ClientPublishOptions, ClosedCaptionsSettings, JoinCallData, TrackMuteType, VideoTrackType } from './types';
|
|
5
5
|
import { ClientCapability, TrackType, VideoDimension } from './gen/video/sfu/models/models';
|
|
6
6
|
import { Tracer } from './stats';
|
|
@@ -531,13 +531,10 @@ export declare class Call {
|
|
|
531
531
|
revokePermissions: (userId: string, permissions: string[]) => Promise<UpdateUserPermissionsResponse>;
|
|
532
532
|
/**
|
|
533
533
|
* Allows you to grant or revoke a specific permission to a user in a call. The permissions are specific to the call experience and do not survive the call itself.
|
|
534
|
-
*
|
|
535
534
|
* When revoking a permission, this endpoint will also mute the relevant track from the user. This is similar to muting a user with the difference that the user will not be able to unmute afterwards.
|
|
536
|
-
*
|
|
537
535
|
* Supported permissions that can be granted or revoked: `send-audio`, `send-video` and `screenshare`.
|
|
538
536
|
*
|
|
539
537
|
* `call.permissions_updated` event is sent to all members of the call.
|
|
540
|
-
*
|
|
541
538
|
*/
|
|
542
539
|
updateUserPermissions: (data: UpdateUserPermissionsRequest) => Promise<UpdateUserPermissionsResponse>;
|
|
543
540
|
/**
|
|
@@ -675,6 +672,15 @@ export declare class Call {
|
|
|
675
672
|
* @returns the call report
|
|
676
673
|
*/
|
|
677
674
|
getCallReport: (callSessionID?: string) => Promise<GetCallReportResponse>;
|
|
675
|
+
/**
|
|
676
|
+
* Loads the call participant stats for the given parameters.
|
|
677
|
+
*/
|
|
678
|
+
getCallParticipantsStats: (opts: {
|
|
679
|
+
sessionId?: string;
|
|
680
|
+
userId?: string;
|
|
681
|
+
userSessionId?: string;
|
|
682
|
+
kind?: "timeline" | "details";
|
|
683
|
+
}) => Promise<QueryCallSessionParticipantStatsResponse | GetCallSessionParticipantStatsDetailsResponse | QueryCallSessionParticipantStatsTimelineResponse | undefined>;
|
|
678
684
|
/**
|
|
679
685
|
* Submit user feedback for the call
|
|
680
686
|
*
|