@volcengine/react-native-live-pull 1.1.3-rc.1 → 1.2.0-rc.1

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.
Files changed (31) hide show
  1. package/android/build.gradle +2 -2
  2. package/android/src/main/java/com/volcengine/velive/rn/pull/ClassHelper.java +15 -0
  3. package/android/src/main/java/com/volcengine/velive/rn/pull/NativeVariableManager.java +1 -1
  4. package/android/src/main/java/com/volcengine/velive/rn/pull/VolcLiveModule.java +2 -0
  5. package/android/src/main/java/com/volcengine/velive/rn/pull/autogen/MethodSignature.java +66 -77
  6. package/android/src/main/java/com/volcengine/velive/rn/pull/pictureInpicture/FloatingWindowService.java +79 -15
  7. package/ios/VeLivePlayerMultiObserver.h +3 -2
  8. package/ios/VeLivePlayerMultiObserver.m +2 -2
  9. package/ios/include/react-native-velive-pull.modulemap +4 -0
  10. package/ios/pictureInpicture/PictureInPictureManager.h +21 -1
  11. package/ios/pictureInpicture/PictureInPictureManager.m +260 -141
  12. package/lib/commonjs/index.js +4455 -1648
  13. package/lib/module/index.js +4455 -1648
  14. package/lib/typescript/codegen/android/api.d.ts +18 -13
  15. package/lib/typescript/codegen/android/callback.d.ts +38 -1
  16. package/lib/typescript/codegen/android/errorcode.d.ts +58 -3
  17. package/lib/typescript/codegen/android/keytype.d.ts +168 -26
  18. package/lib/typescript/codegen/ios/api.d.ts +66 -54
  19. package/lib/typescript/codegen/ios/callback.d.ts +32 -5
  20. package/lib/typescript/codegen/ios/errorcode.d.ts +56 -2
  21. package/lib/typescript/codegen/ios/keytype.d.ts +261 -23
  22. package/lib/typescript/codegen/pack/api.d.ts +33 -27
  23. package/lib/typescript/codegen/pack/callback.d.ts +33 -9
  24. package/lib/typescript/codegen/pack/errorcode.d.ts +30 -5
  25. package/lib/typescript/codegen/pack/keytype.d.ts +209 -107
  26. package/lib/typescript/core/api.d.ts +13 -0
  27. package/lib/typescript/core/keytype.d.ts +18 -2
  28. package/package.json +1 -1
  29. package/react-native-velive-pull.podspec +12 -3
  30. package/ios/pictureInpicture/VeLivePictureInPictureController.h +0 -207
  31. package/ios/pictureInpicture/VeLivePictureInPictureController.m +0 -3393
@@ -1,6 +1,6 @@
1
1
  import * as $p_a from '../android/index';
2
2
  import * as $p_i from '../ios/index';
3
- import { VeLivePlayerResolution, VeLivePlayerFillMode, VeLivePlayerPixelFormat, VeLivePlayerVideoBufferType, VeLivePlayerRotation, VeLivePlayerMirror, VeLivePlayerLogLevel, VeLivePlayerConfiguration, VeLivePlayerStreamData } from './keytype';
3
+ import { VeLivePlayerResolution, VeLivePlayerFillMode, VeLivePlayerPixelFormat, VeLivePlayerVideoBufferType, VeLivePlayerAudioBufferType, VeLivePlayerRotation, VeLivePlayerMirror, VeLivePlayerLogLevel, VeLivePlayerConfiguration, VeLivePlayerStreamData } from './keytype';
4
4
  import { VeLivePlayerObserver } from './callback';
5
5
  import { Map, type String, List } from './types';
6
6
  import { ApplicationContext } from './external';
