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

Fix aac specific config reset on stop


Signed-off-by: default avatarLeo Ma <begeekmyfriend@gmail.com>
parent 5b0f39b6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -223,6 +223,7 @@ public class SrsFlvMuxer {
Log.i(TAG, "worker: disconnect SRS ok.");
}
 
flv.reset();
needToFindKeyFrame = true;
Log.i(TAG, "SrsFlvMuxer closed");
}
Loading
Loading
@@ -800,10 +801,13 @@ public class SrsFlvMuxer {
 
public SrsFlv() {
avc = new SrsRawH264Stream();
reset();
}
public void reset() {
h264_sps_changed = false;
h264_pps_changed = false;
h264_sps_pps_sent = false;
aac_specific_config = null;
}
 
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