@volcengine/veplayer 2.7.0-rc.0 → 2.7.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/esm/veplayer.biz.live.development.css +2 -1
- package/esm/veplayer.biz.live.development.js +21 -6
- package/esm/veplayer.biz.live.production.css +1 -1
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +66 -30
- package/esm/veplayer.development.css +2 -1
- package/esm/veplayer.development.js +22 -7
- package/esm/veplayer.live.d.ts +66 -30
- package/esm/veplayer.live.development.css +2 -1
- package/esm/veplayer.live.development.js +22 -7
- package/esm/veplayer.live.production.css +1 -1
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.css +1 -1
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.development.js +1 -1
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.biz.live.development.css +2 -1
- package/umd/veplayer.biz.live.development.js +21 -6
- package/umd/veplayer.biz.live.production.css +1 -1
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +66 -30
- package/umd/veplayer.development.css +2 -1
- package/umd/veplayer.development.js +22 -7
- package/umd/veplayer.live.d.ts +66 -30
- package/umd/veplayer.live.development.css +2 -1
- package/umd/veplayer.live.development.js +22 -7
- package/umd/veplayer.live.production.css +1 -1
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.css +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.development.js +1 -1
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +66 -30
- package/veplayer.live.d.ts +66 -30
package/veplayer.d.ts
CHANGED
|
@@ -6324,14 +6324,12 @@ interface StatsSnapShoot {
|
|
|
6324
6324
|
/** {zh}
|
|
6325
6325
|
* @list option
|
|
6326
6326
|
* @kind property
|
|
6327
|
-
* @brief FLV 直播流播放信息。
|
|
6328
6327
|
*/
|
|
6329
6328
|
/** {en}
|
|
6330
6329
|
* @list option
|
|
6331
6330
|
* @kind property
|
|
6332
|
-
* @brief FLV live stream information.
|
|
6333
6331
|
*/
|
|
6334
|
-
interface
|
|
6332
|
+
interface Stats$0 {
|
|
6335
6333
|
/** {zh}
|
|
6336
6334
|
* @brief 音频格式。
|
|
6337
6335
|
* @hidden
|
|
@@ -6433,33 +6431,45 @@ interface FlvStats {
|
|
|
6433
6431
|
*/
|
|
6434
6432
|
samplerate: number;
|
|
6435
6433
|
/** {zh}
|
|
6436
|
-
* @
|
|
6434
|
+
* @hidden
|
|
6437
6435
|
*/
|
|
6438
6436
|
/** {en}
|
|
6439
|
-
* @
|
|
6437
|
+
* @hidden
|
|
6440
6438
|
*/
|
|
6441
|
-
|
|
6439
|
+
videoCodec: string;
|
|
6442
6440
|
/** {zh}
|
|
6443
|
-
* @brief
|
|
6441
|
+
* @brief 视频宽度。
|
|
6444
6442
|
*/
|
|
6445
6443
|
/** {en}
|
|
6446
|
-
* @brief
|
|
6444
|
+
* @brief Video wight.
|
|
6447
6445
|
*/
|
|
6448
|
-
|
|
6446
|
+
width: number;
|
|
6447
|
+
}
|
|
6448
|
+
/** {zh}
|
|
6449
|
+
* @list option
|
|
6450
|
+
* @kind property
|
|
6451
|
+
* @brief FLV 直播流播放信息。
|
|
6452
|
+
*/
|
|
6453
|
+
/** {en}
|
|
6454
|
+
* @list option
|
|
6455
|
+
* @kind property
|
|
6456
|
+
* @brief FLV live stream information.
|
|
6457
|
+
*/
|
|
6458
|
+
interface FlvStats extends Stats$0 {
|
|
6449
6459
|
/** {zh}
|
|
6450
|
-
* @
|
|
6460
|
+
* @brief 总共收到的字节数。
|
|
6451
6461
|
*/
|
|
6452
6462
|
/** {en}
|
|
6453
|
-
* @
|
|
6463
|
+
* @brief The total number of bytes received.
|
|
6454
6464
|
*/
|
|
6455
|
-
|
|
6465
|
+
totalReceivedByte: number;
|
|
6456
6466
|
/** {zh}
|
|
6457
|
-
* @brief
|
|
6467
|
+
* @brief 接收所有字节消耗时长。
|
|
6458
6468
|
*/
|
|
6459
6469
|
/** {en}
|
|
6460
|
-
* @brief
|
|
6470
|
+
* @brief The time consumed for receiving all bytes.
|
|
6461
6471
|
*/
|
|
6462
|
-
|
|
6472
|
+
totalReceivedCost: number;
|
|
6463
6473
|
}
|
|
6464
6474
|
/** {zh}
|
|
6465
6475
|
* @detail api
|
|
@@ -6602,6 +6612,14 @@ declare class VePlayerLive extends VePlayerBase {
|
|
|
6602
6612
|
* @brief Obtain the playback information of FLV pull streaming.
|
|
6603
6613
|
*/
|
|
6604
6614
|
getFLVStats(): FlvStats;
|
|
6615
|
+
/** {zh}
|
|
6616
|
+
* @brief 获取 HLS 拉流的播放信息。
|
|
6617
|
+
* @returns
|
|
6618
|
+
*/
|
|
6619
|
+
/** {en}
|
|
6620
|
+
* @brief Obtain the playback information of HLS pull streaming.
|
|
6621
|
+
*/
|
|
6622
|
+
getHLSStats(): Stats$0;
|
|
6605
6623
|
updatePlaylist(playlist: ExposedSource[], target?: string | {
|
|
6606
6624
|
/** {zh}
|
|
6607
6625
|
* @brief 清晰度唯一标识。
|
|
@@ -11944,14 +11962,12 @@ declare namespace live {
|
|
|
11944
11962
|
/** {zh}
|
|
11945
11963
|
* @list option
|
|
11946
11964
|
* @kind property
|
|
11947
|
-
* @brief FLV 直播流播放信息。
|
|
11948
11965
|
*/
|
|
11949
11966
|
/** {en}
|
|
11950
11967
|
* @list option
|
|
11951
11968
|
* @kind property
|
|
11952
|
-
* @brief FLV live stream information.
|
|
11953
11969
|
*/
|
|
11954
|
-
interface
|
|
11970
|
+
interface Stats$0 {
|
|
11955
11971
|
/** {zh}
|
|
11956
11972
|
* @brief 音频格式。
|
|
11957
11973
|
* @hidden
|
|
@@ -12053,33 +12069,45 @@ declare namespace live {
|
|
|
12053
12069
|
*/
|
|
12054
12070
|
samplerate: number;
|
|
12055
12071
|
/** {zh}
|
|
12056
|
-
* @
|
|
12072
|
+
* @hidden
|
|
12057
12073
|
*/
|
|
12058
12074
|
/** {en}
|
|
12059
|
-
* @
|
|
12075
|
+
* @hidden
|
|
12060
12076
|
*/
|
|
12061
|
-
|
|
12077
|
+
videoCodec: string;
|
|
12062
12078
|
/** {zh}
|
|
12063
|
-
* @brief
|
|
12079
|
+
* @brief 视频宽度。
|
|
12064
12080
|
*/
|
|
12065
12081
|
/** {en}
|
|
12066
|
-
* @brief
|
|
12082
|
+
* @brief Video wight.
|
|
12067
12083
|
*/
|
|
12068
|
-
|
|
12084
|
+
width: number;
|
|
12085
|
+
}
|
|
12086
|
+
/** {zh}
|
|
12087
|
+
* @list option
|
|
12088
|
+
* @kind property
|
|
12089
|
+
* @brief FLV 直播流播放信息。
|
|
12090
|
+
*/
|
|
12091
|
+
/** {en}
|
|
12092
|
+
* @list option
|
|
12093
|
+
* @kind property
|
|
12094
|
+
* @brief FLV live stream information.
|
|
12095
|
+
*/
|
|
12096
|
+
interface FlvStats extends Stats$0 {
|
|
12069
12097
|
/** {zh}
|
|
12070
|
-
* @
|
|
12098
|
+
* @brief 总共收到的字节数。
|
|
12071
12099
|
*/
|
|
12072
12100
|
/** {en}
|
|
12073
|
-
* @
|
|
12101
|
+
* @brief The total number of bytes received.
|
|
12074
12102
|
*/
|
|
12075
|
-
|
|
12103
|
+
totalReceivedByte: number;
|
|
12076
12104
|
/** {zh}
|
|
12077
|
-
* @brief
|
|
12105
|
+
* @brief 接收所有字节消耗时长。
|
|
12078
12106
|
*/
|
|
12079
12107
|
/** {en}
|
|
12080
|
-
* @brief
|
|
12108
|
+
* @brief The time consumed for receiving all bytes.
|
|
12081
12109
|
*/
|
|
12082
|
-
|
|
12110
|
+
totalReceivedCost: number;
|
|
12083
12111
|
}
|
|
12084
12112
|
/** {zh}
|
|
12085
12113
|
* @detail api
|
|
@@ -12222,6 +12250,14 @@ declare namespace live {
|
|
|
12222
12250
|
* @brief Obtain the playback information of FLV pull streaming.
|
|
12223
12251
|
*/
|
|
12224
12252
|
getFLVStats(): FlvStats;
|
|
12253
|
+
/** {zh}
|
|
12254
|
+
* @brief 获取 HLS 拉流的播放信息。
|
|
12255
|
+
* @returns
|
|
12256
|
+
*/
|
|
12257
|
+
/** {en}
|
|
12258
|
+
* @brief Obtain the playback information of HLS pull streaming.
|
|
12259
|
+
*/
|
|
12260
|
+
getHLSStats(): Stats$0;
|
|
12225
12261
|
updatePlaylist(playlist: ExposedSource[], target?: string | {
|
|
12226
12262
|
/** {zh}
|
|
12227
12263
|
* @brief 清晰度唯一标识。
|
package/veplayer.live.d.ts
CHANGED
|
@@ -6324,14 +6324,12 @@ interface StatsSnapShoot {
|
|
|
6324
6324
|
/** {zh}
|
|
6325
6325
|
* @list option
|
|
6326
6326
|
* @kind property
|
|
6327
|
-
* @brief FLV 直播流播放信息。
|
|
6328
6327
|
*/
|
|
6329
6328
|
/** {en}
|
|
6330
6329
|
* @list option
|
|
6331
6330
|
* @kind property
|
|
6332
|
-
* @brief FLV live stream information.
|
|
6333
6331
|
*/
|
|
6334
|
-
interface
|
|
6332
|
+
interface Stats$0 {
|
|
6335
6333
|
/** {zh}
|
|
6336
6334
|
* @brief 音频格式。
|
|
6337
6335
|
* @hidden
|
|
@@ -6433,33 +6431,45 @@ interface FlvStats {
|
|
|
6433
6431
|
*/
|
|
6434
6432
|
samplerate: number;
|
|
6435
6433
|
/** {zh}
|
|
6436
|
-
* @
|
|
6434
|
+
* @hidden
|
|
6437
6435
|
*/
|
|
6438
6436
|
/** {en}
|
|
6439
|
-
* @
|
|
6437
|
+
* @hidden
|
|
6440
6438
|
*/
|
|
6441
|
-
|
|
6439
|
+
videoCodec: string;
|
|
6442
6440
|
/** {zh}
|
|
6443
|
-
* @brief
|
|
6441
|
+
* @brief 视频宽度。
|
|
6444
6442
|
*/
|
|
6445
6443
|
/** {en}
|
|
6446
|
-
* @brief
|
|
6444
|
+
* @brief Video wight.
|
|
6447
6445
|
*/
|
|
6448
|
-
|
|
6446
|
+
width: number;
|
|
6447
|
+
}
|
|
6448
|
+
/** {zh}
|
|
6449
|
+
* @list option
|
|
6450
|
+
* @kind property
|
|
6451
|
+
* @brief FLV 直播流播放信息。
|
|
6452
|
+
*/
|
|
6453
|
+
/** {en}
|
|
6454
|
+
* @list option
|
|
6455
|
+
* @kind property
|
|
6456
|
+
* @brief FLV live stream information.
|
|
6457
|
+
*/
|
|
6458
|
+
interface FlvStats extends Stats$0 {
|
|
6449
6459
|
/** {zh}
|
|
6450
|
-
* @
|
|
6460
|
+
* @brief 总共收到的字节数。
|
|
6451
6461
|
*/
|
|
6452
6462
|
/** {en}
|
|
6453
|
-
* @
|
|
6463
|
+
* @brief The total number of bytes received.
|
|
6454
6464
|
*/
|
|
6455
|
-
|
|
6465
|
+
totalReceivedByte: number;
|
|
6456
6466
|
/** {zh}
|
|
6457
|
-
* @brief
|
|
6467
|
+
* @brief 接收所有字节消耗时长。
|
|
6458
6468
|
*/
|
|
6459
6469
|
/** {en}
|
|
6460
|
-
* @brief
|
|
6470
|
+
* @brief The time consumed for receiving all bytes.
|
|
6461
6471
|
*/
|
|
6462
|
-
|
|
6472
|
+
totalReceivedCost: number;
|
|
6463
6473
|
}
|
|
6464
6474
|
/** {zh}
|
|
6465
6475
|
* @detail api
|
|
@@ -6602,6 +6612,14 @@ declare class VePlayerLive extends VePlayerBase {
|
|
|
6602
6612
|
* @brief Obtain the playback information of FLV pull streaming.
|
|
6603
6613
|
*/
|
|
6604
6614
|
getFLVStats(): FlvStats;
|
|
6615
|
+
/** {zh}
|
|
6616
|
+
* @brief 获取 HLS 拉流的播放信息。
|
|
6617
|
+
* @returns
|
|
6618
|
+
*/
|
|
6619
|
+
/** {en}
|
|
6620
|
+
* @brief Obtain the playback information of HLS pull streaming.
|
|
6621
|
+
*/
|
|
6622
|
+
getHLSStats(): Stats$0;
|
|
6605
6623
|
updatePlaylist(playlist: ExposedSource[], target?: string | {
|
|
6606
6624
|
/** {zh}
|
|
6607
6625
|
* @brief 清晰度唯一标识。
|
|
@@ -11944,14 +11962,12 @@ declare namespace live {
|
|
|
11944
11962
|
/** {zh}
|
|
11945
11963
|
* @list option
|
|
11946
11964
|
* @kind property
|
|
11947
|
-
* @brief FLV 直播流播放信息。
|
|
11948
11965
|
*/
|
|
11949
11966
|
/** {en}
|
|
11950
11967
|
* @list option
|
|
11951
11968
|
* @kind property
|
|
11952
|
-
* @brief FLV live stream information.
|
|
11953
11969
|
*/
|
|
11954
|
-
interface
|
|
11970
|
+
interface Stats$0 {
|
|
11955
11971
|
/** {zh}
|
|
11956
11972
|
* @brief 音频格式。
|
|
11957
11973
|
* @hidden
|
|
@@ -12053,33 +12069,45 @@ declare namespace live {
|
|
|
12053
12069
|
*/
|
|
12054
12070
|
samplerate: number;
|
|
12055
12071
|
/** {zh}
|
|
12056
|
-
* @
|
|
12072
|
+
* @hidden
|
|
12057
12073
|
*/
|
|
12058
12074
|
/** {en}
|
|
12059
|
-
* @
|
|
12075
|
+
* @hidden
|
|
12060
12076
|
*/
|
|
12061
|
-
|
|
12077
|
+
videoCodec: string;
|
|
12062
12078
|
/** {zh}
|
|
12063
|
-
* @brief
|
|
12079
|
+
* @brief 视频宽度。
|
|
12064
12080
|
*/
|
|
12065
12081
|
/** {en}
|
|
12066
|
-
* @brief
|
|
12082
|
+
* @brief Video wight.
|
|
12067
12083
|
*/
|
|
12068
|
-
|
|
12084
|
+
width: number;
|
|
12085
|
+
}
|
|
12086
|
+
/** {zh}
|
|
12087
|
+
* @list option
|
|
12088
|
+
* @kind property
|
|
12089
|
+
* @brief FLV 直播流播放信息。
|
|
12090
|
+
*/
|
|
12091
|
+
/** {en}
|
|
12092
|
+
* @list option
|
|
12093
|
+
* @kind property
|
|
12094
|
+
* @brief FLV live stream information.
|
|
12095
|
+
*/
|
|
12096
|
+
interface FlvStats extends Stats$0 {
|
|
12069
12097
|
/** {zh}
|
|
12070
|
-
* @
|
|
12098
|
+
* @brief 总共收到的字节数。
|
|
12071
12099
|
*/
|
|
12072
12100
|
/** {en}
|
|
12073
|
-
* @
|
|
12101
|
+
* @brief The total number of bytes received.
|
|
12074
12102
|
*/
|
|
12075
|
-
|
|
12103
|
+
totalReceivedByte: number;
|
|
12076
12104
|
/** {zh}
|
|
12077
|
-
* @brief
|
|
12105
|
+
* @brief 接收所有字节消耗时长。
|
|
12078
12106
|
*/
|
|
12079
12107
|
/** {en}
|
|
12080
|
-
* @brief
|
|
12108
|
+
* @brief The time consumed for receiving all bytes.
|
|
12081
12109
|
*/
|
|
12082
|
-
|
|
12110
|
+
totalReceivedCost: number;
|
|
12083
12111
|
}
|
|
12084
12112
|
/** {zh}
|
|
12085
12113
|
* @detail api
|
|
@@ -12222,6 +12250,14 @@ declare namespace live {
|
|
|
12222
12250
|
* @brief Obtain the playback information of FLV pull streaming.
|
|
12223
12251
|
*/
|
|
12224
12252
|
getFLVStats(): FlvStats;
|
|
12253
|
+
/** {zh}
|
|
12254
|
+
* @brief 获取 HLS 拉流的播放信息。
|
|
12255
|
+
* @returns
|
|
12256
|
+
*/
|
|
12257
|
+
/** {en}
|
|
12258
|
+
* @brief Obtain the playback information of HLS pull streaming.
|
|
12259
|
+
*/
|
|
12260
|
+
getHLSStats(): Stats$0;
|
|
12225
12261
|
updatePlaylist(playlist: ExposedSource[], target?: string | {
|
|
12226
12262
|
/** {zh}
|
|
12227
12263
|
* @brief 清晰度唯一标识。
|