@volcengine/veplayer 1.15.3-rc.34 → 1.15.3-rc.35

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/index.d.ts CHANGED
@@ -4788,100 +4788,6 @@ declare class VeStrategyWrapper {
4788
4788
  private initPreloaderConfig;
4789
4789
  }
4790
4790
  declare const _default: VeStrategyWrapper;
4791
- /** {zh}
4792
- * @hidden
4793
- */
4794
- export declare type IRes = IGetPlayInfoRes & {
4795
- Data: IGetPlayInfoRes & {
4796
- VideoID?: string;
4797
- };
4798
- };
4799
- declare enum VideoFileTypes {
4800
- VIDEO = "video",
4801
- EVIDEO = "evideo",
4802
- DRM_EVIDEO = "drm_evideo"
4803
- }
4804
- declare enum AudioFileTypes {
4805
- AUDIO = "audio",
4806
- EAUDIO = "eaudio",
4807
- DRM_AUDIO = "drm_eaudio"
4808
- }
4809
- export interface ITokenInfo {
4810
- Action?: string;
4811
- Codec?: ICodecType;
4812
- FileType?: VideoFileTypes | AudioFileTypes;
4813
- Format?: string;
4814
- Ssl?: 0 | 1;
4815
- Version?: string;
4816
- Vid?: string;
4817
- "X-Algorithm"?: string;
4818
- "X-Credential"?: string;
4819
- "X-Expires"?: number | string;
4820
- "X-Date"?: string;
4821
- "X-Signature"?: string;
4822
- "X-SignedQueries"?: string;
4823
- DrmType?: string;
4824
- PlayAuthIds?: string;
4825
- [propName: string]: string | number;
4826
- }
4827
- /** {zh}
4828
- * @hidden
4829
- */
4830
- export interface IDefItem extends Stream {
4831
- vid: string;
4832
- lineId?: number;
4833
- lineName?: string;
4834
- url: string;
4835
- streamType: string;
4836
- backupUrl: string;
4837
- backUrlList: string[];
4838
- fileType?: "video" | "audio" | "evideo" | "eaudio";
4839
- format: string;
4840
- bitrate?: number;
4841
- size?: number;
4842
- kid?: string;
4843
- vwidth?: number;
4844
- vheight?: number;
4845
- }
4846
- /** {zh}
4847
- * @hidden
4848
- */
4849
- export interface VideoInfoRes {
4850
- playList: IDefItem[];
4851
- type?: string;
4852
- poster: string;
4853
- vid: string;
4854
- duration: number;
4855
- dashOpts: IRes | {
4856
- Data: IRes;
4857
- };
4858
- thumbs: IThumbInfoItem[];
4859
- barrageMaskUrl: string;
4860
- enableAdaptive?: boolean;
4861
- adaptiveBitrateStreamingInfo?: ABRInfo;
4862
- }
4863
- export interface ICreatePlayerPerfTiming {
4864
- name: string;
4865
- duration: number;
4866
- }
4867
- export interface ICreatePlayerPerfReport {
4868
- totalDuration: number;
4869
- timings: ICreatePlayerPerfTiming[];
4870
- timingMap: Record<string, number>;
4871
- }
4872
- declare class CreatePlayerPerfCollector {
4873
- private now;
4874
- private startAt;
4875
- private timings;
4876
- private timingMap;
4877
- constructor();
4878
- markDuration(name: string, durationMs: number): void;
4879
- measure<T>(name: string, fn: () => T): T;
4880
- measureAsync<T>(name: string, fn: () => Promise<T>): Promise<T>;
4881
- finish(): ICreatePlayerPerfReport;
4882
- }
4883
- export declare type CollectorConstructor = new (name: string) => any;
4884
- declare function isMSESupport(mime?: string): boolean;
4885
4791
  /** UMD modules that can be loaded or explicitly pre-registered. */
4886
4792
  export declare enum UmdKeys {
4887
4793
  HLS = "hls",