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
Edge: HTTP-API (/api/v1/streams) is unable to retrieve the detailed frame. #3693
Open
cocozhaocs opened 1 year ago
Description
When SRS is used in remote mode as an edge server, the HTTP-API (/api/v1/streams) is unable to retrieve the detailed frame of the stream.
SRS Version:3.0.168
SRS Log:
[2023-07-19 11:06:21.619][Error][176752][243][62] serve error code=1011 : parse message : parse message : grow buffer : read bytes : timeout 15000 ms thread [176752][243]: do_cycle() [src/app/srs_app_http_api.cpp:1354][errno=62] thread [176752][243]: parse_message() [src/service/srs_service_http_conn.cpp:95][errno=62] thread [176752][243]: parse_message_imp() [src/service/srs_service_http_conn.cpp:156][errno=62] thread [176752][243]: grow() [src/protocol/srs_protocol_stream.cpp:179][errno=62] thread [176752][243]: read() [src/service/srs_service_st.cpp:478][errno=62](Timer expired)
Replay
Please describe how to replay the bug?
Step 1: Enable http-api config
Step 2: Use remote mode as a edge stream node.
Step 3: Pull stream from edge node. Get stream frame detail by /api/v1/streams.
Expect
whether srs can get frame info by http-api(/api/v1/streams) when use remote mode . if can ,which version and what should I do?
TRANS_BY_GPT3