@vkontakte/calls-sdk 2.8.6-dev.0b99b4e6.0 → 2.8.6-dev.148c03e5.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 +2 -2
- package/abstract/BaseSignaling.d.ts +0 -2
- package/calls-sdk.cjs.js +8 -8
- package/calls-sdk.esm.js +8 -8
- package/classes/Conversation.d.ts +1 -1
- package/classes/MediaSource.d.ts +0 -8
- package/classes/ProducerCommandSerializationService.d.ts +0 -2
- package/classes/transport/ServerTransport.d.ts +0 -5
- package/classes/transport/Transport.d.ts +0 -1
- package/default/ApiExternal.d.ts +3 -2
- package/default/Signaling.d.ts +0 -2
- package/enums/SignalingCommandType.d.ts +1 -2
- package/package.json +1 -1
- package/static/ApiTransport.d.ts +3 -2
- package/static/Params.d.ts +9 -9
- package/static/Utils.d.ts +1 -2
- package/static/WebRTCUtils.d.ts +0 -1
- package/types/Params.d.ts +1 -0
- package/types/Statistics.d.ts +4 -11
- package/types/VideoSettings.d.ts +0 -12
- package/static/SimulcastInfo.d.ts +0 -13
- package/types/ChangeSimulcast.d.ts +0 -6
- package/types/SimulcastInfo.d.ts +0 -10
package/CallsSDK.d.ts
CHANGED
|
@@ -47,7 +47,7 @@ import MediaModifiers from './types/MediaModifiers';
|
|
|
47
47
|
import { IVideoDimentions, MediaSettings } from './types/MediaSettings';
|
|
48
48
|
import { IAddMovieParams, IMovieMetaData, IMoviePreview, IOnRemoteMovieData, ISharedMovieInfo, ISharedMovieState, ISharedMovieStateResponse, ISharedMovieStoppedInfo, IUpdateMovieData } from './types/MovieShare';
|
|
49
49
|
import MuteStates, { IMuteParticipantInternalParams, IMuteParticipantParams } from './types/MuteStates';
|
|
50
|
-
import { IApiEnv } from './types/Params';
|
|
50
|
+
import { IAPIBaseUrl, IApiEnv } from './types/Params';
|
|
51
51
|
import { CompositeUserId, IGetParticipantsParameters, OkUserId, ParticipantId, ParticipantListMarker, ParticipantListMarkers, ParticipantListType, ParticipantsStateList, ParticipantStateMapped } from './types/Participant';
|
|
52
52
|
import ParticipantLayout, { Layout, RequestKeyFrame, StopStream } from './types/ParticipantLayout';
|
|
53
53
|
import { ParticipantListChunkParameters } from './types/ParticipantListChunk';
|
|
@@ -253,7 +253,7 @@ export declare function processPushInternal(conversationId: string, type?: UserT
|
|
|
253
253
|
*
|
|
254
254
|
* @param authToken Токен авторизации
|
|
255
255
|
*/
|
|
256
|
-
export declare function authorize(authToken?: string): Promise<void>;
|
|
256
|
+
export declare function authorize(authToken?: string, apiBaseUrl?: IAPIBaseUrl): Promise<void>;
|
|
257
257
|
/**
|
|
258
258
|
* Принять входящий звонок
|
|
259
259
|
*
|
|
@@ -20,7 +20,6 @@ import { CompositeUserId, ParticipantId } from '../types/Participant';
|
|
|
20
20
|
import { ParticipantLayout, RequestKeyFrame, StopStream } from '../types/ParticipantLayout';
|
|
21
21
|
import { ParticipantListChunkParameters } from '../types/ParticipantListChunk';
|
|
22
22
|
import SignalingMessage, { GetParticipantsSignalingResponse, GetRoomsSignalingResponse } from '../types/SignalingMessage';
|
|
23
|
-
import { ChangeSimulcast } from '../types/ChangeSimulcast';
|
|
24
23
|
import { IPublishStreamData, IRecordConfData, IStartStreamData, IStopStreamData } from '../types/Streams';
|
|
25
24
|
import { SharingStatReport } from '../classes/screenshare/SharingStatReport';
|
|
26
25
|
/**
|
|
@@ -100,7 +99,6 @@ export default abstract class BaseSignaling extends EventEmitter {
|
|
|
100
99
|
abstract updateMediaModifiers(mediaModifiers: MediaModifiers): Promise<SignalingMessage>;
|
|
101
100
|
abstract enableVideoSuspend(enabled: boolean): Promise<SignalingMessage>;
|
|
102
101
|
abstract enableVideoSuspendSuggest(enabled: boolean): Promise<SignalingMessage>;
|
|
103
|
-
abstract changeSimulcast(changeSimulcast: ChangeSimulcast): Promise<SignalingMessage>;
|
|
104
102
|
abstract changeOptions(changes: {
|
|
105
103
|
[key in ConversationOption]?: boolean;
|
|
106
104
|
}): Promise<SignalingMessage>;
|