obs-outputs: Allow blank RTMP stream key usage

Allows a blank stream key to be used for RTMP streams.
This commit is contained in:
Lexsus
2014-11-17 14:23:30 +03:00
committed by jp9000
parent b3312a7657
commit 9c34be8af1

View File

@@ -364,11 +364,6 @@ static int try_connect(struct rtmp_stream *stream)
return OBS_OUTPUT_BAD_PATH;
}
if (dstr_is_empty(&stream->key)) {
warn("Stream key is empty");
return OBS_OUTPUT_BAD_PATH;
}
info("Connecting to RTMP URL %s...", stream->path.array);
if (!RTMP_SetupURL2(&stream->rtmp, stream->path.array,