Fix stream pushing from various RTMP sources that pass get parameters in the streamname.
This commit is contained in:
parent
016dcf36e0
commit
22ad0f2880
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ namespace Mist {
|
|||
if ((amfData.getContentP(0)->StrValue() == "publish")) {
|
||||
if (amfData.getContentP(3)) {
|
||||
streamName = amfData.getContentP(3)->StrValue();
|
||||
Util::Stream::sanitizeName(streamName);
|
||||
//pull the server configuration
|
||||
JSON::Value servConf = JSON::fromFile(Util::getTmpFolder() + "streamlist");
|
||||
if (servConf.isMember("streams") && servConf["streams"].isMember(streamName)){
|
||||
|
|
Loading…
Add table
Reference in a new issue