File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -1027,22 +1027,17 @@ shaka.media.StreamingEngine = class {
1027
1027
* shaka.extern.Stream>}
1028
1028
*/
1029
1029
const streamsByType = new Map ( ) ;
1030
- /** @type {!Set<shaka.extern.Stream> } */
1031
- const streams = new Set ( ) ;
1032
1030
1033
1031
if ( this . currentVariant_ . audio ) {
1034
1032
streamsByType . set ( ContentType . AUDIO , this . currentVariant_ . audio ) ;
1035
- streams . add ( this . currentVariant_ . audio ) ;
1036
1033
}
1037
1034
1038
1035
if ( this . currentVariant_ . video ) {
1039
1036
streamsByType . set ( ContentType . VIDEO , this . currentVariant_ . video ) ;
1040
- streams . add ( this . currentVariant_ . video ) ;
1041
1037
}
1042
1038
1043
1039
if ( this . currentTextStream_ ) {
1044
1040
streamsByType . set ( ContentType . TEXT , this . currentTextStream_ ) ;
1045
- streams . add ( this . currentTextStream_ ) ;
1046
1041
}
1047
1042
1048
1043
// Init MediaSourceEngine.
You can’t perform that action at this time.
0 commit comments