@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,5 +1,5 @@
1
1
  import { String, SurfaceHolder, Surface, float, Map, List, int } from './types';
2
- import { VeLivePlayerLogLevel, VeLivePlayerConfiguration, VeLivePlayerFillMode, VeLivePlayerStreamData, VeLivePlayerResolution, VeLivePlayerPixelFormat, VeLivePlayerVideoBufferType, VeLivePlayerRotation, VeLivePlayerMirror } from './keytype';
2
+ import { VeLivePlayerLogLevel, VeLivePlayerConfiguration, VeLivePlayerFillMode, VeLivePlayerStreamData, VeLivePlayerResolution, VeLivePlayerPixelFormat, VeLivePlayerVideoBufferType, VeLivePlayerAudioBufferType, VeLivePlayerRotation, VeLivePlayerMirror } from './keytype';
3
3
  import { VeLivePlayerObserver } from './callback';
4
4
  import { ApplicationContext } from './external';
5
5
  export declare class VeLivePlayer {
@@ -26,7 +26,8 @@ export declare class VeLivePlayer {
26
26
  /** {zh}
27
27
  * @detail api
28
28
  * @brief 初始化播放器,用于设置是否开启 SEI 消息、是否开启硬件解码和是否开启本地 DNS 预解析等配置信息。
29
- * @notes <br>需要在调用 [play](#VeLivePlayer-play) 开始播放之前,调用本方法进行播放器的初始化。
29
+ * @notes
30
+ * 需要在调用 [play](#VeLivePlayer-play) 开始播放之前,调用本方法进行播放器的初始化。
30
31
  * @order 1
31
32
  * @param config 播放器配置信息,详情请参见 VeLivePlayerConfiguration{@link #VeLivePlayerConfiguration}。
32
33
  *
@@ -58,8 +59,8 @@ export declare class VeLivePlayer {
58
59
  /** {zh}
59
60
  * @detail api
60
61
  * @brief 使用 SurfaceView 播放视频时,通过设置 SurfaceHolder 对象完成视频图像的渲染和播放。
61
- * @notes <br>
62
- * 如果同时调用 setSurfaceHolder 和 setSurface{@link #setSurface} 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
62
+ * @notes
63
+ * 如果同时调用 setSurfaceHolder 和 [setSurface](#VeLivePlayer-setsurface) 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
63
64
  * @order 6
64
65
  * @param surfaceHolder SurfaceHolder 对象。
65
66
  *
@@ -69,8 +70,8 @@ export declare class VeLivePlayer {
69
70
  /** {zh}
70
71
  * @detail api
71
72
  * @brief 使用 SurfaceView 或 TextureView 播放视频时,通过设置 Surface 对象完成视频图像的渲染和播放。
72
- * @notes <br>
73
- * 如果同时调用 setSurfaceHolder{@link #setSurfaceHolder} 和 setSurface 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
73
+ * @notes
74
+ * 如果同时调用 [setSurfaceHolder](#VeLivePlayer-setsurfaceholder) 和 setSurface 设置视频播放画面的 Surface,播放器会优先使用 surfaceHolder 的配置。
74
75
  * @order 7
75
76
  * @param surface surface 对象的类型。
76
77
  *
@@ -142,11 +143,11 @@ export declare class VeLivePlayer {
142
143
  * @brief 切换播放的清晰度档位。
143
144
  * @notes - 需要在调用 [setPlayStreamData](#VeLivePlayer-setplaystreamdata) 设置多档位后,调用本方法切换播放器的清晰度档位。
144
145
  * - 调用本方法成功切换档位后,会触发清晰度档位变化 [onResolutionSwitch](188112#VeLivePlayerObserver-onresolutionswitch) 回调。
146
+ * @order 8
147
+ * @param resolution 设置清晰度的目标档位,详情请参见 [VeLivePlayerResolution](188115#VeLivePlayerResolution) 。
145
148
  * @return <br>
146
149
  * - true:成功;
147
150
  * - false:失败。
148
- * @order 8
149
- * @param resolution 设置清晰度的目标档位,详情请参见 [VeLivePlayerResolution](188115#VeLivePlayerResolution) 。
150
151
  *
151
152
  */
152
153
 
@@ -198,13 +199,15 @@ export declare class VeLivePlayer {
198
199
  * @brief 设置域名和服务器的 IP 地址映射关系。
199
200
  * @order 11
200
201
  * @param hostIpMap 域名和服务器 IP 地址的映射关系列表。其中 `Map` 的 Key 是域名,Value 是 `List` 类型,表示该域名对应的服务器 IP 地址列表。
202
+ * @notes - 使用 setUrlHostIP 对域名和 IP 地址进行映射时,需在初始化配置中关闭 DNS 预解析功能,即 [enableLiveDNS](188115#VeLivePlayerConfiguration-enablelivedns) 设置为 false。
203
+ * - 需要在调用 [play](#VeLivePlayer-play) 开始播放前,调用本方法设置域名和 IP 的映射。
201
204
  *
202
205
  */
203
206
 
204
207
  setUrlHostIP(hostIpMap: Map<String, List<String>>): void;
205
208
  /** {zh}
206
209
  * @detail api
207
- * @brief 设置播放器高级配置。高级配置包括离屏渲染设置、缓冲区最大时长、ABR 码率自适应算法类型等,如需了解详细信息,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076&FlowKey=owVvVTNjDkRmjctcsyNW)。
210
+ * @brief 设置播放器高级配置。高级配置包括离屏渲染设置、缓冲区最大时长、ABR 码率自适应算法类型等,如需了解详细信息,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
208
211
  * @order 12
209
212
  * @param key 高级配置的参数名。
210
213
  * @param value 参数对应的参数值。
@@ -249,9 +252,10 @@ export declare class VeLivePlayer {
249
252
  * @param enable 是否开启音频帧回调,默认值为 false。 <br>
250
253
  * - true:开启;
251
254
  * - false:关闭。
252
- * @param enableRendering 是否开启播放器渲染。默认值为 false。<br>
253
- * - true:开启;
254
- * - false:关闭。
255
+ * @param enableRendering 是否开启播放器渲染。默认值为 false。<br/>
256
+ * - true:开启;
257
+ * - false:关闭。
258
+ * @param bufferType 音频 buffer 类型,详情请参见 [VeLivePlayerAudioBufferType](188115#VeLivePlayerAudioBufferType)。
255
259
  * @notes <br>
256
260
  * - 您可以在使用外部渲染的场景下调用本方法,订阅音频帧的解码数据。
257
261
  * - 调用本方法后,会触发 onRenderAudioFrame{@link #VeLivePlayerObserver#onRenderAudioFrame} 回调,回调消息中包含每个音频帧的详细数据。
@@ -260,7 +264,7 @@ export declare class VeLivePlayer {
260
264
  *
261
265
  */
262
266
 
263
- enableAudioFrameObserver(enable: boolean, enableRendering: boolean): void;
267
+ enableAudioFrameObserver(enable: boolean, enableRendering: boolean, bufferType: VeLivePlayerAudioBufferType): void;
264
268
  /** {zh}
265
269
  * @detail api
266
270
  * @brief 设置视频顺时针旋转角度。
@@ -311,4 +315,5 @@ export declare class VeLivePlayer {
311
315
  */
312
316
 
313
317
  setEnableSharpen(enable: boolean): void;
318
+ addExtraHttpRequestHeadersByUser(headers: Map): void;
314
319
  }
@@ -11,6 +11,7 @@ export declare class VeLivePlayerObserver {
11
11
  * @param error 错误信息,详情请参见 [VeLivePlayerError](188113#VeLivePlayerError) 。
12
12
  *
13
13
  */
14
+
14
15
  onError?(player: VeLivePlayer, error: VeLivePlayerError): void;
15
16
  /** {zh}
16
17
  * @detail callback
@@ -22,6 +23,7 @@ export declare class VeLivePlayerObserver {
22
23
  * - false:重试后第一个视频帧。
23
24
  *
24
25
  */
26
+
25
27
  onFirstVideoFrameRender?(player: VeLivePlayer, isFirstFrame: boolean): void;
26
28
  /** {zh}
27
29
  * @detail callback
@@ -33,6 +35,7 @@ export declare class VeLivePlayerObserver {
33
35
  * - false:重试后第一个音频帧。
34
36
  *
35
37
  */
38
+
36
39
  onFirstAudioFrameRender?(player: VeLivePlayer, isFirstFrame: boolean): void;
37
40
  /** {zh}
38
41
  * @detail callback
@@ -41,6 +44,7 @@ export declare class VeLivePlayerObserver {
41
44
  * @param player 触发该事件回调的播放器对象。
42
45
  *
43
46
  */
47
+
44
48
  onStallStart?(player: VeLivePlayer): void;
45
49
  /** {zh}
46
50
  * @detail callback
@@ -49,6 +53,7 @@ export declare class VeLivePlayerObserver {
49
53
  * @param player 触发该事件回调的播放器对象。
50
54
  *
51
55
  */
56
+
52
57
  onStallEnd?(player: VeLivePlayer): void;
53
58
  /** {zh}
54
59
  * @detail callback
@@ -58,6 +63,7 @@ export declare class VeLivePlayerObserver {
58
63
  * @param stallTime 视频渲染卡顿时长,单位为 ms。
59
64
  *
60
65
  */
66
+
61
67
  onVideoRenderStall?(player: VeLivePlayer, stallTime: long): void;
62
68
  /** {zh}
63
69
  * @detail callback
@@ -67,6 +73,7 @@ export declare class VeLivePlayerObserver {
67
73
  * @param stallTime 音频渲染卡顿时长,单位为 ms。
68
74
  *
69
75
  */
76
+
70
77
  onAudioRenderStall?(player: VeLivePlayer, stallTime: long): void;
71
78
  /** {zh}
72
79
  * @detail callback
@@ -78,6 +85,7 @@ export declare class VeLivePlayerObserver {
78
85
  * @param reason 清晰度档位切换的原因,详情请参见 [VeLivePlayerResolutionSwitchReason](188115#VeLivePlayerResolutionSwitchReason) 。
79
86
  *
80
87
  */
88
+
81
89
  onResolutionSwitch?(player: VeLivePlayer, resolution: VeLivePlayerResolution, error: VeLivePlayerError, reason: VeLivePlayerResolutionSwitchReason): void;
82
90
  /** {zh}
83
91
  * @detail callback
@@ -88,16 +96,28 @@ export declare class VeLivePlayerObserver {
88
96
  * @param height 变化后的视频高度,单位为 px。
89
97
  *
90
98
  */
99
+
91
100
  onVideoSizeChanged?(player: VeLivePlayer, width: int, height: int): void;
92
101
  /** {zh}
93
102
  * @detail callback
94
- * @brief SEI 信息回调。当播放器 SDK 接收到 SEI 信息时,触发回调。
103
+ * @brief 字符串 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableSei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
95
104
  * @order 10
96
105
  * @param player 触发该事件回调的播放器对象。
97
106
  * @param message SEI 信息。
98
107
  *
99
108
  */
109
+
100
110
  onReceiveSeiMessage?(player: VeLivePlayer, message: String): void;
111
+ /** {zh}
112
+ * @detail callback
113
+ * @brief 二级制 SEI 消息回调,当播放器 SDK 接收到 SEI 消息时,触发该回调。需要开启 VeLivePlayerConfiguration 中 enableBinarySei 属性。当 enableBinarySei 属性开启时,字符串 SEI 消息将不再发送。
114
+ * @order 10
115
+ * @param player 触发该事件回调的播放器对象。
116
+ * @param message SEI 信息。
117
+ *
118
+ */
119
+
120
+ onReceiveBinarySeiMessage?(player: VeLivePlayer, message: ArrayBuffer): void;
101
121
  /** {zh}
102
122
  * @detail callback
103
123
  * @brief 主备流切换回调。
@@ -107,6 +127,7 @@ export declare class VeLivePlayerObserver {
107
127
  * @param error 触发主备流切换的原因,详情请参见 [VeLivePlayerError](188113#VeLivePlayerError) 。
108
128
  *
109
129
  */
130
+
110
131
  onMainBackupSwitch?(player: VeLivePlayer, streamType: VeLivePlayerStreamType, error: VeLivePlayerError): void;
111
132
  /** {zh}
112
133
  * @detail callback
@@ -116,6 +137,7 @@ export declare class VeLivePlayerObserver {
116
137
  * @param status 当前播放器的状态,详情请参见 [VeLivePlayerStatus](188115#VeLivePlayerStatus) 。
117
138
  *
118
139
  */
140
+
119
141
  onPlayerStatusUpdate?(player: VeLivePlayer, status: VeLivePlayerStatus): void;
120
142
  /** {zh}
121
143
  * @detail callback
@@ -125,6 +147,7 @@ export declare class VeLivePlayerObserver {
125
147
  * @param statistics 播放器周期性回调的统计信息,详情请参见 [VeLivePlayerStatistics](188115#VeLivePlayerStatistics) 。
126
148
  *
127
149
  */
150
+
128
151
  onStatistics?(player: VeLivePlayer, statistics: VeLivePlayerStatistics): void;
129
152
  /** {zh}
130
153
  * @detail callback
@@ -134,6 +157,7 @@ export declare class VeLivePlayerObserver {
134
157
  * @param bitmap 截图的 Bitmap 对象。
135
158
  *
136
159
  */
160
+
137
161
  onSnapshotComplete?(player: VeLivePlayer, bitmap: Bitmap): void;
138
162
  /** {zh}
139
163
  * @detail callback
@@ -145,6 +169,7 @@ export declare class VeLivePlayerObserver {
145
169
  * @param videoFrame 视频帧数据,包含像素格式、封装格式、视频宽高等信息,详情请参见 [VeLivePlayerVideoFrame](188115#VeLivePlayerVideoFrame) 。
146
170
  *
147
171
  */
172
+
148
173
  onRenderVideoFrame?(player: VeLivePlayer, videoFrame: VeLivePlayerVideoFrame): void;
149
174
  /** {zh}
150
175
  * @detail callback
@@ -156,6 +181,7 @@ export declare class VeLivePlayerObserver {
156
181
  * @param audioFrame 音频数据,详情请参见 [VeLivePlayerAudioFrame](188115#VeLivePlayerAudioFrame) 。
157
182
  *
158
183
  */
184
+
159
185
  onRenderAudioFrame?(player: VeLivePlayer, audioFrame: VeLivePlayerAudioFrame): void;
160
186
  /** {zh}
161
187
  * @detail callback
@@ -165,5 +191,16 @@ export declare class VeLivePlayerObserver {
165
191
  * @param error 超分开启失败原因,错误码请参见 [VeLivePlayerErrorCode](188113#VeLivePlayerError-VeLivePlayerErrorCode) 。
166
192
  *
167
193
  */
194
+
168
195
  onStreamFailedOpenSuperResolution?(player: VeLivePlayer, error: VeLivePlayerError): void;
196
+ /** {zh}
197
+ * @detail callback
198
+ * @brief 锐化开启失败。调用 setEnableSharpen{@link #VeLivePlayer#setEnableSharpen} 开启锐化后,当播放器不支持超分开启或者超分处理出错时,会触发此回调。
199
+ * @param player 触发该事件回调的播放器对象。
200
+ * @param error 锐化开启失败原因。错误码请参见 [VeLivePlayerErrorCode](188113#VeLivePlayerErrorCode)。
201
+ * @order 18
202
+ *
203
+ */
204
+
205
+ onStreamFailedOpenSharpen?(player: VeLivePlayer, error: VeLivePlayerError): void;
169
206
  }
@@ -1,122 +1,177 @@
1
1
  import { int, String } from './types';
2
2
  export declare class VeLivePlayerError {
3
- constructor(errorCode: int, errorMsg: String);
4
- constructor(errorCode: int);
3
+ constructor(errorCode: int, subCode: int, errorMsg: String);
5
4
  /** {zh}
6
5
  * @brief 直播播放错误码。
7
6
  *
8
7
  */
8
+
9
9
  mErrorCode: int;
10
10
  /** {zh}
11
11
  * @brief 直播播放错误信息。
12
12
  *
13
13
  */
14
+
14
15
  mErrorMsg: String;
16
+ /** {zh}
17
+ * @brief 直播播放子错误码。
18
+ *
19
+ */
20
+
21
+ mSubCode: int;
15
22
  }
16
23
  export declare enum VeLivePlayerErrorCode {
17
24
  /** {zh}
18
25
  * @brief 没有错误。
19
26
  *
20
27
  */
28
+
21
29
  VeLivePlayerNoError = 0,
22
30
  /** {zh}
23
31
  * @brief License 无效。可能 License 集成错误或 License 过期,请检查 License 集成方式和有效性。
24
32
  *
25
33
  */
34
+
26
35
  VeLivePlayerInvalidLicense = -1,
27
36
  /** {zh}
28
37
  * @brief 调用时传入的参数不合法。请检查入参,并重新调用。
29
38
  *
30
39
  */
40
+
31
41
  VeLivePlayerInvalidParameter = -2,
32
42
  /** {zh}
33
43
  * @brief 调用被拒绝。方法调用时机不合法,请检查调用时机。
34
44
  *
35
45
  */
46
+
36
47
  VeLivePlayerErrorRefused = -3,
37
48
  /** {zh}
38
49
  * @brief 加载库文件失败。可能是 SDK 集成错误,请检查 SDK 集成方式。
39
50
  *
40
51
  */
52
+
41
53
  VeLivePlayerErrorLibraryLoadFailed = -4,
42
54
  /** {zh}
43
55
  * @brief 播放地址不存在或无效。可能是播放地址为空、地址格式不合法或地址长度不合法,请检查播放地址。
44
56
  *
45
57
  */
58
+
46
59
  VeLivePlayerErrorPlayUrl = -100,
47
60
  /** {zh}
48
61
  * @brief 无法获取流数据。可能是直播流不存在、直播流中断或直播已结束,请检查直播状态。
49
62
  *
50
63
  */
64
+
51
65
  VeLivePlayerErrorNoStreamData = -101,
52
66
  /** {zh}
53
67
  * @brief 内部播放重试。可能由于播放器内部错误触发了重试。
54
68
  *
55
69
  */
70
+
56
71
  VeLivePlayerErrorInternalRetryStart = -102,
57
72
  /** {zh}
58
73
  * @brief 内部重试失败。内部重试次数达到最大限制,播放器停止重试,您可以尝试重新播放。
59
74
  *
60
75
  */
76
+
61
77
  VeLivePlayerErrorInternalRetryFailed = -103,
62
78
  /** {zh}
63
79
  * @brief DNS 解析失败。可能是播放地址异常或客户端网络异常,请您检查播放地址和网络情况,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
64
80
  *
65
81
  */
82
+
66
83
  VeLivePlayerErrorDnsParseFailed = -200,
67
84
  /** {zh}
68
85
  * @brief 网络请求失败。请检查网络情况,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
69
86
  *
70
87
  */
88
+
71
89
  VeLivePlayerErrorNetworkRequestFailed = -201,
72
90
  /** {zh}
73
91
  * @brief 直播格式解封装失败。可能是使用了不支持的直播流格式和协议,或音视频流错误;请检查流格式,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
74
92
  *
75
93
  */
94
+
76
95
  VeLivePlayerErrorDemuxFailed = -300,
77
96
  /** {zh}
78
97
  * @brief 视频解码失败。可能使用了不支持的直播流音视频格式,或解码器出错;请检查音视频格式,如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
79
98
  *
80
99
  */
100
+
81
101
  VeLivePlayerErrorDecodeFailed = -301,
82
102
  /** {zh}
83
103
  * @brief 渲染失败。可能是音视频输出设备异常,请重试;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
84
104
  *
85
105
  */
106
+
86
107
  VeLivePlayerErrorAVOutputFailed = -302,
87
108
  /** {zh}
88
109
  * @brief 该台设备不支持超分能力,不在超分机型白名单内;如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
89
110
  *
90
111
  */
112
+
91
113
  VeLivePlayerErrorSRDeviceUnsupported = -303,
92
114
  /** {zh}
93
115
  * @brief 当前分辨率高于超分开启限制的最大分辨率。如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
94
116
  *
95
117
  */
118
+
96
119
  VeLivePlayerErrorSRResolutionUnsupported = -304,
97
120
  /** {zh}
98
121
  * @brief 当前帧率高于超分开启限制的最大帧率。如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
99
122
  *
100
123
  */
124
+
101
125
  VeLivePlayerErrorSRFpsUnsupported = -305,
102
126
  /** {zh}
103
127
  * @brief 超分初始化失败。可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
104
128
  *
105
129
  */
130
+
106
131
  VeLivePlayerErrorSRInitFail = -306,
107
132
  /** {zh}
108
133
  * @brief 超分执行失败,可能超分参数配置错误,或版本不兼容;如果故障未排除,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
109
134
  *
110
135
  */
136
+
111
137
  VeLivePlayerErrorSRExecuteFail = -307,
112
138
  /** {zh}
113
- * @brief 您使用的基础版 License 暂不支持 H.265 硬件解码,请登录火山引擎[视频直播控制台](https://console.volcengine.com/live/main/sdk)获取高级版 License。
139
+ * @brief 您使用的基础版 License 暂不支持 H.265 硬件解码。
114
140
  *
115
141
  */
142
+
116
143
  VeLivePlayerLicenseUnsupportedH265 = -308,
144
+ /** {zh}
145
+ * @brief 该台设备系统版本不支持锐化能力;如果有疑问,请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=3&SubProductID=P00000076&FlowKey=owVvVTNjDkRmjctcsyNW)。
146
+ *
147
+ */
148
+
149
+ VeLivePlayerErrorSharpenDeviceUnsupported = -309,
150
+ /** {zh}
151
+ * @hidden (Android)
152
+ * @brief 当前不支持离屏渲染;如果故障未排除,请联系火山引擎技术支持。
153
+ *
154
+ */
155
+
156
+ VeLivePlayerErrorNotSupportTextureRender = -508,
157
+ /** {zh}
158
+ * @brief Effect 初始化失败;如果故障未排除,请联系火山引擎技术支持。
159
+ * @hidden (Android)
160
+ *
161
+ */
162
+
163
+ VeLivePlayerErrorInitICEffectFail = -509,
164
+ /** {zh}
165
+ * @brief 分辨率档位切换不支持;如果故障未排除,请联系火山引擎技术支持。
166
+ * @hidden (Android)
167
+ *
168
+ */
169
+
170
+ VeLivePlayerErrorNotSupportResolutionSwitch = -510,
117
171
  /** {zh}
118
172
  * @brief 内部错误。请联系火山引擎[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
119
173
  *
120
174
  */
175
+
121
176
  VeLivePlayerErrorInternal = -999
122
177
  }