Skip to content
Permalink
Browse files

fixed: null session on Open failure

  • Loading branch information...
akva2 committed Mar 13, 2017
1 parent df64b9b commit 6c1af46a59f59d8fe22f772ac53eee30968e242a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/RTMPStream.cpp
@@ -142,6 +142,7 @@ std::map<std::string, AVal> options =
if (!RTMP_Connect(session, nullptr) || !RTMP_ConnectStream(session, 0))
{
RTMP_Close(session);
session = nullptr;
return false;
}

0 comments on commit 6c1af46

Please sign in to comment.
You can’t perform that action at this time.