Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRS crash when quickly close webrtc publish #4188

Open
kimichuan111 opened this issue Sep 27, 2024 · 1 comment
Open

SRS crash when quickly close webrtc publish #4188

kimichuan111 opened this issue Sep 27, 2024 · 1 comment
Labels
EnglishNative This issue is conveyed exclusively in English.

Comments

@kimichuan111
Copy link

kimichuan111 commented Sep 27, 2024

前端通过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/;
}

}

@winlinvip winlinvip added the EnglishNative This issue is conveyed exclusively in English. label Sep 27, 2024
@kimichuan111 kimichuan111 reopened this Sep 27, 2024
@kimichuan111 kimichuan111 changed the title SRS crash when quickly clod SRS crash when quickly close webrtc publish Sep 27, 2024
@winlinvip
Copy link
Member

Please attach the coredump and stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EnglishNative This issue is conveyed exclusively in English.
Projects
None yet
Development

No branches or pull requests

2 participants