@@ -28,13 +28,6 @@ export declare class VeLivePlayer {
28
28
  */
29
29
 
30
30
  static setLogLevel(logLevel: VeLivePlayerLogLevel): void;
31
- /** {zh}
32
- * @platform ios
33
- * @brief 设置域名和服务器的 IP 地址映射关系。
34
- * @param hostIpMap 域名和服务器 IP 地址的映射关系列表。其中 `Map` 的 Key 是域名,Value 是 `List` 类型,表示该域名对应的服务器 IP 地址列表。
35
- */
36
-
37
- static ios_setHttpDNSHostIP(hostIpMap: $p_i.NSDictionary): void;
38
31
  constructor(context: ApplicationContext);
39
32
  constructor();
40
33
  protected _instance: any;
@@ -44,24 +37,24 @@ export declare class VeLivePlayer {
44
37
  * @brief 播放器的回调事件监听器。
45
38
  */
46
39
 
47
- get ios_observer(): $p_i.id<$p_i.VeLivePlayerObserver>;
48
- set ios_observer(value: $p_i.id<$p_i.VeLivePlayerObserver>);
40
+ get observer(): $p_i.id<$p_i.VeLivePlayerObserver>;
41
+ set observer(value: $p_i.id<$p_i.VeLivePlayerObserver>);
49
42
  /** {zh}
50
43
  * @platform ios
51
44
  * @detail keytype
52
45
  * @brief 获取播放器内部用于渲染视频画面的视图 view,调用本方法将 playerView 添加到应用的视图层级中,实现视频内容显示。
53
46
  */
54
47
 
55
- get ios_playerView(): $p_i.UIView;
56
- set ios_playerView(value: $p_i.UIView);
48
+ get playerView(): $p_i.UIView;
49
+ set playerView(value: $p_i.UIView);
57
50
  /** {zh}
58
51
  * @platform ios
59
52
  * @detail keytype
60
53
  * @brief 设置或获取播放器播放音量,默认值为 1.0。取值范围为 0.0~1.0。
61
54
  */
62
55
 
63
- get ios_volume(): $p_i.float;
64
- set ios_volume(value: $p_i.float);
56
+ get volume(): $p_i.float;
57
+ set volume(value: $p_i.float);
65
58
  protected __init(...args: any[]): void;
66
59
  protected __new_instance(...args: any[]): any;
67
60
  /** {zh}
@@ -78,11 +71,11 @@ export declare class VeLivePlayer {
78
71
  * @brief 切换播放的清晰度档位。
79
72
  * @notes - 需要在调用 [setPlayStreamData](#VeLivePlayer-setplaystreamdata) 设置多档位后,调用本方法切换播放器的清晰度档位。
80
73
  * - 调用本方法成功切换档位后,会触发清晰度档位变化 [onResolutionSwitch](188112#VeLivePlayerObserver-onresolutionswitch) 回调。
74
+ * @order 8
75
+ * @param resolution 设置清晰度的目标档位,详情请参见 [VeLivePlayerResolution](188115#VeLivePlayerResolution) 。
81
76
  * @return <br>
82
77
  * - true:成功;
83
78
  * - false:失败。
84
- * @order 8
85
- * @param resolution 设置清晰度的目标档位,详情请参见 [VeLivePlayerResolution](188115#VeLivePlayerResolution) 。
86
79
  *
87
80
  */
88
81
 
@@ -90,7 +83,8 @@ export declare class VeLivePlayer {
90
83
  /** {zh}
91
84
  * @detail api
92
85
  * @brief 初始化播放器,用于设置是否开启 SEI 消息、是否开启硬件解码和是否开启本地 DNS 预解析等配置信息。
93
- * @notes <br>需要在调用 [play](#VeLivePlayer-play) 开始播放之前,调用本方法进行播放器的初始化。
86
+ * @notes
87
+ * 需要在调用 [play](#VeLivePlayer-play) 开始播放之前,调用本方法进行播放器的初始化。
94
88
  * @order 1
95
89
  * @param config 播放器配置信息,详情请参见 VeLivePlayerConfiguration{@link #VeLivePlayerConfiguration}。
96
90
  *
@@ -123,8 +117,8 @@ export declare class VeLivePlayer {
123
117
  * @platform android
124
118
  * @detail api
125
119
  * @brief 使用 SurfaceView 播放视频时,通过设置 SurfaceHolder 对象完成视频图像的渲染和播放。
126
- * @notes <br>
127
- * 如果同时调用 setSurfaceHolder 和 setSurface{@link #setSurface} 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
120
+ * @notes
121
+ * 如果同时调用 setSurfaceHolder 和 [setSurface](#VeLivePlayer-setsurface) 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
128
122
  * @order 6
129
123
  * @param surfaceHolder SurfaceHolder 对象。
130
124
  *
@@ -135,8 +129,8 @@ export declare class VeLivePlayer {
135
129
  * @platform android
136
130
  * @detail api
137
131
  * @brief 使用 SurfaceView 或 TextureView 播放视频时,通过设置 Surface 对象完成视频图像的渲染和播放。
138
- * @notes <br>
139
- * 如果同时调用 setSurfaceHolder{@link #setSurfaceHolder} 和 setSurface 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
132
+ * @notes
133
+ * 如果同时调用 [setSurfaceHolder](#VeLivePlayer-setsurfaceholder) 和 setSurface 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
140
134
  * @order 7
141
135
  * @param surface surface 对象的类型。
142
136
  *
@@ -241,13 +235,15 @@ export declare class VeLivePlayer {
241
235
  * @brief 设置域名和服务器的 IP 地址映射关系。
242
236
  * @order 11
243
237
  * @param hostIpMap 域名和服务器 IP 地址的映射关系列表。其中 `Map` 的 Key 是域名,Value 是 `List` 类型,表示该域名对应的服务器 IP 地址列表。
238
+ * @notes - 使用 setUrlHostIP 对域名和 IP 地址进行映射时,需在初始化配置中关闭 DNS 预解析功能,即 [enableLiveDNS](188115#VeLivePlayerConfiguration-enablelivedns) 设置为 false。
239
+ * - 需要在调用 [play](#VeLivePlayer-play) 开始播放前,调用本方法设置域名和 IP 的映射。
244
240
  *
245
241
  */
246
242
 
247
243
  setUrlHostIP(hostIpMap: Map<String, List<String>>): void;
248
244
  /** {zh}
249
245
  * @detail api
250
- * @brief 设置播放器高级配置。高级配置包括离屏渲染设置、缓冲区最大时长、ABR 码率自适应算法类型等,如需了解详细信息,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076&FlowKey=owVvVTNjDkRmjctcsyNW)。
246
+ * @brief 设置播放器高级配置。高级配置包括离屏渲染设置、缓冲区最大时长、ABR 码率自适应算法类型等,如需了解详细信息,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
251
247
  * @order 12
252
248
  * @param key 高级配置的参数名。
253
249
  * @param value 参数对应的参数值。
@@ -292,9 +288,10 @@ export declare class VeLivePlayer {
292
288
  * @param enable 是否开启音频帧回调,默认值为 false。 <br>
293
289
  * - true:开启;
294
290
  * - false:关闭。
295
- * @param enableRendering 是否开启播放器渲染。默认值为 false。<br>
296
- * - true:开启;
297
- * - false:关闭。
291
+ * @param enableRendering 是否开启播放器渲染。默认值为 false。<br/>
292
+ * - true:开启;
293
+ * - false:关闭。
294
+ * @param bufferType 音频 buffer 类型,详情请参见 [VeLivePlayerAudioBufferType](188115#VeLivePlayerAudioBufferType)。
298
295
  * @notes <br>
299
296
  * - 您可以在使用外部渲染的场景下调用本方法,订阅音频帧的解码数据。
300
297
  * - 调用本方法后,会触发 onRenderAudioFrame{@link #VeLivePlayerObserver#onRenderAudioFrame} 回调,回调消息中包含每个音频帧的详细数据。
@@ -303,7 +300,7 @@ export declare class VeLivePlayer {
303
300
  *
304
301
  */
305
302
 
306
- enableAudioFrameObserver(enable: boolean, enableRendering: boolean): void;
303
+ enableAudioFrameObserver(enable: boolean, enableRendering: boolean, bufferType: VeLivePlayerAudioBufferType): void;
307
304
  /** {zh}
308
305
  * @detail api
309
306
  * @brief 设置视频顺时针旋转角度。
@@ -358,8 +355,17 @@ export declare class VeLivePlayer {
358
355
  /** {zh}
359
356
  * @platform ios
360
357
  * @brief 初始化特定类型的播放器。
361
- * @param type 播放器类型,详情请参见 [VeLivePlayerType](188118#VeLivePlayerType)。
358
+ * @param type 播放器类型,详情请参见 [VeLivePlayerType](188121#VeLivePlayerType)。
362
359
  */
363
360
 
364
361
  ios_initWithType(type: $p_i.VeLivePlayerType): this;
362
+ /** {zh}
363
+ * @platform ios
364
+ * @brief 检查播放器当前是否支持指定的分辨率档位。
365
+ * @param resolution 分辨率档位,详情请参见 [VeLivePlayerResolution](188121#VeLivePlayerResolution)。
366
+ * @return - 0:支持;
367
+ * - 其他:不支持。其他返回值详情请参见 [VeLivePlayerSupportResolutionSwitchError](188121#VeLivePlayerSupportResolutionSwitchError)。
368
+ */
369
+
370
+ ios_isSupportResolutionSwitch(resolution: $p_i.VeLivePlayerResolution): number;
365
371
  }
@@ -3,7 +3,7 @@ import * as $p_i from '../ios/index';
3
3
  import { VeLivePlayerResolution, VeLivePlayerResolutionSwitchReason, VeLivePlayerStreamType, VeLivePlayerStatus, VeLivePlayerStatistics, VeLivePlayerVideoFrame, VeLivePlayerAudioFrame } from './keytype';
4
4
  import { VeLivePlayer } from './api';
5
5
  import { VeLivePlayerError } from './errorcode';
6
- import { Bitmap } from './types';
6
+ import { Bitmap, int, BOOL, NSString } from './types';
7
7
  /** {zh}
8
8
  * @detail callback
9
9
  * @brief 播放器事件回调。
@@ -106,7 +106,7 @@ export interface VeLivePlayerObserver {
106
106
  onVideoSizeChanged?(player: VeLivePlayer, width: number, height: number): void;
107
107
  /** {zh}
108
108
  * @detail callback
109
- * @brief SEI 信息回调。当播放器 SDK 接收到 SEI 信息时,触发回调。
109
+ * @brief 字符串 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableSei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
110
110
  * @order 10
111
111
  * @param player 触发该事件回调的播放器对象。
112
112
  * @param message SEI 信息。
@@ -114,6 +114,16 @@ export interface VeLivePlayerObserver {
114
114
  */
115
115
 
116
116
  onReceiveSeiMessage?(player: VeLivePlayer, message: string): void;
117
+ /** {zh}
118
+ * @detail callback
119
+ * @brief 二级制 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableBinarySei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
120
+ * @order 10
121
+ * @param player 触发该事件回调的播放器对象。
122
+ * @param message SEI 信息。
123
+ *
124
+ */
125
+
126
+ onReceiveBinarySeiMessage?(player: VeLivePlayer, message: ArrayBuffer): void;
117
127
  /** {zh}
118
128
  * @detail callback
119
129
  * @brief 主备流切换回调。
@@ -189,6 +199,17 @@ export interface VeLivePlayerObserver {
189
199
  */
190
200
 
191
201
  onStreamFailedOpenSuperResolution?(player: VeLivePlayer, error: VeLivePlayerError): void;
202
+ /** {zh}
203
+ * @platform android
204
+ * @detail callback
205
+ * @brief 锐化开启失败。调用 setEnableSharpen{@link #VeLivePlayer#setEnableSharpen} 开启锐化后,当播放器不支持超分开启或者超分处理出错时,会触发此回调。
206
+ * @param player 触发该事件回调的播放器对象。
207
+ * @param error 锐化开启失败原因。错误码请参见 [VeLivePlayerErrorCode](188113#VeLivePlayerErrorCode)。
208
+ * @order 18
209
+ *
210
+ */
211
+
212
+ onStreamFailedOpenSharpen?(): void;
192
213
  }
193
214
  export declare class android_VeLivePlayerObserver extends $p_a.VeLivePlayerObserver {
194
215
  protected _instance: VeLivePlayerObserver;
@@ -198,11 +219,12 @@ export declare class android_VeLivePlayerObserver extends $p_a.VeLivePlayerObser
198
219
  onFirstAudioFrameRender(player: $p_a.VeLivePlayer, isFirstFrame: boolean): void;
199
220
  onStallStart(player: $p_a.VeLivePlayer): void;
200
221
  onStallEnd(player: $p_a.VeLivePlayer): void;
201
- onVideoRenderStall(player: $p_a.VeLivePlayer, stallTime: $p_a.long): void;
202
- onAudioRenderStall(player: $p_a.VeLivePlayer, stallTime: $p_a.long): void;
222
+ onVideoRenderStall(player: $p_a.VeLivePlayer, stallTime: int): void;
223
+ onAudioRenderStall(player: $p_a.VeLivePlayer, stallTime: int): void;
203
224
  onResolutionSwitch(player: $p_a.VeLivePlayer, resolution: $p_a.VeLivePlayerResolution, error: $p_a.VeLivePlayerError, reason: $p_a.VeLivePlayerResolutionSwitchReason): void;
204
- onVideoSizeChanged(player: $p_a.VeLivePlayer, width: $p_a.int, height: $p_a.int): void;
225
+ onVideoSizeChanged(player: $p_a.VeLivePlayer, width: int, height: int): void;
205
226
  onReceiveSeiMessage(player: $p_a.VeLivePlayer, message: string): void;
227
+ onReceiveBinarySeiMessage(player: $p_a.VeLivePlayer, message: ArrayBuffer): void;
206
228
  onMainBackupSwitch(player: $p_a.VeLivePlayer, streamType: $p_a.VeLivePlayerStreamType, error: $p_a.VeLivePlayerError): void;
207
229
  onPlayerStatusUpdate(player: $p_a.VeLivePlayer, status: $p_a.VeLivePlayerStatus): void;
208
230
  onStatistics(player: $p_a.VeLivePlayer, statistics: $p_a.VeLivePlayerStatistics): void;
@@ -210,20 +232,22 @@ export declare class android_VeLivePlayerObserver extends $p_a.VeLivePlayerObser
210
232
  onRenderVideoFrame(player: $p_a.VeLivePlayer, videoFrame: $p_a.VeLivePlayerVideoFrame): void;
211
233
  onRenderAudioFrame(player: $p_a.VeLivePlayer, audioFrame: $p_a.VeLivePlayerAudioFrame): void;
212
234
  onStreamFailedOpenSuperResolution(player: $p_a.VeLivePlayer, error: $p_a.VeLivePlayerError): void;
235
+ onStreamFailedOpenSharpen(player: $p_a.VeLivePlayer, error: $p_a.VeLivePlayerError): void;
213
236
  }
214
237
  export declare class ios_VeLivePlayerObserver extends $p_i.VeLivePlayerObserver {
215
238
  protected _instance: VeLivePlayerObserver;
216
239
  constructor(_instance: VeLivePlayerObserver);
217
240
  onError$error(player: $p_i.TVLManager, error: $p_i.VeLivePlayerError): void;
218
- onFirstVideoFrameRender$isFirstFrame(player: $p_i.TVLManager, isFirstFrame: $p_i.BOOL): void;
219
- onFirstAudioFrameRender$isFirstFrame(player: $p_i.TVLManager, isFirstFrame: $p_i.BOOL): void;
241
+ onFirstVideoFrameRender$isFirstFrame(player: $p_i.TVLManager, isFirstFrame: BOOL): void;
242
+ onFirstAudioFrameRender$isFirstFrame(player: $p_i.TVLManager, isFirstFrame: BOOL): void;
220
243
  onStallStart(player: $p_i.TVLManager): void;
221
244
  onStallEnd(player: $p_i.TVLManager): void;
222
245
  onVideoRenderStall$stallTime(player: $p_i.TVLManager, stallTime: $p_i.int64_t): void;
223
246
  onAudioRenderStall$stallTime(player: $p_i.TVLManager, stallTime: $p_i.int64_t): void;
224
247
  onResolutionSwitch$resolution$error$reason(player: $p_i.TVLManager, resolution: $p_i.VeLivePlayerResolution, error: $p_i.VeLivePlayerError, reason: $p_i.VeLivePlayerResolutionSwitchReason): void;
225
- onVideoSizeChanged$width$height(player: $p_i.TVLManager, width: $p_i.int, height: $p_i.int): void;
226
- onReceiveSeiMessage$message(player: $p_i.TVLManager, message: $p_i.NSString): void;
248
+ onVideoSizeChanged$width$height(player: $p_i.TVLManager, width: int, height: int): void;
249
+ onReceiveSeiMessage$message(player: $p_i.TVLManager, message: NSString): void;
250
+ onReceiveBinarySeiMessage$message(player: $p_i.TVLManager, message: $p_i.NSData): void;
227
251
  onMainBackupSwitch$streamType$error(player: $p_i.TVLManager, streamType: $p_i.VeLivePlayerStreamType, error: $p_i.VeLivePlayerError): void;
228
252
  onPlayerStatusUpdate$status(player: $p_i.TVLManager, status: $p_i.VeLivePlayerStatus): void;
229
253
  onStatistics$statistics(player: $p_i.TVLManager, statistics: $p_i.VeLivePlayerStatistics): void;
@@ -121,20 +121,38 @@ export declare enum VeLivePlayerErrorCode {
121
121
 
122
122
  VeLivePlayerErrorSRExecuteFail = -307,
123
123
  /** {zh}
124
- * @brief 您使用的基础版 License 暂不支持 H.265 硬件解码,请登录火山引擎[视频直播控制台](https://console.volcengine.com/live/main/sdk)获取高级版 License。
124
+ * @brief 您使用的基础版 License 暂不支持 H.265 硬件解码。
125
125
  *
126
126
  */
127
127
 
128
128
  VeLivePlayerLicenseUnsupportedH265 = -308,
129
+ /** {zh}
130
+ * @platform android
131
+ * @brief 该台设备系统版本不支持锐化能力;如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076&FlowKey=owVvVTNjDkRmjctcsyNW)。
132
+ *
133
+ */
134
+
135
+ VeLivePlayerErrorSharpenDeviceUnsupported = -309,
136
+ /** {zh}
137
+ * @brief 分辨率档位切换不支持;如果故障未排除,请联系火山引擎技术支持。
138
+ * @hidden (Android)
139
+ *
140
+ */
141
+
142
+ VeLivePlayerErrorNotSupportResolutionSwitch = -310,
129
143
  /** {zh}
130
144
  * @platform ios
131
145
  * @brief DRM 鉴权失败。
146
+ *
132
147
  */
148
+
133
149
  VeLivePlayerDRMFetchCKCFailed = -400,
134
150
  /** {zh}
135
151
  * @platform ios
136
152
  * @brief 服务器播放上下文(SPC)生成失败。
153
+ *
137
154
  */
155
+
138
156
  VeLivePlayerDRMFetchSPCFailed = -401,
139
157
  /** {zh}
140
158
  * @brief 内部错误。请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
@@ -161,10 +179,17 @@ export declare class VeLivePlayerError {
161
179
  */
162
180
 
163
181
  get errorMsg(): string;
182
+ /** {zh}
183
+ * @platform android
184
+ * @brief 直播播放子错误码。
185
+ *
186
+ */
187
+
188
+ get mSubCode(): number;
164
189
  }
165
190
  export declare class t_VeLivePlayerErrorCode {
166
- static ts_to_android(value: VeLivePlayerErrorCode): $p_a.VeLivePlayerErrorCode;
167
- static android_to_ts(value: $p_a.VeLivePlayerErrorCode): VeLivePlayerErrorCode;
168
- static ts_to_ios(value: VeLivePlayerErrorCode): $p_i.VeLivePlayerErrorCode;
169
- static ios_to_ts(value: $p_i.VeLivePlayerErrorCode): VeLivePlayerErrorCode;
191
+ static code_to_android(value: VeLivePlayerErrorCode): $p_a.VeLivePlayerErrorCode;
192
+ static android_to_code(value: $p_a.VeLivePlayerErrorCode): VeLivePlayerErrorCode;
193
+ static code_to_ios(value: VeLivePlayerErrorCode): $p_i.VeLivePlayerErrorCode;
194
+ static ios_to_code(value: $p_i.VeLivePlayerErrorCode): VeLivePlayerErrorCode;
170
195
  }