From 46777531694a1f6a1955708051da1193a1f9ac3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glin?= <56258400+fredrik-telia@users.noreply.github.com> Date: Wed, 23 Nov 2022 15:54:02 +0100 Subject: [PATCH] fix: respect characteristics when creating stream object --- lib/hls/hls_parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hls/hls_parser.js b/lib/hls/hls_parser.js index d7c393ccd7f..c0b7e5d0502 100644 --- a/lib/hls/hls_parser.js +++ b/lib/hls/hls_parser.js @@ -2032,7 +2032,7 @@ shaka.hls.HlsParser = class { width: undefined, height: undefined, bandwidth: undefined, - roles: [], + roles: characteristics ? [characteristics] : [], forced, channelsCount, audioSamplingRate: null,