@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/CHANGELOG.md +19 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.LICENSE.txt +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.LICENSE.txt +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/umd/nrvideo.min.js +1 -1
- package/dist/umd/nrvideo.min.js.LICENSE.txt +1 -1
- package/dist/umd/nrvideo.min.js.map +1 -1
- package/package.json +1 -1
- package/src/videotracker.js +4 -6
package/package.json
CHANGED
package/src/videotracker.js
CHANGED
|
@@ -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
|
-
|
|
249
|
+
getSegmentDownloadBitrate() {
|
|
250
250
|
return null;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
/** Override to return the download throughput in bps. */
|
|
254
|
-
|
|
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.
|
|
521
|
-
att.
|
|
518
|
+
att.contentSegmentDownloadBitrate = this.getSegmentDownloadBitrate() || 0;
|
|
519
|
+
att.contentNetworkDownloadBitrate = this.getNetworkDownloadBitrate() || 0;
|
|
522
520
|
}
|
|
523
521
|
|
|
524
522
|
att.contentRenditionName = this.getRenditionName();
|