easy-player-pro 0.1.11 → 0.1.12

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.
@@ -229,7 +229,7 @@ export interface EasyPlayerProType {
229
229
  setFullscreen: (isFullscreen: boolean) => void;
230
230
  exitFullscreen: () => void;
231
231
  setQuality: (quality: string) => void;
232
- setQualityList: (quality: string[]) => void;
232
+ setQualityList: (qualityList: string[], quality?: string) => void;
233
233
  setRate: (rate: number) => void;
234
234
  seekTime: (time: number) => void;
235
235
  getVideoInfo: () => VideoInfoType | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-player-pro",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "easy-player-pro 是一款能够同时支持HTTP、HTTP-FLV、HLS(m3u8)、WS、WEBRTC、FMP4视频直播与视频点播等多种协议,支持H.264、H.265、AAC、G711A、Mp3等多种音视频编码格式,支持MSE、WASM、WebCodec等多种解码方式,支持Windows、Linux、Android、iOS全平台终端的H5播放器,使用简单, 功能强大",
5
5
  "type": "module",
6
6
  "module": "./lib/index.js",