@byteplus/react-native-live-pull 1.5.1-rc.3 → 1.5.2-rc.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.
Files changed (66) hide show
  1. package/ios/VeLivePullView.m +12 -21
  2. package/lib/commonjs/index.js +2 -2
  3. package/lib/module/index.js +2 -2
  4. package/lib/typescript/codegen/android/api.d.ts +27 -257
  5. package/lib/typescript/codegen/android/callback.d.ts +19 -162
  6. package/lib/typescript/codegen/android/errorcode.d.ts +28 -115
  7. package/lib/typescript/codegen/android/keytype.d.ts +113 -482
  8. package/lib/typescript/codegen/ios/api.d.ts +29 -225
  9. package/lib/typescript/codegen/ios/callback.d.ts +18 -134
  10. package/lib/typescript/codegen/ios/errorcode.d.ts +26 -102
  11. package/lib/typescript/codegen/ios/keytype.d.ts +113 -424
  12. package/lib/typescript/codegen/pack/api.d.ts +33 -291
  13. package/lib/typescript/codegen/pack/callback.d.ts +20 -167
  14. package/lib/typescript/codegen/pack/errorcode.d.ts +30 -126
  15. package/lib/typescript/codegen/pack/keytype.d.ts +130 -582
  16. package/lib/typescript/core/keytype.d.ts +4 -16
  17. package/package.json +1 -1
  18. package/android/bin/build/generated/res/pngs/debug/drawable-anydpi-v24/new_window.xml +0 -16
  19. package/android/bin/build/generated/res/pngs/debug/drawable-hdpi/new_window.png +0 -0
  20. package/android/bin/build/generated/res/pngs/debug/drawable-ldpi/new_window.png +0 -0
  21. package/android/bin/build/generated/res/pngs/debug/drawable-mdpi/new_window.png +0 -0
  22. package/android/bin/build/generated/res/pngs/debug/drawable-xhdpi/new_window.png +0 -0
  23. package/android/bin/build/generated/res/pngs/debug/drawable-xxhdpi/new_window.png +0 -0
  24. package/android/bin/build/generated/res/pngs/debug/drawable-xxxhdpi/new_window.png +0 -0
  25. package/android/bin/build/generated/source/buildConfig/debug/com/volcengine/velive/rn/pull/BuildConfig.class +0 -0
  26. package/android/bin/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/AndroidManifest.xml +0 -25
  27. package/android/bin/build/intermediates/aapt_friendly_merged_manifests/debug/aapt/output-metadata.json +0 -18
  28. package/android/bin/build/intermediates/aar_metadata/debug/aar-metadata.properties +0 -5
  29. package/android/bin/build/intermediates/annotation_processor_list/debug/annotationProcessors.json +0 -1
  30. package/android/bin/build/intermediates/compile_library_classes_jar/debug/classes.jar +0 -0
  31. package/android/bin/build/intermediates/compile_r_class_jar/debug/R.jar +0 -0
  32. package/android/bin/build/intermediates/compile_symbol_list/debug/R.txt +0 -6
  33. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-anydpi-v24_new_window.xml.flat +0 -0
  34. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-hdpi-v4_new_window.png.flat +0 -0
  35. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-ldpi-v4_new_window.png.flat +0 -0
  36. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-mdpi-v4_new_window.png.flat +0 -0
  37. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-xhdpi-v4_new_window.png.flat +0 -0
  38. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-xxhdpi-v4_new_window.png.flat +0 -0
  39. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable-xxxhdpi-v4_new_window.png.flat +0 -0
  40. package/android/bin/build/intermediates/compiled_local_resources/debug/out/drawable_button_close.xml.flat +0 -0
  41. package/android/bin/build/intermediates/compiled_local_resources/debug/out/layout_floating_window_layout.xml.flat +0 -0
  42. package/android/bin/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -10
  43. package/android/bin/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  44. package/android/bin/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  45. package/android/bin/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  46. package/android/bin/build/intermediates/incremental/packageDebugAssets/merger.xml +0 -2
  47. package/android/bin/build/intermediates/local_only_symbol_list/debug/R-def.txt +0 -8
  48. package/android/bin/build/intermediates/manifest_merge_blame_file/debug/manifest-merger-blame-debug-report.txt +0 -44
  49. package/android/bin/build/intermediates/merged_manifest/debug/AndroidManifest.xml +0 -25
  50. package/android/bin/build/intermediates/navigation_json/debug/navigation.json +0 -1
  51. package/android/bin/build/intermediates/packaged_res/debug/drawable/button_close.xml +0 -9
  52. package/android/bin/build/intermediates/packaged_res/debug/drawable-anydpi-v24/new_window.xml +0 -16
  53. package/android/bin/build/intermediates/packaged_res/debug/drawable-hdpi-v4/new_window.png +0 -0
  54. package/android/bin/build/intermediates/packaged_res/debug/drawable-ldpi-v4/new_window.png +0 -0
  55. package/android/bin/build/intermediates/packaged_res/debug/drawable-mdpi-v4/new_window.png +0 -0
  56. package/android/bin/build/intermediates/packaged_res/debug/drawable-xhdpi-v4/new_window.png +0 -0
  57. package/android/bin/build/intermediates/packaged_res/debug/drawable-xxhdpi-v4/new_window.png +0 -0
  58. package/android/bin/build/intermediates/packaged_res/debug/drawable-xxxhdpi-v4/new_window.png +0 -0
  59. package/android/bin/build/intermediates/packaged_res/debug/layout/floating_window_layout.xml +0 -29
  60. package/android/bin/build/intermediates/runtime_library_classes_jar/debug/classes.jar +0 -0
  61. package/android/bin/build/intermediates/symbol_list_with_package_name/debug/package-aware-r.txt +0 -7
  62. package/android/bin/build/outputs/logs/manifest-merger-debug-report.txt +0 -54
  63. package/android/bin/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  64. package/lib/typescript/core/logger.d.ts +0 -1
  65. package/lib/typescript/platforms/android/AppLogWrapper.d.ts +0 -8
  66. package/lib/typescript/platforms/ios/RangersAppLog.d.ts +0 -4
