diff --git a/src/streaming/models/MetricsModel.js b/src/streaming/models/MetricsModel.js index 8b5ac56276..f99b102565 100644 --- a/src/streaming/models/MetricsModel.js +++ b/src/streaming/models/MetricsModel.js @@ -144,7 +144,7 @@ function MetricsModel(config) { // The redirect-to URL or alternative url (where multiple have been // provided in the MPD) will appear as the actualurl of the next // entry with the same url value. - if (actualurl && (actualurl !== url)) { + if (actualurl !== null && actualurl !== undefined && (actualurl !== url)) { // given the above, add an entry for the original request addHttpRequest(