Added support for "track", "audio" and "video" params when pushing out RTMP. Params are not sent to target
This commit is contained in:
parent
3312848ada
commit
441932efe5
1 changed files with 8 additions and 0 deletions
|
@ -41,6 +41,14 @@ namespace Mist {
|
||||||
streamOut = streamName;
|
streamOut = streamName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (streamName.find('?') != std::string::npos){
|
||||||
|
streamName = streamName.substr(0, streamName.find('?'));
|
||||||
|
}
|
||||||
|
if (streamOut.find('?') != std::string::npos){
|
||||||
|
std::string tmpVars = streamOut.substr(streamOut.find('?') + 1);
|
||||||
|
streamOut = streamOut.substr(0, streamOut.find('?'));
|
||||||
|
parseVars(tmpVars);
|
||||||
|
}
|
||||||
initialize();
|
initialize();
|
||||||
INFO_MSG("About to push stream %s out. Host: %s, port: %d, app: %s, stream: %s", streamName.c_str(), host.c_str(), port, app.c_str(), streamOut.c_str());
|
INFO_MSG("About to push stream %s out. Host: %s, port: %d, app: %s, stream: %s", streamName.c_str(), host.c_str(), port, app.c_str(), streamOut.c_str());
|
||||||
myConn = Socket::Connection(host, port, false);
|
myConn = Socket::Connection(host, port, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue