ossrs/srs

SRS crash when quickly close webrtc publish

Opened this issue · 1 comments

前端通过webrtc推流,srs配置dvr录制功能,当webrtc推流成功后快速关闭,会概率性出现srs进程崩溃。dvr录制目录会有一个48B的tmp文件,查看srs log,没有报错提示
srs配置文件:
vhost defaultVhost {
rtc {
enabled on;
rtmp_to_rtc on;
rtc_to_rtmp on;
}

dvr {
    enabled      on;
    dvr_apply    all;
    dvr_path     /App/www/dvr/[app]/[stream].[timestamp].mp4;
    dvr_plan     session;
}
http_hooks {
     enabled         on;
     on_dvr          https://xxxxx/talk/dvr_hook/;
}

}

Please attach the coredump and stack trace.