We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1cb436 commit 72689a8Copy full SHA for 72689a8
src/input/input_tssrt.cpp
@@ -142,7 +142,10 @@ namespace Mist{
142
std::string streamid = srtConn->getStreamName();
143
int64_t acc = config->getInteger("acceptable");
144
if (acc == 0){
145
- if (streamid.size()){streamName += "+" + streamid;}
+ if (streamid.size()){
146
+ Util::sanitizeName(streamid);
147
+ streamName += "+" + streamid;
148
+ }
149
}else if(acc == 2){
150
if (streamName != streamid){
151
FAIL_MSG("Stream ID '%s' does not match stream name, push blocked", streamid.c_str());
0 commit comments