diff --git a/plugins/obs-outputs/librtmp/rtmp.c b/plugins/obs-outputs/librtmp/rtmp.c index e983468ad..0e53454cb 100644 --- a/plugins/obs-outputs/librtmp/rtmp.c +++ b/plugins/obs-outputs/librtmp/rtmp.c @@ -4252,6 +4252,7 @@ RTMP_Close(RTMP *r) r->Link.streams[idx].playpath.av_val = NULL; } + r->Link.curStreamIdx = 0; r->Link.nStreams = 0; #endif }