@byteplus/veplayer 1.18.0-rc.8 → 1.18.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/lite.d.ts CHANGED
@@ -146,6 +146,8 @@ export interface LiteDramaInfoTranscodeParam {
146
146
  }
147
147
  /** Lite-only preloading scene values supported by the player runtime. */
148
148
  export type LitePreloadScene = 0 | 1;
149
+ /** Strategy service configuration mode. */
150
+ export type LiteServiceConfigMode = "remote" | "local-only";
149
151
  /** Lite-safe preload strategy configuration. */
150
152
  export interface LitePreloadStrategyConfig {
151
153
  preloadScene?: LitePreloadScene;
@@ -160,6 +162,11 @@ export interface LitePreloadStrategyConfig {
160
162
  export interface LiteStrategyInitOptions {
161
163
  /** Optional for a configured short-drama environment. */
162
164
  appId?: number;
165
+ /**
166
+ * Short-drama environments default to local-only, non-drama environments
167
+ * default to remote, and an explicit valid value overrides either default.
168
+ */
169
+ serviceConfigMode?: LiteServiceConfigMode;
163
170
  region?: "cn" | "mya" | "va" | "sg";
164
171
  strategies: {
165
172
  preload?: true | LitePreloadStrategyConfig;