Skip to content

Commit 6c9b634

Browse files
authored
fix(HLS): Populate originalVideoId in HLS with the URI (#8003)
1 parent 5f2b979 commit 6c9b634

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/hls/hls_parser.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2411,12 +2411,13 @@ shaka.hls.HlsParser = class {
24112411
return this.uriToStreamInfosMap_.get(key);
24122412
}
24132413

2414+
const name = verbatimMediaPlaylistUris.join(',');
24142415
const closedCaptions = this.getClosedCaptions_(tags[0], type);
24152416
const codecs = shaka.util.ManifestParserUtils.guessCodecs(type, allCodecs);
24162417
const streamInfo = this.createStreamInfo_(
24172418
streamId, verbatimMediaPlaylistUris,
24182419
codecs, type, /* language= */ null, /* primary= */ false,
2419-
/* name= */ null, /* channelCount= */ null, closedCaptions,
2420+
name, /* channelCount= */ null, closedCaptions,
24202421
/* characteristics= */ null, /* forced= */ false,
24212422
/* sampleRate= */ null, /* spatialAudio= */ false);
24222423

0 commit comments

Comments
 (0)