@xylink/xy-rtc-sdk 4.0.4 → 4.0.6
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/action/ability.d.ts +0 -1
- package/action/api.d.ts +15 -1
- package/action/auth.d.ts +3 -4
- package/action/base.d.ts +2 -3
- package/action/config.d.ts +2 -3
- package/action/control.d.ts +3 -4
- package/action/enterprise.d.ts +4 -5
- package/action/http.d.ts +2 -3
- package/action/index.d.ts +9 -10
- package/action/index.type.d.ts +0 -1
- package/action/log.d.ts +1 -2
- package/action/meeting.d.ts +17 -4
- package/enum/client.d.ts +0 -1
- package/enum/constraints.d.ts +0 -1
- package/enum/errorCode/server.d.ts +0 -1
- package/enum/errorCode/signal.d.ts +0 -1
- package/enum/index.d.ts +0 -1
- package/enum/meeting.d.ts +0 -1
- package/enum/polling.d.ts +0 -1
- package/export/tools.d.ts +0 -1
- package/feature/artboard/index.d.ts +3 -4
- package/feature/audioPCM/index.d.ts +2 -3
- package/feature/contentPreserver/index.d.ts +1 -2
- package/feature/customMessage/index.d.ts +1 -2
- package/feature/edu/index.d.ts +1 -2
- package/feature/edu/index.type.d.ts +0 -1
- package/feature/im/index.d.ts +2 -3
- package/feature/query/index.d.ts +2 -3
- package/feature/speaker/index.d.ts +2 -3
- package/feature/speaker/index.type.d.ts +0 -1
- package/feature/translation/index.d.ts +34 -0
- package/feature/vep/index.d.ts +56 -0
- package/feature/vep/index.type.d.ts +139 -0
- package/index.d.ts +8 -9
- package/interface/clientInterface.type.d.ts +6 -7
- package/interface/contentTrackInterface.type.d.ts +0 -1
- package/interface/extension.type.d.ts +0 -1
- package/interface/processor.type.d.ts +0 -1
- package/interface/videoAudioTrackInterface.type.d.ts +1 -2
- package/main/ability/const.d.ts +0 -1
- package/main/ability/index.d.ts +1 -2
- package/main/auth/index.d.ts +2 -3
- package/main/auth/index.type.d.ts +0 -1
- package/main/auth/rule.d.ts +0 -1
- package/main/client/clientBase.d.ts +2 -3
- package/main/client/clientState.d.ts +1 -2
- package/main/client/index.d.ts +54 -30
- package/main/client/rule.d.ts +0 -1
- package/main/device/index.d.ts +2 -3
- package/main/helper/i18n.d.ts +0 -1
- package/main/helper/index.d.ts +1 -2
- package/main/layout/index.d.ts +4 -5
- package/main/layout/index.type.d.ts +2 -3
- package/main/layout/polling.d.ts +2 -3
- package/main/layout/state.d.ts +3 -4
- package/main/layout/template/index.d.ts +0 -1
- package/main/layout/template/manager.d.ts +0 -1
- package/main/layout/template/mobile.d.ts +0 -1
- package/main/layout/template/polling.d.ts +0 -1
- package/main/media/index.d.ts +4 -5
- package/main/media/index.type.d.ts +0 -1
- package/main/meeting/control.d.ts +1 -2
- package/main/meeting/control.type.d.ts +0 -1
- package/main/meeting/index.d.ts +8 -3
- package/main/meeting/rule.d.ts +0 -1
- package/main/meeting/verify.d.ts +1 -2
- package/main/peer/index.d.ts +5 -6
- package/main/peer/index.type.d.ts +0 -1
- package/main/peer/state.d.ts +0 -1
- package/main/plugin/audioPCM/index.d.ts +3 -4
- package/main/plugin/audioPCM/processor.d.ts +3 -4
- package/main/plugin/contentPreserver/index.d.ts +2 -3
- package/main/plugin/contentPreserver/processor.d.ts +2 -3
- package/main/plugin/index.d.ts +1 -2
- package/main/quality/index.d.ts +0 -1
- package/main/quality/report.d.ts +1 -2
- package/main/render/audioManager.d.ts +2 -3
- package/main/render/index.d.ts +2 -3
- package/main/render/index.type.d.ts +1 -2
- package/main/render/videoManager.d.ts +1 -2
- package/main/roster/index.d.ts +41 -2
- package/main/server/index.d.ts +3 -4
- package/main/signal/index.d.ts +1 -2
- package/main/socket/index.d.ts +2 -3
- package/main/stream/index.d.ts +7 -8
- package/main/track/baseTrack.d.ts +4 -5
- package/main/track/contentTrack.d.ts +4 -5
- package/main/track/customContentTrack.d.ts +2 -3
- package/main/track/customVideoAudioTrack.d.ts +2 -3
- package/main/track/videoAudioCapture.d.ts +1 -2
- package/main/track/videoAudioTrack.d.ts +5 -6
- package/main/vom/config.d.ts +0 -1
- package/main/vom/index.d.ts +1 -2
- package/package.json +1 -1
- package/tools/analyser/index.d.ts +0 -1
- package/tools/analyser/manager.d.ts +1 -2
- package/tools/config.d.ts +0 -1
- package/tools/log/db.d.ts +0 -1
- package/tools/log/logger.d.ts +0 -1
- package/tools/log/loggerManager.d.ts +1 -2
- package/tools/socket/socket.d.ts +2 -3
- package/tools/socket/socketManager.d.ts +2 -3
- package/tools/utils.d.ts +0 -1
- package/type/ability.d.ts +3 -1
- package/type/analyser.d.ts +0 -1
- package/type/capture.d.ts +0 -1
- package/type/client.d.ts +6 -47
- package/type/index.d.ts +1 -0
- package/type/layout.d.ts +1 -2
- package/type/meeting.d.ts +4 -5
- package/type/quality.d.ts +1 -2
- package/type/stream.d.ts +3 -4
- package/type/subtitle.d.ts +86 -0
- package/type/track.d.ts +0 -1
- package/xyrtc.js +3549 -4468
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { XYEmitter } from '@xylink/xy-toolkit';
|
|
2
|
-
import { default as Peer } from '../peer/index';
|
|
3
|
-
import { CaptureStatus, IEnableStreamConfig, IReturnResult, IStreamChangeType, IStreamConfig, StreamKind, XYDeviceEventKey, XYTrackEventKey } from '../../type/index';
|
|
4
|
-
import { default as Logger } from '../../tools/log/logger';
|
|
5
1
|
import { default as Stream } from '../stream';
|
|
6
|
-
|
|
2
|
+
import { default as Logger } from '../../tools/log/logger';
|
|
3
|
+
import { CaptureStatus, IEnableStreamConfig, IReturnResult, IStreamChangeType, IStreamConfig, StreamKind, XYDeviceEventKey, XYTrackEventKey } from '../../type/index';
|
|
4
|
+
import { default as Peer } from '../peer/index';
|
|
5
|
+
import { XYEmitter } from '@xylink/xy-toolkit';
|
|
7
6
|
declare class BaseTrack extends XYEmitter<XYDeviceEventKey | XYTrackEventKey | string> {
|
|
8
7
|
streamInstance: Stream;
|
|
9
8
|
logger: Logger;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { XYProcessorIF } from '../../interface/processor.type';
|
|
2
|
-
import { default as Peer } from '../peer/index';
|
|
3
|
-
import { default as BaseTrack } from './baseTrack';
|
|
4
|
-
import { default as Stream } from '../stream';
|
|
5
1
|
import { ContentTrackConfig, IReturnResult, XYElectronSource, IStreamChangeType, ShareContentStatus, TrackLibType, XYContentTrackIF, IVideoProcessTrack } from '../../type/index';
|
|
6
|
-
|
|
2
|
+
import { default as Stream } from '../stream';
|
|
3
|
+
import { default as BaseTrack } from './baseTrack';
|
|
4
|
+
import { default as Peer } from '../peer/index';
|
|
5
|
+
import { XYProcessorIF } from '../../interface/processor.type';
|
|
7
6
|
declare class ContentTrack extends BaseTrack implements XYContentTrackIF {
|
|
8
7
|
private trackType;
|
|
9
8
|
private baseTrackConfig;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as BaseTrack } from './baseTrack';
|
|
2
|
-
import { default as Stream } from '../stream';
|
|
3
1
|
import { TrackLibType } from '../../type/index';
|
|
4
|
-
|
|
2
|
+
import { default as Stream } from '../stream';
|
|
3
|
+
import { default as BaseTrack } from './baseTrack';
|
|
5
4
|
declare class CustomContentTrack extends BaseTrack {
|
|
6
5
|
private trackType;
|
|
7
6
|
constructor(streamInstance: Stream);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as BaseTrack } from './baseTrack';
|
|
2
|
-
import { default as Stream } from '../stream';
|
|
3
1
|
import { TrackLibType } from '../../type/index';
|
|
4
|
-
|
|
2
|
+
import { default as Stream } from '../stream';
|
|
3
|
+
import { default as BaseTrack } from './baseTrack';
|
|
5
4
|
declare class CustomVideoAudioTrack extends BaseTrack {
|
|
6
5
|
private trackType;
|
|
7
6
|
constructor(streamInstance: Stream);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { default as VideoAudioTrack } from './videoAudioTrack';
|
|
2
1
|
import { CaptureStatus, IEnableStreamConfig, IEnabledCapture, IStreamCurrent } from '../../type/index';
|
|
3
|
-
|
|
2
|
+
import { default as VideoAudioTrack } from './videoAudioTrack';
|
|
4
3
|
declare class videoAudioCapture {
|
|
5
4
|
private enabledCapture;
|
|
6
5
|
private track;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { XYProcessorIF } from '../../interface/processor.type';
|
|
2
|
-
import { default as DeviceManager } from '../device/index';
|
|
3
|
-
import { default as Peer } from '../peer/index';
|
|
4
|
-
import { default as BaseTrack } from './baseTrack';
|
|
5
|
-
import { default as Stream } from '../stream';
|
|
6
1
|
import { CaptureStatus, DEVICE_KIND, FacingMode, IFacingMode, IStreamChangeType, IStreamConfig, OperateType, StreamKind, SwitchDeviceConfig, TrackLibType, AnalyserNode, PeopleTrackConfig, IReturnResult, XYVideoAudioTrackIF } from '../../type/index';
|
|
7
|
-
|
|
2
|
+
import { default as Stream } from '../stream';
|
|
3
|
+
import { default as BaseTrack } from './baseTrack';
|
|
4
|
+
import { default as Peer } from '../peer/index';
|
|
5
|
+
import { default as DeviceManager } from '../device/index';
|
|
6
|
+
import { XYProcessorIF } from '../../interface/processor.type';
|
|
8
7
|
declare class VideoAudioTrack extends BaseTrack implements XYVideoAudioTrackIF {
|
|
9
8
|
deviceManager: DeviceManager;
|
|
10
9
|
private audioMediaStream;
|
package/main/vom/config.d.ts
CHANGED
package/main/vom/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { IStreamChangeListType, IStreamChangeType } from '../../type/index';
|
|
2
1
|
import { default as XYRTCClient } from '../client';
|
|
3
|
-
|
|
2
|
+
import { IStreamChangeListType, IStreamChangeType } from '../../type/index';
|
|
4
3
|
export declare class VOM {
|
|
5
4
|
protected clientInstance: XYRTCClient;
|
|
6
5
|
private streamChange;
|
package/package.json
CHANGED
package/tools/config.d.ts
CHANGED
package/tools/log/db.d.ts
CHANGED
package/tools/log/logger.d.ts
CHANGED
package/tools/socket/socket.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { SocketOptions, XYSocketEventKey } from '../../type/index';
|
|
2
|
-
import { XYEmitter } from '@xylink/xy-toolkit';
|
|
3
1
|
import { default as Logger } from '../log/logger';
|
|
4
|
-
|
|
2
|
+
import { XYEmitter } from '@xylink/xy-toolkit';
|
|
3
|
+
import { SocketOptions, XYSocketEventKey } from '../../type/index';
|
|
5
4
|
export declare class Socket extends XYEmitter<XYSocketEventKey> {
|
|
6
5
|
socket: WebSocket;
|
|
7
6
|
private options;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { default as Logger } from '../log/logger';
|
|
2
|
-
import { Socket } from './socket';
|
|
3
1
|
import { SocketOptions } from '../../type/socket';
|
|
4
|
-
|
|
2
|
+
import { Socket } from './socket';
|
|
3
|
+
import { default as Logger } from '../log/logger';
|
|
5
4
|
export declare class SocketManager {
|
|
6
5
|
private sockets;
|
|
7
6
|
constructor();
|
package/tools/utils.d.ts
CHANGED
package/type/ability.d.ts
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
* @param { string } USE_SEC_API - 终端是否要使用uss新接口
|
|
5
5
|
* @param { string } MEETING_SHARE_NEW_PAGE_API - 会议邀请漏洞修复使用新page API
|
|
6
6
|
* @param { string } CHANGE_SEC_API - 终端录制接口整改为安全接口
|
|
7
|
+
* @param { string } TRANSCRIPTION_API - 录制与转写分离,开启、关闭字幕使用新的接口
|
|
7
8
|
*/
|
|
8
9
|
export declare enum AbilityKey {
|
|
9
10
|
USE_SEC_API = "use_sec_api",
|
|
10
11
|
MEETING_SHARE_NEW_PAGE_API = "meeting_share_new_page_api",
|
|
11
|
-
CHANGE_SEC_API = "hvv_240329"
|
|
12
|
+
CHANGE_SEC_API = "hvv_240329",
|
|
13
|
+
TRANSCRIPTION_API = "transcription_250627"
|
|
12
14
|
}
|
|
13
15
|
/**
|
|
14
16
|
* 能力集
|
package/type/analyser.d.ts
CHANGED
package/type/capture.d.ts
CHANGED
package/type/client.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { ILayout, IRoster } from './index';
|
|
2
|
-
import { ContentTemplateMode, TemplateMode, ChairManReason } from './layout';
|
|
3
|
-
import { ConferenceProperties, ICloudRoomConfig, WatermarkRange, WatermarkStatus } from './meeting';
|
|
4
|
-
import { SupportLocalLanguages } from '../enum/index';
|
|
5
|
-
import { IInternals, StreamFrameRate, StreamResolution, StreamResolutionLevel, VideoQuality } from './stream';
|
|
6
1
|
import { IToken } from './base';
|
|
7
|
-
|
|
2
|
+
import { IInternals, StreamFrameRate, StreamResolution, StreamResolutionLevel, VideoQuality } from './stream';
|
|
3
|
+
import { SupportLocalLanguages } from '../enum/index';
|
|
4
|
+
import { ConferenceProperties, ICloudRoomConfig, WatermarkRange, WatermarkStatus } from './meeting';
|
|
5
|
+
import { ContentTemplateMode, TemplateMode, ChairManReason } from './layout';
|
|
6
|
+
import { ILayout, IRoster } from './index';
|
|
8
7
|
/**
|
|
9
8
|
* 向Client推送流类型
|
|
10
9
|
*
|
|
@@ -501,7 +500,7 @@ export interface XYMeetingControl {
|
|
|
501
500
|
* @property { string } meetingId - 当前会议ID
|
|
502
501
|
* @property { string } config - 会议室配置
|
|
503
502
|
* @property { string } displayConfig - 可见性配置
|
|
504
|
-
* @property { string } mpvc -
|
|
503
|
+
* @property { string } mpvc - 点对点和多点的临时会议室号(多点是几个终端呼起来的,没有真正的会议室号),有些场景会控需要。
|
|
505
504
|
* @property { XYMeetingControl } meetingControl - 会控信息
|
|
506
505
|
*/
|
|
507
506
|
export interface IConferenceInfo extends Partial<ConferenceProperties> {
|
|
@@ -830,46 +829,6 @@ export interface ICustomStreamTrack {
|
|
|
830
829
|
track: MediaStreamTrack;
|
|
831
830
|
};
|
|
832
831
|
}
|
|
833
|
-
/**
|
|
834
|
-
* 字幕消息
|
|
835
|
-
*
|
|
836
|
-
* @property { number } callIndex - 消息序列号
|
|
837
|
-
* @property { string } content - 字幕规则
|
|
838
|
-
* @property { string } type - 字幕类型
|
|
839
|
-
*/
|
|
840
|
-
export interface ISubTitle {
|
|
841
|
-
callIndex: number;
|
|
842
|
-
content: string;
|
|
843
|
-
type: string;
|
|
844
|
-
}
|
|
845
|
-
/**
|
|
846
|
-
* 字幕消息内容,包含内容、字体、背景等
|
|
847
|
-
*
|
|
848
|
-
* @property { string } content - 字幕内容
|
|
849
|
-
* @property { string? } i18nKey - 字幕内容国际化语言key
|
|
850
|
-
* @property { string? } fontFamily - 字体
|
|
851
|
-
* @property { string? } fontRGB - 字体色
|
|
852
|
-
* @property { "1" | "0" } scroll - 是否滚动,"1"代表滚动字幕,"0"代表固定字幕
|
|
853
|
-
* @property { "push" | "cancel" | string } action - 动作,"push"代表显示字幕;"cancel"代表取消字幕
|
|
854
|
-
* @property { string? } location - 位置'top' | 'middle' | 'bottom',分别代表上、中、下位置
|
|
855
|
-
* @property { string? } fontSize - 位置'small' | 'middle' | 'big',分别代表小、中、大号字体
|
|
856
|
-
* @property { string? } backgroundAlpha - 背景色
|
|
857
|
-
* @property { string? } scrollSpeed - 滚动速度
|
|
858
|
-
* @property { string? } backgroundRGB - 背景色
|
|
859
|
-
*/
|
|
860
|
-
export interface ISubTitleContent {
|
|
861
|
-
content: string;
|
|
862
|
-
i18nKey?: string;
|
|
863
|
-
fontFamily?: string;
|
|
864
|
-
fontRGB?: string;
|
|
865
|
-
scroll?: '1' | '0';
|
|
866
|
-
action?: 'push' | 'cancel' | string;
|
|
867
|
-
location?: 'top' | 'middle' | 'bottom';
|
|
868
|
-
fontSize?: 'small' | 'middle' | 'big';
|
|
869
|
-
backgroundAlpha?: string;
|
|
870
|
-
scrollSpeed?: string;
|
|
871
|
-
backgroundRGB?: string;
|
|
872
|
-
}
|
|
873
832
|
/**
|
|
874
833
|
* 通话字幕-本地支持的语言
|
|
875
834
|
*/
|
package/type/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './capture';
|
|
|
21
21
|
export * from './auth';
|
|
22
22
|
export * from './polling';
|
|
23
23
|
export * from './socket';
|
|
24
|
+
export * from './subtitle';
|
|
24
25
|
export * from '../main/meeting/control.type';
|
|
25
26
|
export * from '../main/meeting/verify.type';
|
|
26
27
|
export * from '../main/server/index.type';
|
package/type/layout.d.ts
CHANGED
package/type/meeting.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { StreamFrameRate, StreamResolution } from './stream';
|
|
2
|
-
import { ILoginInfo } from './client';
|
|
3
1
|
import { LayoutAvatarType } from './index';
|
|
4
|
-
|
|
2
|
+
import { ILoginInfo } from './client';
|
|
3
|
+
import { StreamFrameRate, StreamResolution } from './stream';
|
|
5
4
|
/**
|
|
6
5
|
* 水印范围
|
|
7
6
|
*
|
|
@@ -343,8 +342,8 @@ export interface ConferenceProperties {
|
|
|
343
342
|
/**
|
|
344
343
|
* 会议室通用配置
|
|
345
344
|
*
|
|
346
|
-
* @property { string } displayNum -
|
|
347
|
-
* @property { string } mpvc -
|
|
345
|
+
* @property { string } displayNum - 显示云会议室号码, 点对点显示不使用此值,直接显示呼叫的号码
|
|
346
|
+
* @property { string } mpvc - 点对点和多点的临时会议室号(多点是几个终端呼起来的,没有真正的会议室号),有些场景如会控需要。
|
|
348
347
|
* @property { string } confAuxProperties - 云会议室属性配置
|
|
349
348
|
* @property { IWaitingRoomProps } waitingRoomProps - 等候室属性配置
|
|
350
349
|
*/
|
package/type/quality.d.ts
CHANGED
package/type/stream.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { XYDisplaySurface } from './track';
|
|
2
|
-
import { ContentMode } from './client';
|
|
3
|
-
import { IReturnResult } from './base';
|
|
4
1
|
import { FACING_MODE_LIST } from '../enum/index';
|
|
5
|
-
|
|
2
|
+
import { IReturnResult } from './base';
|
|
3
|
+
import { ContentMode } from './client';
|
|
4
|
+
import { XYDisplaySurface } from './track';
|
|
6
5
|
/**
|
|
7
6
|
* 设备类型枚举列表
|
|
8
7
|
*
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 字幕消息
|
|
3
|
+
*
|
|
4
|
+
* @property { number } callIndex - 消息序列号
|
|
5
|
+
* @property { string } content - 字幕规则
|
|
6
|
+
* @property { string } type - 字幕类型
|
|
7
|
+
*/
|
|
8
|
+
export interface ISubTitle {
|
|
9
|
+
callIndex: number;
|
|
10
|
+
content: string;
|
|
11
|
+
type: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 字幕消息内容,包含内容、字体、背景等
|
|
15
|
+
*
|
|
16
|
+
* @property { string } content - 字幕内容
|
|
17
|
+
* @property { string? } i18nKey - 字幕内容国际化语言key
|
|
18
|
+
* @property { string? } fontFamily - 字体
|
|
19
|
+
* @property { string? } fontRGB - 字体色
|
|
20
|
+
* @property { XYSubTitleScroll } scroll - 是否滚动,"1"代表滚动字幕,"0"代表固定字幕
|
|
21
|
+
* @property { XYSubTitleAction } action - 动作,"push"代表显示字幕;"cancel"代表取消字幕
|
|
22
|
+
* @property { XYSubTitleLocation } location - 位置'top' | 'middle' | 'bottom',分别代表上、中、下位置
|
|
23
|
+
* @property { XYSubTitleFontSize } fontSize - 位置'small' | 'middle' | 'big',分别代表小、中、大号字体
|
|
24
|
+
* @property { string? } backgroundAlpha - 背景色
|
|
25
|
+
* @property { string? } scrollSpeed - 滚动速度, 忽略
|
|
26
|
+
* @property { string? } backgroundRGB - 背景色
|
|
27
|
+
* @property { number? } scrollSpeedLevel - 滚动速度等级, 1-15,默认是3
|
|
28
|
+
*/
|
|
29
|
+
export interface ISubTitleContent {
|
|
30
|
+
content: string;
|
|
31
|
+
i18nKey?: string;
|
|
32
|
+
fontFamily?: string;
|
|
33
|
+
fontRGB?: string;
|
|
34
|
+
scroll?: XYSubTitleScroll;
|
|
35
|
+
action?: XYSubTitleAction;
|
|
36
|
+
location?: XYSubTitleLocation;
|
|
37
|
+
fontSize?: XYSubTitleFontSize;
|
|
38
|
+
backgroundAlpha?: string;
|
|
39
|
+
scrollSpeed?: string;
|
|
40
|
+
backgroundRGB?: string;
|
|
41
|
+
scrollSpeedLevel?: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* 字幕滚动状态
|
|
45
|
+
*
|
|
46
|
+
* @param FIXED - 固定字幕
|
|
47
|
+
* @param SCROLL - 滚动字幕
|
|
48
|
+
*/
|
|
49
|
+
export declare enum XYSubTitleScroll {
|
|
50
|
+
FIXED = "0",
|
|
51
|
+
SCROLL = "1"
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 字幕动作
|
|
55
|
+
*
|
|
56
|
+
* @param PUSH - 显示字幕
|
|
57
|
+
* @param CANCEL - 取消字幕
|
|
58
|
+
*/
|
|
59
|
+
export declare enum XYSubTitleAction {
|
|
60
|
+
PUSH = "push",
|
|
61
|
+
CANCEL = "cancel"
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* 字幕位置
|
|
65
|
+
*
|
|
66
|
+
* @param TOP - 顶部
|
|
67
|
+
* @param MIDDLE - 中间
|
|
68
|
+
* @param BOTTOM - 底部
|
|
69
|
+
*/
|
|
70
|
+
export declare enum XYSubTitleLocation {
|
|
71
|
+
TOP = "top",
|
|
72
|
+
MIDDLE = "middle",
|
|
73
|
+
BOTTOM = "bottom"
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* 字幕字体大小
|
|
77
|
+
*
|
|
78
|
+
* @param SMALL - 小号
|
|
79
|
+
* @param MIDDLE - 中号
|
|
80
|
+
* @param BIG - 大号
|
|
81
|
+
*/
|
|
82
|
+
export declare enum XYSubTitleFontSize {
|
|
83
|
+
SMALL = "small",
|
|
84
|
+
MIDDLE = "middle",
|
|
85
|
+
BIG = "big"
|
|
86
|
+
}
|