mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
reset the audio sample size and video frame size when unpublish
This commit is contained in:
parent
0645f5e927
commit
687d190da1
1 changed files with 1 additions and 0 deletions
|
@ -469,6 +469,7 @@ void SrsSource::on_unpublish()
|
|||
clear_gop_cache();
|
||||
|
||||
srs_freep(cache_metadata);
|
||||
video_frame_rate = audio_sample_rate = 0;
|
||||
|
||||
srs_freep(cache_sh_video);
|
||||
srs_freep(cache_sh_audio);
|
||||
|
|
Loading…
Reference in a new issue