From 995f954f0b22876b8b20be301989ec57b41f3f4b Mon Sep 17 00:00:00 2001 From: Gunnar Adler <124367846+ftyp@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:17:28 +0100 Subject: [PATCH] Fix Smooth Streaming Client Manifest URLs Partially revert track label support for Smooth Streaming [4916daf0efeed8632d10d0bf758f705450d51e8c] trackName in server manifest and part of the client manifest StreamIndex URL should match. Also using arbitrary UTF-8 in language_name as part of the URL should be avoided --- Source/Python/utils/mp4-dash.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/Python/utils/mp4-dash.py b/Source/Python/utils/mp4-dash.py index 0a468636..70ac4a60 100755 --- a/Source/Python/utils/mp4-dash.py +++ b/Source/Python/utils/mp4-dash.py @@ -1119,11 +1119,7 @@ def OutputSmooth(options, audio_tracks, video_tracks): # process the audio tracks for audio_track in audio_tracks: - stream_name = audio_track.label - if stream_name == '': - stream_name = audio_track.language_name - if stream_name == '' or stream_name == 'Unknown': - stream_name = "audio_"+audio_track.language + stream_name = "audio_"+audio_track.language audio_url_pattern="QualityLevels({bitrate})/Fragments(%s={start time})" % (stream_name) stream_index = xml.SubElement(client_manifest, 'StreamIndex',