@byteplus/veplayer 1.21.1-rc.2 → 1.21.1-rc.4

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
@@ -1285,16 +1285,18 @@ export interface LiteTTDramaEnv {
1285
1285
  sendLog: (eventName: string, params: Record<string, unknown>) => void;
1286
1286
  /** {zh}
1287
1287
  * @hidden
1288
- * @brief 当前在播短剧身份变化通知,由宿主集成层消费。
1288
+ * @brief 通知宿主当前在播短剧及其播放参数的变化。
1289
1289
  */
1290
1290
  /** {en}
1291
1291
  * @hidden
1292
- * @brief Notifies the host integration when the current drama playback identity changes.
1292
+ * @brief Notifies the host when the current drama or its playback options change.
1293
1293
  */
1294
1294
  onCurrentDramaPlaybackContextChange?: (context: {
1295
1295
  albumId: string | null;
1296
1296
  episodeId: string | null;
1297
1297
  vid: string | null;
1298
+ transcodeParam?: LiteDramaInfoTranscodeParam;
1299
+ defaultDefinition?: string;
1298
1300
  } | null) => boolean | void;
1299
1301
  getTokenVerifySecret?: () => Promise<string>;
1300
1302
  }