@volcengine/veplayer 2.4.0-rc.2 → 2.4.0-rc.3

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/umd/veplayer.d.ts CHANGED
@@ -5719,6 +5719,7 @@ declare class VePlayerLive extends VePlayerBase {
5719
5719
  getPlayTime(): number;
5720
5720
  getPlayerVersion(): string;
5721
5721
  getRTMNetWorkInfo(): any;
5722
+ getRTMStats(): Promise<any>;
5722
5723
  getFLVStats(): any;
5723
5724
  }
5724
5725
  /** {zh}
@@ -10282,6 +10283,7 @@ declare namespace live {
10282
10283
  getPlayTime(): number;
10283
10284
  getPlayerVersion(): string;
10284
10285
  getRTMNetWorkInfo(): any;
10286
+ getRTMStats(): Promise<any>;
10285
10287
  getFLVStats(): any;
10286
10288
  }
10287
10289
  /** {zh}
@@ -21899,8 +21899,8 @@ var __publicField = (obj, key, value) => {
21899
21899
  user_id: this._userId,
21900
21900
  device_id: this._deviceId,
21901
21901
  ext: {
21902
- veplayer_version: "2.4.0-rc.2",
21903
- flv_version: "3.0.18-alpha.3",
21902
+ veplayer_version: "2.4.0-rc.3",
21903
+ flv_version: "3.0.18-alpha.5",
21904
21904
  hls_version: "3.0.17",
21905
21905
  rts_version: "0.2.1-alpha.0"
21906
21906
  }
@@ -22346,12 +22346,16 @@ var __publicField = (obj, key, value) => {
22346
22346
  return time;
22347
22347
  }
22348
22348
  getPlayerVersion() {
22349
- return "2.4.0-rc.2";
22349
+ return "2.4.0-rc.3";
22350
22350
  }
22351
22351
  getRTMNetWorkInfo() {
22352
22352
  var _a, _b, _c;
22353
22353
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.rts) == null ? void 0 : _c.getNetWorkInfo();
22354
22354
  }
22355
+ async getRTMStats() {
22356
+ var _a;
22357
+ return (_a = this._player) == null ? void 0 : _a.plugins.rts.getStatsSnapshoot();
22358
+ }
22355
22359
  getFLVStats() {
22356
22360
  var _a, _b, _c;
22357
22361
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.flv) == null ? void 0 : _c.getStats();
@@ -5719,6 +5719,7 @@ declare class VePlayerLive extends VePlayerBase {
5719
5719
  getPlayTime(): number;
5720
5720
  getPlayerVersion(): string;
5721
5721
  getRTMNetWorkInfo(): any;
5722
+ getRTMStats(): Promise<any>;
5722
5723
  getFLVStats(): any;
5723
5724
  }
5724
5725
  /** {zh}
@@ -10282,6 +10283,7 @@ declare namespace live {
10282
10283
  getPlayTime(): number;
10283
10284
  getPlayerVersion(): string;
10284
10285
  getRTMNetWorkInfo(): any;
10286
+ getRTMStats(): Promise<any>;
10285
10287
  getFLVStats(): any;
10286
10288
  }
10287
10289
  /** {zh}
@@ -21899,8 +21899,8 @@ var __publicField = (obj, key, value) => {
21899
21899
  user_id: this._userId,
21900
21900
  device_id: this._deviceId,
21901
21901
  ext: {
21902
- veplayer_version: "2.4.0-rc.2",
21903
- flv_version: "3.0.18-alpha.3",
21902
+ veplayer_version: "2.4.0-rc.3",
21903
+ flv_version: "3.0.18-alpha.5",
21904
21904
  hls_version: "3.0.17",
21905
21905
  rts_version: "0.2.1-alpha.0"
21906
21906
  }
@@ -22346,12 +22346,16 @@ var __publicField = (obj, key, value) => {
22346
22346
  return time;
22347
22347
  }
22348
22348
  getPlayerVersion() {
22349
- return "2.4.0-rc.2";
22349
+ return "2.4.0-rc.3";
22350
22350
  }
22351
22351
  getRTMNetWorkInfo() {
22352
22352
  var _a, _b, _c;
22353
22353
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.rts) == null ? void 0 : _c.getNetWorkInfo();
22354
22354
  }
22355
+ async getRTMStats() {
22356
+ var _a;
22357
+ return (_a = this._player) == null ? void 0 : _a.plugins.rts.getStatsSnapshoot();
22358
+ }
22355
22359
  getFLVStats() {
22356
22360
  var _a, _b, _c;
22357
22361
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.flv) == null ? void 0 : _c.getStats();