@volcengine/veplayer 2.3.0-rc.0 → 2.3.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.
@@ -3260,7 +3260,11 @@ var __publicField = (obj, key, value) => {
3260
3260
  return RTMCodec2;
3261
3261
  })(RTMCodec || {});
3262
3262
  class VePlayerLive extends VePlayerBase {
3263
- /**
3263
+ /** {zh}
3264
+ * @hidden
3265
+ * @param options
3266
+ */
3267
+ /** {en}
3264
3268
  * @hidden
3265
3269
  * @param options
3266
3270
  */
@@ -3270,6 +3274,9 @@ var __publicField = (obj, key, value) => {
3270
3274
  /** {zh}
3271
3275
  * @brief 调用此方法开启直播日志上报。
3272
3276
  */
3277
+ /** {en}
3278
+ * @brief Enables log upload.
3279
+ */
3273
3280
  openLog() {
3274
3281
  var _a;
3275
3282
  (_a = this._player.plugins) == null ? void 0 : _a.logger.open();
@@ -3277,6 +3284,9 @@ var __publicField = (obj, key, value) => {
3277
3284
  /** {zh}
3278
3285
  * @brief 调用此方法关闭直播日志上报。
3279
3286
  */
3287
+ /** {en}
3288
+ * @brief Disables log upload.
3289
+ */
3280
3290
  closeLog() {
3281
3291
  var _a;
3282
3292
  (_a = this._player.plugins) == null ? void 0 : _a.logger.close();
@@ -3284,6 +3294,9 @@ var __publicField = (obj, key, value) => {
3284
3294
  /** {zh}
3285
3295
  * @brief 调用此方法将打开直播信息面板,面板将展示拉流格式、帧率、码率、GOP、视频分辨率、编码方式、Buffer 水位、播放进度等基础信息。如果当前是软解,还会显示软解解码效率和解码消耗。
3286
3296
  */
3297
+ /** {en}
3298
+ * @brief Turns on the information panel, which displays basic information including stream format, frame rate, bitrate, GOP, video resolution, codec, buffer time, and playback progress. If software decoding is used, the software decoding efficiency and CPU consumption will also be displayed.
3299
+ */
3287
3300
  openInfoPanel() {
3288
3301
  var _a;
3289
3302
  (_a = this._player.plugins) == null ? void 0 : _a.infopanel.open();
@@ -3292,6 +3305,10 @@ var __publicField = (obj, key, value) => {
3292
3305
  * @brief 调用此方法关闭直播信息面板。
3293
3306
  *
3294
3307
  */
3308
+ /** {en}
3309
+ * @brief Turns off the information panel.
3310
+ *
3311
+ */
3295
3312
  closeInfoPanel() {
3296
3313
  var _a;
3297
3314
  (_a = this._player.plugins) == null ? void 0 : _a.infopanel.close();