Skip to content

Commit

Permalink
fix: compiling error for DVR: Copy req from publish (ossrs#2714) (397…
Browse files Browse the repository at this point in the history
  • Loading branch information
peipeiguo committed Sep 7, 2022
1 parent 8b42cb4 commit faa3f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trunk/src/app/srs_app_dvr.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ srs_error_t SrsDvr::on_reload_vhost_dvr_apply(string vhost)
return err;
}

if ((err = on_publish()) != srs_success) {
if ((err = on_publish(req)) != srs_success) {
return srs_error_wrap(err, "on publish");
}
if ((err = hub->on_dvr_request_sh()) != srs_success) {
Expand Down

0 comments on commit faa3f96

Please sign in to comment.