-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
HLS: Crashed on Raspberry Pi 3 when access FLV #2783
Comments
Coredump please upload attachments and binaries, or provide bt stack information.
|
core_dump.zip
|
Top
|
Raspberry Pi 4 is also like this.
|
Please provide the BT file. I don't have a Raspberry Pi environment, so I can't view it. Please search on Baidu how to view the BT file for Core.
|
On the Raspberry Pi, when enabling the HLS configuration in SRS 4.0, the RTMP streaming client crashes after approximately 10 seconds. The following is the gdb backtrace information:
|
The bug is introduced by formarting log with string: void SrsHls::hls_show_mux_log()
srs_trace("-> " SRS_CONSTS_LOG_HLS " time=%" PRId64 "ms, sno=%d, ts=%s, dur=%dms, dva=%dp",
pprint->age(), controller->sequence_no(), controller->ts_url().c_str(),
srsu2msi(controller->duration()), controller->deviation()); The only formating string is |
I notice the FLV was requested, but user didn't enable it:
May be caused by this problem, need to reproduce it. |
Description
When configuring HLS parameters and streaming with Raspberry Pi 3, SRS crashes after a few packets.
1. SRS Version:
4.0release
1. SRS Log:
srs end
Push end
1. The configuration of SRS is as follows (Config):
Other
All have been tested, the phenomenon is the same.
Without adding the hls segment in the configuration file, only supporting rtmp is normal.
File generation is normal.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: