Skip to content

Commit

Permalink
Fix an issue with WebM SegmentBase streams and Annex I handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Nov 29, 2024
1 parent d49a1d5 commit 2b63376
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/dash/WebmSegmentBaseLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,8 @@ function WebmSegmentBaseLoader() {
request: request,
url: media,
init: false,
mediaType: mediaType
mediaType: mediaType,
representation
};

request = _getFragmentRequest(info);
Expand Down
6 changes: 5 additions & 1 deletion src/streaming/controllers/ExtUrlQueryInfoController.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,14 @@ function ExtUrlQueryInfoController() {
function getFinalQueryString(request) {
try {
if (!mpdQueryStringInformation) {
return
return null;
}
if (request.type === HTTPRequest.MEDIA_SEGMENT_TYPE || request.type === HTTPRequest.INIT_SEGMENT_TYPE) {
const representation = request.representation;

if (!representation) {
return null;
}
const adaptation = representation.adaptation;
const period = adaptation.period;
const queryInfo = mpdQueryStringInformation
Expand Down

0 comments on commit 2b63376

Please sign in to comment.