Skip to content

Commit

Permalink
Use new NetworkingEngine interface in HlsParser.
Browse files Browse the repository at this point in the history
Issue #1514

Change-Id: If9525c358d4a0a7c3c1a5fcdb6a63afd911efe66
  • Loading branch information
TheModMaker authored and joeyparrish committed Aug 1, 2018
1 parent c23725f commit df09eeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/hls/hls_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,9 @@ shaka.hls.HlsParser.prototype.fetchPartialSegment_ = function(segmentRef) {
'support Range requests and CORS preflights.',
request.uris[0]);
request.headers = fullSegmentHeaders;
return networkingEngine.request(requestType, request);
let operation = networkingEngine.request(requestType, request);
this.operationManager_.manage(operation);
return operation.promise;
});
};

Expand Down

0 comments on commit df09eeb

Please sign in to comment.