Skip to content

Commit

Permalink
fix this commit bug (497c2d5)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhaibo committed May 11, 2021
1 parent a0c09d8 commit 6689d88
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions trunk/src/app/srs_app_hls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,13 @@ srs_error_t SrsHlsMuxer::update_config(SrsRequest* r, string entry_prefix,
srs_error_t err = srs_success;

// @see https://github.com/ossrs/srs/issues/2311
req->update_auth(r);

if (req) {
req->update_auth(r);
}
else {
req = r->copy();
}

hls_entry_prefix = entry_prefix;
hls_path = path;
hls_ts_file = ts_file;
Expand Down

0 comments on commit 6689d88

Please sign in to comment.