Fixed urldecoding for receiving RTMP pushes.

This commit is contained in:
Thulinma 2016-05-11 14:32:18 +02:00
parent fcdf788596
commit 4a3c2a055b

View file

@ -589,7 +589,7 @@ namespace Mist {
} //getStreamLength
if ((amfData.getContentP(0)->StrValue() == "publish")) {
if (amfData.getContentP(3)) {
streamName = amfData.getContentP(3)->StrValue();
streamName = Encodings::URL::decode(amfData.getContentP(3)->StrValue());
reqUrl += "/"+streamName;//LTS
/*LTS-START*/