@vkontakte/calls-sdk 2.4.4-beta.6 → 2.4.4-dev.00c279b.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/CallsSDK.d.ts CHANGED
@@ -37,7 +37,7 @@ import ConversationResponse from './types/ConversationResponse';
37
37
  import { ExternalId, ExternalIdType, ExternalParticipant } from './types/ExternalId';
38
38
  import IceServer from './types/IceServer';
39
39
  import MediaModifiers from './types/MediaModifiers';
40
- import { MediaSettings } from './types/MediaSettings';
40
+ import { IVideoDimentions, MediaSettings } from './types/MediaSettings';
41
41
  import MuteStates from './types/MuteStates';
42
42
  import { OkUserId, ParticipantStateMapped } from './types/Participant';
43
43
  import ParticipantLayout, { Layout, StopStream } from './types/ParticipantLayout';
@@ -291,8 +291,11 @@ export declare function toggleLocalAudio(enabled: boolean): Promise<void>;
291
291
  *
292
292
  * @param width
293
293
  * @param height
294
+ * @param params новые размеры видео эффекта
294
295
  */
295
- export declare function setLocalResolution(width: number, height: number): Promise<void>;
296
+ export declare function setLocalResolution(width: number, height: number, params?: {
297
+ effect: IVideoDimentions;
298
+ }): Promise<void>;
296
299
  /**
297
300
  * Изменяет качество отображаемых стримов - чем выше приоритет, тем лучше качество.
298
301
  * Не нужно передавать огромные числа - из приоритетов (0, 1, 2, 3) последний получит максимальное качество, а первый худшее.
@@ -445,7 +448,7 @@ export declare function addMovie(movieId: string): Promise<{
445
448
  * @param movieId
446
449
  * @param gain
447
450
  */
448
- export declare function updateMovie(movieId: string, gain?: number): Promise<void>;
451
+ export declare function updateMovie(movieId: string, gain?: number, offset?: string, pause?: boolean): Promise<void>;
449
452
  /**
450
453
  * Удалить видео/лайв из звонка
451
454
  *
@@ -505,5 +508,5 @@ export declare function promoteParticipant(externalId: ExternalId, demote?: bool
505
508
  * @param recordIds Идентификаторы записей истории
506
509
  */
507
510
  export declare function removeHistoryRecords(recordIds: number[]): Promise<void>;
508
- export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, HangupReasonData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, SignalingMessage, StatResult, StopStream, WaitingHallResponse, };
511
+ export type { AddParticipantParams, ConversationData, ConversationParams, ConversationResponse, ExternalId, ExternalParticipant, HangupReasonData, IceServer, JSONArray, JSONObject, JSONType, Layout, MediaModifiers, MediaSettings, MuteStates, OkUserId, ParamsObject, ParticipantLayout, ParticipantPriority, ParticipantStateMapped, ParticipantStreamDescription, SignalingMessage, StatResult, StopStream, WaitingHallResponse, IVideoDimentions, };
509
512
  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, Utils, };