@vkontakte/calls-sdk 2.7.2-beta.2 → 2.7.2-beta.4

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/CallsSDK.d.ts CHANGED
@@ -32,6 +32,7 @@ import { DebugMessageType } from './static/Debug';
32
32
  import { ParticipantStatus } from './static/External';
33
33
  import { JSONArray, JSONObject, JSONType } from './static/Json';
34
34
  import { ParamsObject } from './static/Params';
35
+ import Utils from './static/Utils';
35
36
  import WebRTCUtils, { FacingMode } from './static/WebRTCUtils';
36
37
  import { IAsrStartParams } from './types/Asr';
37
38
  import ConversationParams from './types/ConversationParams';
@@ -182,6 +183,15 @@ export declare const browser: {
182
183
  */
183
184
  isAudioShareSupported: typeof WebRTCUtils.isAudioShareSupported;
184
185
  };
186
+ /**
187
+ * Вспомогательные функции
188
+ */
189
+ export declare const utils: {
190
+ /**
191
+ * Сравнивает маркеры для постраничного вывода участников звонка
192
+ */
193
+ participantMarkerCompare: typeof Utils.participantMarkerCompare;
194
+ };
185
195
  export declare function setApi(api: BaseApi): void;
186
196
  export declare function setSignalingFactory(signalingFactory: () => BaseSignaling): void;
187
197
  export declare function setLogger(logger: BaseLogger): void;
@@ -630,5 +640,5 @@ export declare function requestAsr(request: boolean): Promise<void>;
630
640
  * Версия SDK
631
641
  */
632
642
  export declare function version(): string;
633
- export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, HangupReasonData, IAsrStartParams, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantListMarkers, ParticipantListType, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, ParticipantListChunkParameters, ParticipantListMarker, RequestKeyFrame, Rooms, IGetParticipantsParameters, ScreenCaptureSettings, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IMovieMetaData, IVideoDimentions, IFeedbackExternal, ISharedMovieInfo, ISharedMovieStoppedInfo, ISharedMovieState, ISharedMovieStateResponse, IAddMovieParams, IOnRemoteMovieData, IMoviePreview, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, WebRTCUtils, };
643
+ export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, ExternalParticipantListChunk, ExternalParticipantListMarker, ExternalParticipantListMarkers as ExternalParticipantMarkers, ExternalParticipantId, HangupReasonData, IAsrStartParams, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantListMarkers, ParticipantListType, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, ParticipantListChunkParameters, ParticipantListMarker, RequestKeyFrame, Rooms, IGetParticipantsParameters, ScreenCaptureSettings, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IMovieMetaData, IVideoDimentions, IFeedbackExternal, ISharedMovieInfo, ISharedMovieStoppedInfo, ISharedMovieState, ISharedMovieStateResponse, IAddMovieParams, IOnRemoteMovieData, IMoviePreview, Room, RoomsUpdate, RoomParticipantUpdate, IUpdateMovieData, IFeaturesPerRole, IMuteParticipantParams, IMuteParticipantInternalParams, IStartStreamData, IStopStreamData, };
634
644
  export { Api, BaseApi, BaseLogger, BaseSignaling, CallDirection, CallType, ChatRoomEventType, ConversationOption, DebugMessageType, ExternalIdType, FacingMode, FatalError, HangupReason, HangupType, MediaOption, MediaTrackKind, MediaType, MuteState, ParticipantState, ParticipantStatus, RecordRole, Signaling, SignalingCommandType, SignalingConnectionType, SignalingNotification, UserRole, UserType, TransportTopology, RoomsEventType, ConversationFeature, ArrayDequeue, };