提交 c69b70b8 编写于 作者: J jp9000

obs-outputs: Fix bug (RTMP only working once)

This was caused to do the new RTMP code that added support for multiple
streams; the stream index needs to be reset on RTMP_Close otherwise it
will keep using the wrong stream information.
上级 d3c8f81c
......@@ -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
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册