Skip to content

Commit

Permalink
pass media_headers when downoading pssh search segment
Browse files Browse the repository at this point in the history
  • Loading branch information
peak3d committed Nov 14, 2019
1 parent 0473ea8 commit 641e24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2242,7 +2242,7 @@ bool Session::InitializePeriod()
if (license_data_.empty())
{
Session::STREAM stream(*adaptiveTree_, adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_->type_);
stream.stream_.prepare_stream(adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_, 0, 0, 0, 0, 0, 0, 0, std::map<std::string, std::string>());
stream.stream_.prepare_stream(adaptiveTree_->current_period_->psshSets_[ses].adaptation_set_, 0, 0, 0, 0, 0, 0, 0, media_headers_);

stream.enabled = true;
stream.stream_.start_stream(0, width_, height_);
Expand Down

0 comments on commit 641e24b

Please sign in to comment.