@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer",
3
- "version": "2.4.0-rc.2",
3
+ "version": "2.4.0-rc.3",
4
4
  "main": "./umd/veplayer.production.js",
5
5
  "module": "./esm/veplayer.production.js",
6
6
  "browser": "./umd/veplayer.production.js",
@@ -2935,7 +2935,7 @@ var __publicField = (obj, key, value) => {
2935
2935
  device_id: this._deviceId,
2936
2936
  ext: {
2937
2937
  veplayer_version: "2.3.1-rc.0",
2938
- flv_version: "3.0.18-alpha.3",
2938
+ flv_version: "3.0.18-alpha.5",
2939
2939
  hls_version: "3.0.17",
2940
2940
  rts_version: "0.2.1-alpha.0"
2941
2941
  }
@@ -3427,6 +3427,10 @@ var __publicField = (obj, key, value) => {
3427
3427
  var _a, _b, _c;
3428
3428
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.rts) == null ? void 0 : _c.getNetWorkInfo();
3429
3429
  }
3430
+ async getRTMStats() {
3431
+ var _a;
3432
+ return (_a = this._player) == null ? void 0 : _a.plugins.rts.getStatsSnapshoot();
3433
+ }
3430
3434
  getFLVStats() {
3431
3435
  var _a, _b, _c;
3432
3436
  return (_c = (_b = (_a = this._player) == null ? void 0 : _a.plugins) == null ? void 0 : _b.flv) == null ? void 0 : _c.getStats();