@libmedia/avplayer 0.10.0 → 0.11.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/dist/types/AVPlayer.d.ts +4 -0
- package/package.json +12 -12
package/dist/types/AVPlayer.d.ts
CHANGED
|
@@ -222,6 +222,10 @@ export interface AVPlayerLoadOptions {
|
|
|
222
222
|
* ioLoader 配置参数
|
|
223
223
|
*/
|
|
224
224
|
ioLoaderOptions?: Omit<IOLoaderOptions, 'isLive'>;
|
|
225
|
+
/**
|
|
226
|
+
* 最大分析时长(秒)用于分析流参数的最大时长,默认 3 秒
|
|
227
|
+
*/
|
|
228
|
+
maxProbeDuration?: number;
|
|
225
229
|
}
|
|
226
230
|
export interface AVPlayerPlayOptions {
|
|
227
231
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libmedia/avplayer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "libmedia avplayer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,17 +28,17 @@
|
|
|
28
28
|
"author": "Gaoxing Zhao",
|
|
29
29
|
"license": "LGPL-3.0-or-later",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@libmedia/common": "1.5.
|
|
32
|
-
"@libmedia/cheap": "0.
|
|
33
|
-
"@libmedia/avutil": "0.
|
|
34
|
-
"@libmedia/avprotocol": "0.
|
|
35
|
-
"@libmedia/avcodec": "0.
|
|
36
|
-
"@libmedia/avformat": "0.
|
|
37
|
-
"@libmedia/avpipeline": "0.
|
|
38
|
-
"@libmedia/avnetwork": "0.
|
|
39
|
-
"@libmedia/avrender": "0.
|
|
40
|
-
"@libmedia/audioresample": "0.
|
|
41
|
-
"@libmedia/audiostretchpitch": "0.
|
|
31
|
+
"@libmedia/common": "~1.5.2",
|
|
32
|
+
"@libmedia/cheap": "~0.11.0",
|
|
33
|
+
"@libmedia/avutil": "0.11.0",
|
|
34
|
+
"@libmedia/avprotocol": "0.11.0",
|
|
35
|
+
"@libmedia/avcodec": "0.11.0",
|
|
36
|
+
"@libmedia/avformat": "0.11.0",
|
|
37
|
+
"@libmedia/avpipeline": "0.11.0",
|
|
38
|
+
"@libmedia/avnetwork": "0.11.0",
|
|
39
|
+
"@libmedia/avrender": "0.11.0",
|
|
40
|
+
"@libmedia/audioresample": "0.11.0",
|
|
41
|
+
"@libmedia/audiostretchpitch": "0.11.0",
|
|
42
42
|
"ass-compiler": "^0.1.13",
|
|
43
43
|
"assjs": "^0.1.1"
|
|
44
44
|
}
|