Skip to content

Commit

Permalink
changes to support audio_hls delivery type
Browse files Browse the repository at this point in the history
  • Loading branch information
dallen42 committed Oct 18, 2018
1 parent 34db5ce commit e5ab812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion html5-common
6 changes: 3 additions & 3 deletions src/main/js/main_html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ import CONSTANTS from "./constants/constants";
list.push(OO.VIDEO.ENCODING.HLS);
list.push(OO.VIDEO.ENCODING.AKAMAI_HD2_VOD_HLS);
list.push(OO.VIDEO.ENCODING.AKAMAI_HD2_HLS);
list.push(OO.VIDEO.ENCODING.AUDIO_ONLY_HLS);
list.push(OO.VIDEO.ENCODING.AUDIO_HLS);
}

// Sony OperaTV supports HLS but doesn't properly report it so we are forcing it here
if (window.navigator.userAgent.match(/SonyCEBrowser/)) {
list.push(OO.VIDEO.ENCODING.HLS);
list.push(OO.VIDEO.ENCODING.AKAMAI_HD2_VOD_HLS);
list.push(OO.VIDEO.ENCODING.AKAMAI_HD2_HLS);
list.push(OO.VIDEO.ENCODING.AUDIO_ONLY_HLS);
list.push(OO.VIDEO.ENCODING.AUDIO_HLS);

}
}
Expand Down Expand Up @@ -334,7 +334,7 @@ import CONSTANTS from "./constants/constants";
isM3u8 = (encoding == OO.VIDEO.ENCODING.HLS ||
encoding == OO.VIDEO.ENCODING.AKAMAI_HD2_VOD_HLS ||
encoding == OO.VIDEO.ENCODING.AKAMAI_HD2_HLS ||
encoding == OO.VIDEO.ENCODING.AUDIO_ONLY_HLS
encoding == OO.VIDEO.ENCODING.AUDIO_HLS
);
isLive = live;
urlChanged = true;
Expand Down

0 comments on commit e5ab812

Please sign in to comment.