SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
25.16k
stars
5.31k
forks
source link
Running on a 32-bit ARM platform generates a segmentation fault because of a log #3714
Closed
terrencetang2023 closed 1 year ago
Description
Running on a 32-bit ARM platform generates a segmentation fault because of a log
SRS Version: v6.0-d0
SRS Log:
Replay
bug at trunk/src/app/srs_app_hls.cpp srs_trace("-> " SRS_CONSTS_LOG_HLS " time=%dms, sno=%d, ts=%s, dur=%dms, dva=%dp", pprint->age(), controller->sequence_no(), controller->ts_url().c_str(), srsu2msi(controller->duration()), controller->deviation());
pprint->age() return value type is srs_utime_t (typedef int64_t), %lld is required instead of %d to output logs.
Step 1: xxxxxx
Step 2: xxxxxx
Step 3: xxxxxx
Expect
Expect to fix the bug here to support 32-bit ARM platforms
TRANS_BY_GPT3