Browse Source

obs-outputs: Fix bug (headers not always sent)

If a disconnection occurs, the sent_headers would still be set to true,
and when a reconnect occurs, it would not send the headers again.
jp9000 10 years ago
parent
commit
56f4dd5359
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugins/obs-outputs/rtmp-stream.c

+ 1 - 0
plugins/obs-outputs/rtmp-stream.c

@@ -264,6 +264,7 @@ static void *send_thread(void *data)
 	}
 
 	stream->active = false;
+	stream->sent_headers = false;
 	return NULL;
 }