@ceeblue/web-utils 7.4.0 → 7.5.1

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.
@@ -1199,7 +1199,7 @@ declare namespace EpochTime {
1199
1199
  * (for example, 'latency' is undefined for webrtc).
1200
1200
  * Includes the toCmcd() method to convert stats into a CMCD payload.
1201
1201
  */
1202
- declare class PlayerStats {
1202
+ declare class PlayerStats extends Loggable {
1203
1203
  protocol?: string;
1204
1204
  currentTime?: number;
1205
1205
  waitingData?: boolean;
@@ -1207,6 +1207,8 @@ declare class PlayerStats {
1207
1207
  latency?: number;
1208
1208
  rtt?: number;
1209
1209
  jitter?: number;
1210
+ skippedVideo?: number;
1211
+ skippedAudio?: number;
1210
1212
  playbackSpeed?: number;
1211
1213
  playbackRate?: number;
1212
1214
  recvByteRate?: number;
@@ -1217,8 +1219,6 @@ declare class PlayerStats {
1217
1219
  audioTrackBandwidth?: number;
1218
1220
  videoPerSecond?: number;
1219
1221
  audioPerSecond?: number;
1220
- skippedVideoCount?: number;
1221
- skippedAudioCount?: number;
1222
1222
  lostPacketCount?: number;
1223
1223
  nackCount?: number;
1224
1224
  stallCount?: number;
package/dist/web-utils.js CHANGED
@@ -13373,7 +13373,7 @@ class WebVttTransformStream extends TransformStream {
13373
13373
  * (for example, 'latency' is undefined for webrtc).
13374
13374
  * Includes the toCmcd() method to convert stats into a CMCD payload.
13375
13375
  */
13376
- class PlayerStats {
13376
+ class PlayerStats extends Loggable {
13377
13377
  /**
13378
13378
  * Converts the current {@link PlayerStats} snapshot into a CMCD (Common Media Client Data) payload.
13379
13379
  * @param url - The full URL of the media object.
@@ -13697,4 +13697,4 @@ class UIMetrics {
13697
13697
  * This file is part of https://github.com/CeeblueTV/web-utils which is released under GNU Affero General Public License.
13698
13698
  * See file LICENSE or go to https://spdx.org/licenses/AGPL-3.0-or-later.html for full license details.
13699
13699
  */
13700
- const VERSION = '7.4.0';export{BinaryReader,BinaryWriter,BitReader,ByteRate,index as CML,Connect,EpochTime,EventEmitter,FixMap,Log,LogLevel,Loggable,NetAddress,Numbers,PlayerStats,Queue,SDP,UIMetrics,Util,VERSION,WebSocketReliable,log};//# sourceMappingURL=web-utils.js.map
13700
+ const VERSION = '7.5.1';export{BinaryReader,BinaryWriter,BitReader,ByteRate,index as CML,Connect,EpochTime,EventEmitter,FixMap,Log,LogLevel,Loggable,NetAddress,Numbers,PlayerStats,Queue,SDP,UIMetrics,Util,VERSION,WebSocketReliable,log};//# sourceMappingURL=web-utils.js.map