@newrelic/video-core 4.1.4 → 4.1.5

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": "@newrelic/video-core",
3
- "version": "4.1.4",
3
+ "version": "4.1.5",
4
4
  "description": "New Relic video tracking core library",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -246,12 +246,12 @@ class VideoTracker extends Tracker {
246
246
  }
247
247
 
248
248
  /** Override to return the measured network bitrate in bps (Observed Bitrate). */
249
- getMeasuredBitrate() {
249
+ getSegmentDownloadBitrate() {
250
250
  return null;
251
251
  }
252
252
 
253
253
  /** Override to return the download throughput in bps. */
254
- getDownloadBitrate() {
254
+ getNetworkDownloadBitrate() {
255
255
  return null;
256
256
  }
257
257
 
@@ -486,7 +486,6 @@ class VideoTracker extends Tracker {
486
486
  if (this.state.isStarted) {
487
487
  att.adBitrate =
488
488
  this.getBitrate() || 0;
489
- att.adRenditionBitrate = this.getRenditionBitrate() || 0;
490
489
  }
491
490
 
492
491
  att.adRenditionName = this.getRenditionName();
@@ -515,10 +514,9 @@ class VideoTracker extends Tracker {
515
514
  // Only add bitrate attributes after content has started
516
515
  if (this.state.isStarted) {
517
516
  att.contentBitrate = this.getBitrate()|| 0;
518
- att.contentRenditionBitrate = this.getRenditionBitrate() || 0;
519
517
  att.contentManifestBitrate = this.getManifestBitrate() || 0;
520
- att.contentMeasuredBitrate = this.getMeasuredBitrate() || 0;
521
- att.contentDownloadBitrate = this.getDownloadBitrate() || 0;
518
+ att.contentSegmentDownloadBitrate = this.getSegmentDownloadBitrate() || 0;
519
+ att.contentNetworkDownloadBitrate = this.getNetworkDownloadBitrate() || 0;
522
520
  }
523
521
 
524
522
  att.contentRenditionName = this.getRenditionName();