Filter out telemetry from when not needed

This commit is contained in:
Brahim Hadriche committed 2025-09-03 15:40:09 -04:00
1 parent 207f96c882
commit 0c79787161
16 files changed
+63 -56

No files matched your search

@@ -48,9 +48,7 @@ class DashManifest
audioStreams = m.getAudioStreams(adaptiveFormats)
videoStreams = m.getVideoStreams(adaptiveFormats, qualityFilter)
if videoStreams.Count() = 0
m.noTelemetry = true
LogWarn("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
m.noTelemetry = false
LogWarnNoTelemetry("No video streams found using quality filter:", qualityFilter, "Falling back to all video streams")
videoStreams = m.getVideoStreams(adaptiveFormats, {})
end if
@@ -204,9 +202,7 @@ class DashManifest
templateUrl = storyboard.templateUrl
if templateUrl.Instr("$M") = -1
m.noTelemetry = true
LogInfo("Invalid storyboard url: url does not contain $M:", templateUrl)
m.noTelemetry = false
LogWarnNoTelemetry("Invalid storyboard url: url does not contain $M:", templateUrl)
continue for
end if