Fix Connectiojn Limit Bug
This commit is contained in:
@@ -48,7 +48,7 @@ typedef bool (*RtmpAuthCallback)(const char *app, const char *stream_key,
|
||||
// Create and destroy
|
||||
RtmpServerHandle rtmp_server_create(int port);
|
||||
void rtmp_server_destroy(RtmpServerHandle handle);
|
||||
bool rtmp_server_start(RtmpServerHandle handle);
|
||||
bool rtmp_server_start(RtmpServerHandle handle, bool* isRunning);
|
||||
void rtmp_server_stop(RtmpServerHandle handle);
|
||||
bool rtmp_server_is_running(RtmpServerHandle handle);
|
||||
|
||||
@@ -340,7 +340,7 @@ public:
|
||||
RTMPServer(int port = 1935);
|
||||
~RTMPServer();
|
||||
|
||||
bool start();
|
||||
bool start(bool& isRunning);
|
||||
void stop();
|
||||
bool isRunning() const { return running; }
|
||||
|
||||
Reference in New Issue
Block a user