mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support more splash in http url. remove the strip of SrsRequest, use srs_string_remove instead, change to 0.9.44
This commit is contained in:
parent
f2216691f9
commit
b71eb0d49a
8 changed files with 77 additions and 42 deletions
|
@ -111,11 +111,11 @@ int SrsFFMPEG::initialize(SrsRequest* req, SrsConfDirective* engine)
|
|||
|
||||
// output stream, to other/self server
|
||||
// ie. rtmp://127.0.0.1:1935/live/livestream_sd
|
||||
output = srs_replace(output, "[vhost]", req->vhost);
|
||||
output = srs_replace(output, "[port]", req->port);
|
||||
output = srs_replace(output, "[app]", req->app);
|
||||
output = srs_replace(output, "[stream]", req->stream);
|
||||
output = srs_replace(output, "[engine]", engine->arg0());
|
||||
output = srs_string_replace(output, "[vhost]", req->vhost);
|
||||
output = srs_string_replace(output, "[port]", req->port);
|
||||
output = srs_string_replace(output, "[app]", req->app);
|
||||
output = srs_string_replace(output, "[stream]", req->stream);
|
||||
output = srs_string_replace(output, "[engine]", engine->arg0());
|
||||
|
||||
// write ffmpeg info to log file.
|
||||
log_file = _srs_config->get_ffmpeg_log_dir();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue