File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -120,9 +120,13 @@ shaka.hls.Tag = class {
120120 /**
121121 * Create the string key of the tag.
122122 *
123+ * @param {boolean } keepAllAtributtes
123124 * @return {string }
124125 */
125- getTagKey ( ) {
126+ getTagKey ( keepAllAtributtes ) {
127+ if ( keepAllAtributtes ) {
128+ return this . toString ( ) ;
129+ }
126130 const attributesToSkip = new Set ( )
127131 . add ( 'AUDIO' )
128132 . add ( 'VIDEO' )
Original file line number Diff line number Diff line change @@ -1375,7 +1375,7 @@ shaka.hls.HlsParser = class {
13751375
13761376 const groupedTags = { } ;
13771377 for ( const tag of mediaTags ) {
1378- const key = tag . getTagKey ( ) ;
1378+ const key = tag . getTagKey ( ! this . contentSteeringManager_ ) ;
13791379 if ( ! groupedTags [ key ] ) {
13801380 groupedTags [ key ] = [ tag ] ;
13811381 } else {
@@ -1456,7 +1456,7 @@ shaka.hls.HlsParser = class {
14561456
14571457 const groupedTags = { } ;
14581458 for ( const tag of tags ) {
1459- const key = tag . getTagKey ( ) ;
1459+ const key = tag . getTagKey ( ! this . contentSteeringManager_ ) ;
14601460 if ( ! groupedTags [ key ] ) {
14611461 groupedTags [ key ] = [ tag ] ;
14621462 } else {
You can’t perform that action at this time.
0 commit comments