@volcengine/veplayer 2.10.0-rc.0 → 2.10.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.
package/veplayer.d.ts CHANGED
@@ -23,6 +23,9 @@ import MiniScreen from "xgplayer/es/plugins/miniScreen";
23
23
  import PIPIcon from "xgplayer/es/plugins/pip";
24
24
  import VeStrategy from "@byted/volcengine-vestrategy";
25
25
  import { StrategyRecommendation, BaseStrategy, VeStrategyConfig, VideoType } from "@byted/volcengine-vestrategy";
26
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
27
+ // @ts-ignore
28
+ import { IInitParam } from "byted-tea-sdk/es/index-base.min.js";
26
29
  import { HLS } from "@byted/xgplayer-hls.js";
27
30
  declare const EN: {
28
31
  DEFINITION_FALLBACK_TOAST: string;
@@ -5740,7 +5743,7 @@ type Stats = {
5740
5743
  * @list option
5741
5744
  * @kind property
5742
5745
  */
5743
- interface LoggerConfig {
5746
+ interface LoggerConfig extends Partial<IInitParam> {
5744
5747
  /** {zh}
5745
5748
  * @brief 是否开启日志上报。
5746
5749
  * @default true
@@ -5965,6 +5968,7 @@ interface PrepareOptions {
5965
5968
  rtmAdaptiveBuffer?: boolean;
5966
5969
  };
5967
5970
  syncWaitSettings?: boolean;
5971
+ logger?: LoggerConfig;
5968
5972
  }
5969
5973
  /** {zh}
5970
5974
  * @list option
@@ -10633,7 +10637,7 @@ declare namespace live {
10633
10637
  * @list option
10634
10638
  * @kind property
10635
10639
  */
10636
- interface LoggerConfig {
10640
+ interface LoggerConfig extends Partial<IInitParam> {
10637
10641
  /** {zh}
10638
10642
  * @brief 是否开启日志上报。
10639
10643
  * @default true
@@ -10875,6 +10879,7 @@ declare namespace live {
10875
10879
  rtmAdaptiveBuffer?: boolean;
10876
10880
  };
10877
10881
  syncWaitSettings?: boolean;
10882
+ logger?: LoggerConfig;
10878
10883
  }
10879
10884
  /** {zh}
10880
10885
  * @list option
@@ -23,6 +23,9 @@ import MiniScreen from "xgplayer/es/plugins/miniScreen";
23
23
  import PIPIcon from "xgplayer/es/plugins/pip";
24
24
  import VeStrategy from "@byted/volcengine-vestrategy";
25
25
  import { StrategyRecommendation, BaseStrategy, VeStrategyConfig, VideoType } from "@byted/volcengine-vestrategy";
26
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
27
+ // @ts-ignore
28
+ import { IInitParam } from "byted-tea-sdk/es/index-base.min.js";
26
29
  import { HLS } from "@byted/xgplayer-hls.js";
27
30
  declare const EN: {
28
31
  DEFINITION_FALLBACK_TOAST: string;
@@ -5740,7 +5743,7 @@ type Stats = {
5740
5743
  * @list option
5741
5744
  * @kind property
5742
5745
  */
5743
- interface LoggerConfig {
5746
+ interface LoggerConfig extends Partial<IInitParam> {
5744
5747
  /** {zh}
5745
5748
  * @brief 是否开启日志上报。
5746
5749
  * @default true
@@ -5965,6 +5968,7 @@ interface PrepareOptions {
5965
5968
  rtmAdaptiveBuffer?: boolean;
5966
5969
  };
5967
5970
  syncWaitSettings?: boolean;
5971
+ logger?: LoggerConfig;
5968
5972
  }
5969
5973
  /** {zh}
5970
5974
  * @list option
@@ -10633,7 +10637,7 @@ declare namespace live {
10633
10637
  * @list option
10634
10638
  * @kind property
10635
10639
  */
10636
- interface LoggerConfig {
10640
+ interface LoggerConfig extends Partial<IInitParam> {
10637
10641
  /** {zh}
10638
10642
  * @brief 是否开启日志上报。
10639
10643
  * @default true
@@ -10875,6 +10879,7 @@ declare namespace live {
10875
10879
  rtmAdaptiveBuffer?: boolean;
10876
10880
  };
10877
10881
  syncWaitSettings?: boolean;
10882
+ logger?: LoggerConfig;
10878
10883
  }
10879
10884
  /** {zh}
10880
10885
  * @list option