@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/esm/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}
@@ -21895,8 +21895,8 @@ class Logger extends Plugin {
21895
21895
  user_id: this._userId,
21896
21896
  device_id: this._deviceId,
21897
21897
  ext: {
21898
- veplayer_version: "2.4.0-rc.2",
21899
- flv_version: "3.0.18-alpha.3",
21898
+ veplayer_version: "2.4.0-rc.3",
21899
+ flv_version: "3.0.18-alpha.5",
21900
21900
  hls_version: "3.0.17",
21901
21901
  rts_version: "0.2.1-alpha.0"
21902
21902
  }
@@ -22342,12 +22342,16 @@ class VePlayerLive extends VePlayerBase {
22342
22342
  return time;
22343
22343
  }
22344
22344
  getPlayerVersion() {
22345
- return "2.4.0-rc.2";
22345
+ return "2.4.0-rc.3";
22346
22346
  }
22347
22347
  getRTMNetWorkInfo() {
22348
22348
  var _a, _b, _c;
22349
22349
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.rts) == null ? void 0 : _c.getNetWorkInfo();
22350
22350
  }
22351
+ async getRTMStats() {
22352
+ var _a;
22353
+ return (_a = this._player) == null ? void 0 : _a.plugins.rts.getStatsSnapshoot();
22354
+ }
22351
22355
  getFLVStats() {
22352
22356
  var _a, _b, _c;
22353
22357
  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}
@@ -21895,8 +21895,8 @@ class Logger extends Plugin {
21895
21895
  user_id: this._userId,
21896
21896
  device_id: this._deviceId,
21897
21897
  ext: {
21898
- veplayer_version: "2.4.0-rc.2",
21899
- flv_version: "3.0.18-alpha.3",
21898
+ veplayer_version: "2.4.0-rc.3",
21899
+ flv_version: "3.0.18-alpha.5",
21900
21900
  hls_version: "3.0.17",
21901
21901
  rts_version: "0.2.1-alpha.0"
21902
21902
  }
@@ -22342,12 +22342,16 @@ class VePlayerLive extends VePlayerBase {
22342
22342
  return time;
22343
22343
  }
22344
22344
  getPlayerVersion() {
22345
- return "2.4.0-rc.2";
22345
+ return "2.4.0-rc.3";
22346
22346
  }
22347
22347
  getRTMNetWorkInfo() {
22348
22348
  var _a, _b, _c;
22349
22349
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.rts) == null ? void 0 : _c.getNetWorkInfo();
22350
22350
  }
22351
+ async getRTMStats() {
22352
+ var _a;
22353
+ return (_a = this._player) == null ? void 0 : _a.plugins.rts.getStatsSnapshoot();
22354
+ }
22351
22355
  getFLVStats() {
22352
22356
  var _a, _b, _c;
22353
22357
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.flv) == null ? void 0 : _c.getStats();