@@ -3,14 +3,7 @@ import { VeLivePlayerError } from './errorcode';
3
3
  import { long, int, String, Bitmap } from './types';
4
4
  import { VeLivePlayerResolution, VeLivePlayerResolutionSwitchReason, VeLivePlayerStreamType, VeLivePlayerStatus, VeLivePlayerStatistics, VeLivePlayerVideoFrame, VeLivePlayerAudioFrame } from './keytype';
5
5
  export declare class VeLivePlayerObserver {
6
- /** {zh}
7
- * @detail callback
8
- * @brief 播放器错误信息回调,播放器出现错误时,触发回调。
9
- * @order 1
10
- * @param player 触发该事件回调的播放器对象。
11
- * @param error 错误信息,详情请参见 [VeLivePlayerError](188113#VeLivePlayerError) 。
12
- *
13
- */
6
+
14
7
  /** {en}
15
8
  * @detail callback
16
9
  * @brief Occurs when a player error occurs.
@@ -20,16 +13,7 @@ export declare class VeLivePlayerObserver {
20
13
  *
21
14
  */
22
15
  onError?(player: VeLivePlayer, error: VeLivePlayerError): void;
23
- /** {zh}
24
- * @detail callback
25
- * @brief 视频首帧渲染事件回调。视频首帧渲染成功,或播放过程中发生重试,重试后的第一个视频帧渲染成功,均会触发此回调。
26
- * @order 2
27
- * @param player 触发该事件回调的播放器对象。
28
- * @param isFirstFrame 渲染成功的是否为视频首帧。<br>
29
- * - true:视频首帧;
30
- * - false:重试后第一个视频帧。
31
- *
32
- */
16
+
33
17
  /** {en}
34
18
  * @detail callback
35
19
  * @brief Occurs when the first video frame is rendered at the beginning of playback or after a retry during playback.
@@ -41,16 +25,7 @@ export declare class VeLivePlayerObserver {
41
25
  *
42
26
  */
43
27
  onFirstVideoFrameRender?(player: VeLivePlayer, isFirstFrame: boolean): void;
44
- /** {zh}
45
- * @detail callback
46
- * @brief 音频首帧渲染事件回调。音频首帧渲染成功,或播放过程中发生重试,重试后的第一个音频帧渲染成功,均会触发此回调。
47
- * @order 3
48
- * @param player 触发该事件回调的播放器对象。
49
- * @param isFirstFrame 渲染成功的是否为音频首帧。<br>
50
- * - true:音频首帧;
51
- * - false:重试后第一个音频帧。
52
- *
53
- */
28
+
54
29
  /** {en}
55
30
  * @detail callback
56
31
  * @brief Occurs when the first audio frame is rendered at the beginning of playback or after a retry during playback.
@@ -62,13 +37,7 @@ export declare class VeLivePlayerObserver {
62
37
  *
63
38
  */
64
39
  onFirstAudioFrameRender?(player: VeLivePlayer, isFirstFrame: boolean): void;
65
- /** {zh}
66
- * @detail callback
67
- * @brief 播放卡顿开始回调。
68
- * @order 4
69
- * @param player 触发该事件回调的播放器对象。
70
- *
71
- */
40
+
72
41
  /** {en}
73
42
  * @detail callback
74
43
  * @brief Occurs when a playback stutter starts.
@@ -77,13 +46,7 @@ export declare class VeLivePlayerObserver {
77
46
  *
78
47
  */
79
48
  onStallStart?(player: VeLivePlayer): void;
80
- /** {zh}
81
- * @detail callback
82
- * @brief 播放卡顿结束回调。音频缓冲区达到起播条件且开始播放后,触发此回调。
83
- * @order 5
84
- * @param player 触发该事件回调的播放器对象。
85
- *
86
- */
49
+
87
50
  /** {en}
88
51
  * @detail callback
89
52
  * @brief Occurs when a playback stutter stops, that is, when playback resumes after there is enough audio buffer.
@@ -92,14 +55,7 @@ export declare class VeLivePlayerObserver {
92
55
  *
93
56
  */
94
57
  onStallEnd?(player: VeLivePlayer): void;
95
- /** {zh}
96
- * @detail callback
97
- * @brief 视频渲染卡顿回调。视频渲染发生卡顿时,触发此回调。
98
- * @order 6
99
- * @param player 触发该事件回调的播放器对象。
100
- * @param stallTime 视频渲染卡顿时长,单位为 ms。
101
- *
102
- */
58
+
103
59
  /** {en}
104
60
  * @detail callback
105
61
  * @brief Occurs when video rendering stutters.
@@ -109,14 +65,7 @@ export declare class VeLivePlayerObserver {
109
65
  *
110
66
  */
111
67
  onVideoRenderStall?(player: VeLivePlayer, stallTime: long): void;
112
- /** {zh}
113
- * @detail callback
114
- * @brief 音频渲染卡顿回调。音频渲染发生卡顿时,触发此回调。
115
- * @order 7
116
- * @param player 触发该事件回调的播放器对象。
117
- * @param stallTime 音频渲染卡顿时长,单位为 ms。
118
- *
119
- */
68
+
120
69
  /** {en}
121
70
  * @detail callback
122
71
  * @brief Occurs when audio rendering stutters.
@@ -126,16 +75,7 @@ export declare class VeLivePlayerObserver {
126
75
  *
127
76
  */
128
77
  onAudioRenderStall?(player: VeLivePlayer, stallTime: long): void;
129
- /** {zh}
130
- * @detail callback
131
- * @brief 清晰度档位变化回调。
132
- * @order 8
133
- * @param player 触发该事件回调的播放器对象。
134
- * @param resolution 切换后的清晰度档位,详情请参见 [VeLivePlayerResolution](188115#VeLivePlayerResolution) 。
135
- * @param error 切换清晰度档位时,是否发生错误,详情请参见 [VeLivePlayerError](188113#VeLivePlayerError) 。
136
- * @param reason 清晰度档位切换的原因,详情请参见 [VeLivePlayerResolutionSwitchReason](188115#VeLivePlayerResolutionSwitchReason) 。
137
- *
138
- */
78
+
139
79
  /** {en}
140
80
  * @detail callback
141
81
  * @brief Occurs when the video resolution changes.
@@ -147,15 +87,7 @@ export declare class VeLivePlayerObserver {
147
87
  *
148
88
  */
149
89
  onResolutionSwitch?(player: VeLivePlayer, resolution: VeLivePlayerResolution, error: VeLivePlayerError, reason: VeLivePlayerResolutionSwitchReason): void;
150
- /** {zh}
151
- * @detail callback
152
- * @brief 视频分辨率变化回调。视频大小发生变化时,触发回调。
153
- * @order 9
154
- * @param player 触发该事件回调的播放器对象。
155
- * @param width 变化后的视频宽度,单位为 px。
156
- * @param height 变化后的视频高度,单位为 px。
157
- *
158
- */
90
+
159
91
  /** {en}
160
92
  * @detail callback
161
93
  * @brief Occurs when the video size changes.
@@ -166,14 +98,7 @@ export declare class VeLivePlayerObserver {
166
98
  *
167
99
  */
168
100
  onVideoSizeChanged?(player: VeLivePlayer, width: int, height: int): void;
169
- /** {zh}
170
- * @detail callback
171
- * @brief 字符串 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableSei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
172
- * @order 10
173
- * @param player 触发该事件回调的播放器对象。
174
- * @param message SEI 信息。
175
- *
176
- */
101
+
177
102
  /** {en}
178
103
  * @detail callback
179
104
  * @brief String SEI message callback. This callback is triggered when the player SDK receives an SEI message. It is necessary to enable the `enableSei` property in `VeLivePlayerConfiguration`. When the `enableBinarySei` property is enabled, the string SEI message will no longer be sent.
@@ -183,14 +108,7 @@ export declare class VeLivePlayerObserver {
183
108
  *
184
109
  */
185
110
  onReceiveSeiMessage?(player: VeLivePlayer, message: String): void;
186
- /** {zh}
187
- * @detail callback
188
- * @brief 二级制 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableBinarySei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
189
- * @order 10
190
- * @param player 触发该事件回调的播放器对象。
191
- * @param message SEI 信息。
192
- *
193
- */
111
+
194
112
  /** {en}
195
113
  * @detail callback
196
114
  * @brief Binary SEI message callback. This callback is triggered when the player SDK receives an SEI message. It is necessary to enable the `enableBinarySei` property in `VeLivePlayerConfiguration`. When the `enableBinarySei` property is enabled, the string SEI message will no longer be sent.
@@ -200,15 +118,7 @@ export declare class VeLivePlayerObserver {
200
118
  *
201
119
  */
202
120
  onReceiveBinarySeiMessage?(player: VeLivePlayer, message: ArrayBuffer): void;
203
- /** {zh}
204
- * @detail callback
205
- * @brief 主备流切换回调。
206
- * @order 11
207
- * @param player 触发该事件回调的播放器对象。
208
- * @param streamType 切换后的流类型为主路流或备路流,详情请参见 [VeLivePlayerStreamType](188115#VeLivePlayerStreamType) 。
209
- * @param error 触发主备流切换的原因,详情请参见 [VeLivePlayerError](188113#VeLivePlayerError) 。
210
- *
211
- */
121
+
212
122
  /** {en}
213
123
  * @detail callback
214
124
  * @brief Occurs when the player switches between the primary stream and the backup stream.
@@ -219,14 +129,7 @@ export declare class VeLivePlayerObserver {
219
129
  *
220
130
  */
221
131
  onMainBackupSwitch?(player: VeLivePlayer, streamType: VeLivePlayerStreamType, error: VeLivePlayerError): void;
222
- /** {zh}
223
- * @detail callback
224
- * @brief 播放状态发生变化时,触发回调。
225
- * @order 12
226
- * @param player 触发该事件回调的播放器对象。
227
- * @param status 当前播放器的状态,详情请参见 [VeLivePlayerStatus](188115#VeLivePlayerStatus) 。
228
- *
229
- */
132
+
230
133
  /** {en}
231
134
  * @detail callback
232
135
  * @brief Occurs when the playback status changes.
@@ -236,14 +139,7 @@ export declare class VeLivePlayerObserver {
236
139
  *
237
140
  */
238
141
  onPlayerStatusUpdate?(player: VeLivePlayer, status: VeLivePlayerStatus): void;
239
- /** {zh}
240
- * @detail callback
241
- * @brief 播放信息周期性回调。播放器 SDK 会周期性地回调本方法,您可以通过本方法获取当前播放器的播放地址、码率和帧率等信息。
242
- * @order 13
243
- * @param player 触发该事件回调的播放器对象。
244
- * @param statistics 播放器周期性回调的统计信息,详情请参见 [VeLivePlayerStatistics](188115#VeLivePlayerStatistics) 。
245
- *
246
- */
142
+
247
143
  /** {en}
248
144
  * @detail callback
249
145
  * @brief Occurs periodically to report information such as the current pull stream address, bitrate, and frame rate.
@@ -253,14 +149,7 @@ export declare class VeLivePlayerObserver {
253
149
  *
254
150
  */
255
151
  onStatistics?(player: VeLivePlayer, statistics: VeLivePlayerStatistics): void;
256
- /** {zh}
257
- * @detail callback
258
- * @brief 截图成功回调。当播放器调用 snapshot{@link #VeLivePlayer#snapshot} 截图成功后,会触发此回调。
259
- * @order 14
260
- * @param player 触发该事件回调的播放器对象。
261
- * @param bitmap 截图的 Bitmap 对象。
262
- *
263
- */
152
+
264
153
  /** {en}
265
154
  * @detail callback
266
155
  * @brief Occurs when a screenshot is taken after snapshot{@link #VeLivePlayer#snapshot} is called.
@@ -270,16 +159,7 @@ export declare class VeLivePlayerObserver {
270
159
  *
271
160
  */
272
161
  onSnapshotComplete?(player: VeLivePlayer, bitmap: Bitmap): void;
273
- /** {zh}
274
- * @detail callback
275
- * @brief 视频帧回调。调用 enableVideoFrameObserver{@link #VeLivePlayer#enableVideoFrameObserver} 开启视频帧解析回调后,当播放器成功解码视频帧时,会触发此回调。
276
- * @notes <br>
277
- * 如果自定义渲染使用纹理格式,建议在视频帧回调线程中执行渲染操作。
278
- * @order 15
279
- * @param player 触发该事件回调的播放器对象。
280
- * @param videoFrame 视频帧数据,包含像素格式、封装格式、视频宽高等信息,详情请参见 [VeLivePlayerVideoFrame](188115#VeLivePlayerVideoFrame) 。
281
- *
282
- */
162
+
283
163
  /** {en}
284
164
  * @detail callback
285
165
  * @brief Occurs when the player decodes a video frame. Call [enableVideoFrameObserver](docs-player-android-api-reference#VeLivePlayer-enablevideoframeobserver) to enable video frame callback.
@@ -291,16 +171,7 @@ export declare class VeLivePlayerObserver {
291
171
  *
292
172
  */
293
173
  onRenderVideoFrame?(player: VeLivePlayer, videoFrame: VeLivePlayerVideoFrame): void;
294
- /** {zh}
295
- * @detail callback
296
- * @brief 音频帧回调。调用 enableAudioFrameObserver{@link #VeLivePlayer#enableAudioFrameObserver} 开启音频帧解析回调后,当播放器成功解码音频帧时,会触发此回调。
297
- * @notes <br>
298
- * 回调的音频帧数据为 float32 格式,大端字节序存储。
299
- * @order 16
300
- * @param player 触发该事件回调的播放器对象。
301
- * @param audioFrame 音频数据,详情请参见 [VeLivePlayerAudioFrame](188115#VeLivePlayerAudioFrame) 。
302
- *
303
- */
174
+
304
175
  /** {en}
305
176
  * @detail callback
306
177
  * @brief Occurs when the player decodes an audio frame. Call enableAudioFrameObserver{@link #VeLivePlayer#enableAudioFrameObserver} to enable audio frame callback.
@@ -312,14 +183,7 @@ export declare class VeLivePlayerObserver {
312
183
  *
313
184
  */
314
185
  onRenderAudioFrame?(player: VeLivePlayer, audioFrame: VeLivePlayerAudioFrame): void;
315
- /** {zh}
316
- * @detail callback
317
- * @brief 超分开启失败。调用 setEnableSuperResolution{@link #VeLivePlayer#setEnableSuperResolution} 开启超分后,当播放器不支持超分开启或者超分处理出错时,会触发此回调。
318
- * @order 17
319
- * @param player 触发该事件回调的播放器对象。
320
- * @param error 超分开启失败原因,错误码请参见 [VeLivePlayerErrorCode](188113#VeLivePlayerError-VeLivePlayerErrorCode) 。
321
- *
322
- */
186
+
323
187
  /** {en}
324
188
  * @detail callback
325
189
  * @brief Occurs when the SDK fails to enable super resolution after setEnableSuperResolution{@link #VeLivePlayer#setEnableSuperResolution} is called.
@@ -329,14 +193,7 @@ export declare class VeLivePlayerObserver {
329
193
  *
330
194
  */
331
195
  onStreamFailedOpenSuperResolution?(player: VeLivePlayer, error: VeLivePlayerError): void;
332
- /** {zh}
333
- * @detail callback
334
- * @brief 锐化开启失败。调用 setEnableSharpen{@link #VeLivePlayer#setEnableSharpen} 开启锐化后,当播放器不支持超分开启或者超分处理出错时,会触发此回调。
335
- * @param player 触发该事件回调的播放器对象。
336
- * @param error 锐化开启失败原因。错误码请参见 [VeLivePlayerErrorCode](188113#VeLivePlayerErrorCode)。
337
- * @order 18
338
- *
339
- */
196
+
340
197
  /** {en}
341
198
  * @detail callback
342
199
  * @brief Occurs when the SDK fails to enable sharpen after [setEnableSuperResolution](docs-player-android-api-reference#VeLivePlayer-setenablesuperresolution) is called.
@@ -1,28 +1,19 @@
1
1
  import { int, String } from './types';
2
2
  export declare class VeLivePlayerError {
3
3
  constructor(errorCode: int, subCode: int, errorMsg: String);
4
- /** {zh}
5
- * @brief 直播播放错误码。
6
- *
7
- */
4
+
8
5
  /** {en}
9
6
  * @brief The error code.
10
7
  *
11
8
  */
12
9
  mErrorCode: int;
13
- /** {zh}
14
- * @brief 直播播放错误信息。
15
- *
16
- */
10
+
17
11
  /** {en}
18
12
  * @brief The error message.
19
13
  *
20
14
  */
21
15
  mErrorMsg: String;
22
- /** {zh}
23
- * @brief 直播播放子错误码。
24
- *
25
- */
16
+
26
17
  /** {en}
27
18
  * @brief The sub error code.
28
19
  *
@@ -30,229 +21,151 @@ export declare class VeLivePlayerError {
30
21
  mSubCode: int;
31
22
  }
32
23
  export declare enum VeLivePlayerErrorCode {
33
- /** {zh}
34
- * @brief 没有错误。
35
- *
36
- */
24
+
37
25
  /** {en}
38
26
  * @brief No error.
39
27
  *
40
28
  */
41
29
  VeLivePlayerNoError = 0,
42
- /** {zh}
43
- * @brief License 无效。可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。
44
- *
45
- */
30
+
46
31
  /** {en}
47
32
  * @brief The SDK license is invalid. This error may occur due to incorrect integration of the license or if the license has expired. Review how the license was integrated and ensure that it is still valid.
48
33
  *
49
34
  */
50
35
  VeLivePlayerInvalidLicense = -1,
51
- /** {zh}
52
- * @brief 调用时传入的参数不合法。请检查入参,并重新调用。
53
- *
54
- */
36
+
55
37
  /** {en}
56
38
  * @brief Invalid parameters. Check the input parameter and call the method again.
57
39
  *
58
40
  */
59
41
  VeLivePlayerInvalidParameter = -2,
60
- /** {zh}
61
- * @brief 调用被拒绝。方法调用时机不合法,请检查调用时机。
62
- *
63
- */
42
+
64
43
  /** {en}
65
44
  * @brief The method call has been rejected. This error occurs when the method is called at an incorrect time.
66
45
  *
67
46
  */
68
47
  VeLivePlayerErrorRefused = -3,
69
- /** {zh}
70
- * @brief 加载库文件失败。可能是 SDK 集成错误,请检查 SDK 集成方式。
71
- *
72
- */
48
+
73
49
  /** {en}
74
50
  * @brief Failed to load the library file. This error may occur due to incorrect integration of the SDK.
75
51
  *
76
52
  */
77
53
  VeLivePlayerErrorLibraryLoadFailed = -4,
78
- /** {zh}
79
- * @brief 播放地址不存在或无效。可能是播放地址为空、地址格式不合法或地址长度不合法,请检查播放地址。
80
- *
81
- */
54
+
82
55
  /** {en}
83
56
  * @brief The pull stream address does not exist or is invalid. This error may occur if the pull stream address is empty, or if the format or length of the address is invalid.
84
57
  *
85
58
  */
86
59
  VeLivePlayerErrorPlayUrl = -100,
87
- /** {zh}
88
- * @brief 无法获取流数据。可能是直播流不存在、直播流中断或直播已结束,请检查直播状态。
89
- *
90
- */
60
+
91
61
  /** {en}
92
62
  * @brief Unable to get the stream data. This error may occur if the live stream does not exist, is interrupted, or has ended. Please check the status of the live stream.
93
63
  *
94
64
  */
95
65
  VeLivePlayerErrorNoStreamData = -101,
96
- /** {zh}
97
- * @brief 内部播放重试。可能由于播放器内部错误触发了重试。
98
- *
99
- */
66
+
100
67
  /** {en}
101
68
  * @brief An internal retry to play the live stream, which might happen due to an internal player error.
102
69
  *
103
70
  */
104
71
  VeLivePlayerErrorInternalRetryStart = -102,
105
- /** {zh}
106
- * @brief 内部重试失败。内部重试次数达到最大限制,播放器停止重试,您可以尝试重新播放。
107
- *
108
- */
72
+
109
73
  /** {en}
110
74
  * @brief An internal retry failed and the maximum number of internal retries is reached. The player has stopped retrying. You may attempt a manual retry.
111
75
  *
112
76
  */
113
77
  VeLivePlayerErrorInternalRetryFailed = -103,
114
- /** {zh}
115
- * @brief DNS 解析失败。可能是播放地址异常或客户端网络异常,请您检查播放地址和网络情况,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
116
- *
117
- */
78
+
118
79
  /** {en}
119
80
  * @brief DNS parsing failed. This error may occur due to an error in the pull stream address or the client's network conditions. If the error persists after you verify the pull stream address and network conditions, [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
120
81
  *
121
82
  */
122
83
  VeLivePlayerErrorDnsParseFailed = -200,
123
- /** {zh}
124
- * @brief 网络请求失败。请检查网络情况,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
125
- *
126
- */
84
+
127
85
  /** {en}
128
86
  * @brief The network request failed. Check the network conditions. If the error persists, [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
129
87
  *
130
88
  */
131
89
  VeLivePlayerErrorNetworkRequestFailed = -201,
132
- /** {zh}
133
- * @brief 直播格式解封装失败。可能是使用了不支持的直播流格式和协议,或音视频流错误;请检查流格式,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
134
- *
135
- */
90
+
136
91
  /** {en}
137
92
  * @brief Video decapsulation failed. This error may occur if the live stream uses an unsupported format or protocol, or if there is an audio or video error. If the error persists, [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
138
93
  *
139
94
  */
140
95
  VeLivePlayerErrorDemuxFailed = -300,
141
- /** {zh}
142
- * @brief 视频解码失败。可能使用了不支持的直播流音视频格式,或解码器出错;请检查音视频格式,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
143
- *
144
- */
96
+
145
97
  /** {en}
146
98
  * @brief Decoding failed. This error may occur if the live stream uses an unsupported audio or video format. If the error persists, [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
147
99
  *
148
100
  */
149
101
  VeLivePlayerErrorDecodeFailed = -301,
150
- /** {zh}
151
- * @brief 渲染失败。可能是音视频输出设备异常,请重试;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
152
- *
153
- */
102
+
154
103
  /** {en}
155
104
  * @brief Rendering failed. This error may occur if there is an issue with the audio or video output devices. If the error persists, [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
156
105
  *
157
106
  */
158
107
  VeLivePlayerErrorAVOutputFailed = -302,
159
- /** {zh}
160
- * @brief 该台设备不支持超分能力,不在超分机型白名单内;如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
161
- *
162
- */
108
+
163
109
  /** {en}
164
110
  * @brief The device model does not support super resolution. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for any assistance you may need.
165
111
  *
166
112
  */
167
113
  VeLivePlayerErrorSRDeviceUnsupported = -303,
168
- /** {zh}
169
- * @brief 当前分辨率高于超分开启限制的最大分辨率。如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
170
- *
171
- */
114
+
172
115
  /** {en}
173
116
  * @brief The current resolution exceeds the upper limit allowed for super resolution. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for any assistance you may need.
174
117
  *
175
118
  */
176
119
  VeLivePlayerErrorSRResolutionUnsupported = -304,
177
- /** {zh}
178
- * @brief 当前帧率高于超分开启限制的最大帧率。如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
179
- *
180
- */
120
+
181
121
  /** {en}
182
122
  * @brief The current frame rate exceeds the upper limit allowed for super resolution. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for any assistance you may need.
183
123
  *
184
124
  */
185
125
  VeLivePlayerErrorSRFpsUnsupported = -305,
186
- /** {zh}
187
- * @brief 超分初始化失败。可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
188
- *
189
- */
126
+
190
127
  /** {en}
191
128
  * @brief Fails to initialize super resolution. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support if the error persists.
192
129
  *
193
130
  */
194
131
  VeLivePlayerErrorSRInitFail = -306,
195
- /** {zh}
196
- * @brief 超分执行失败,可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
197
- *
198
- */
132
+
199
133
  /** {en}
200
134
  * @brief Fails to apply super resolution to the video. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support if the error persists.
201
135
  *
202
136
  */
203
137
  VeLivePlayerErrorSRExecuteFail = -307,
204
- /** {zh}
205
- * @brief 您使用的基础版 License 暂不支持 H.265 硬件解码。
206
- *
207
- */
138
+
208
139
  /** {en}
209
140
  * @brief The current SDK license does not provide support for the H.265 feature.
210
141
  *
211
142
  */
212
143
  VeLivePlayerLicenseUnsupportedH265 = -308,
213
- /** {zh}
214
- * @brief 该台设备系统版本不支持锐化能力;如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076&FlowKey=owVvVTNjDkRmjctcsyNW)。
215
- *
216
- */
144
+
217
145
  /** {en}
218
146
  * @brief The device model does not support sharpen. [Create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for any assistance you may need.
219
147
  *
220
148
  */
221
149
  VeLivePlayerErrorSharpenDeviceUnsupported = -309,
222
- /** {zh}
223
- * @hidden (Android)
224
- * @brief 当前不支持离屏渲染;如果故障未排除,请联系火山引擎技术支持。
225
- *
226
- */
150
+
227
151
  /** {en}
228
152
  * @hidden (Android)
229
153
  *
230
154
  */
231
155
  VeLivePlayerErrorNotSupportTextureRender = -508,
232
- /** {zh}
233
- * @brief Effect 初始化失败;如果故障未排除,请联系火山引擎技术支持。
234
- * @hidden (Android)
235
- *
236
- */
156
+
237
157
  /** {en}
238
158
  * @hidden (Android)
239
159
  *
240
160
  */
241
161
  VeLivePlayerErrorInitICEffectFail = -509,
242
- /** {zh}
243
- * @brief 分辨率档位切换不支持;如果故障未排除,请联系火山引擎技术支持。
244
- * @hidden (Android)
245
- *
246
- */
162
+
247
163
  /** {en}
248
164
  * @hidden (Android)
249
165
  *
250
166
  */
251
167
  VeLivePlayerErrorNotSupportResolutionSwitch = -510,
252
- /** {zh}
253
- * @brief 内部错误。请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
254
- *
255
- */
168
+
256
169
  /** {en}
257
170
  * @brief Internal error. Please [create a ticket](https://console.byteplus.com/workorder/create?step=2&SubProductID=P00000980) to contact BytePlus technical support for assistance.
258
171
  *