@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/esm/veplayer.biz.live.development.js +28 -18
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +7 -2
- package/esm/veplayer.development.js +29 -19
- package/esm/veplayer.live.d.ts +7 -2
- package/esm/veplayer.live.development.js +29 -19
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.development.js +1 -1
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.js +28 -18
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +7 -2
- package/umd/veplayer.development.js +29 -19
- package/umd/veplayer.live.d.ts +7 -2
- package/umd/veplayer.live.development.js +29 -19
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +7 -2
- package/veplayer.live.d.ts +7 -2
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
|
package/veplayer.live.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
|