Skip to content
Snippets Groups Projects
Commit 2064b539 authored by Leo Ma's avatar Leo Ma
Browse files

Clear the frame cache before close consumer thread


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 9e8fbbcf
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -200,6 +200,7 @@ public class SrsFlvMuxer {
* stop the muxer, disconnect RTMP connection.
*/
public void stop() {
mFlvTagCache.clear();
if (worker != null) {
worker.interrupt();
try {
Loading
Loading
@@ -208,7 +209,6 @@ public class SrsFlvMuxer {
e.printStackTrace();
worker.interrupt();
}
mFlvTagCache.clear();
worker = null;
}
flv.reset();
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment