ossrs / srs

SRS is a simple, high-efficiency, real-time video server supporting RTMP, WebRTC, HLS, HTTP-FLV, SRT, MPEG-DASH, and GB28181.
https://ossrs.io
MIT License
24.86k stars 5.29k forks source link

Inquiry Regarding Streaming GB28181 and HEVC Feasibility in SRS 6.0: Issues with SRS-Bench and Multi-Stream Simulation #3763

Closed yucongchan closed 11 months ago

yucongchan commented 11 months ago

Hello respected community members,

I am currently researching the feasibility and resilience of GB28181 and HEVC in the SRS version 6.0. Here is some information about my setup:

Environment: Docker on my personal computer Operating System: CentOS 7.9 image Compilation and Installation: SRS 6.0 version, srs-bench

I have gone through the documentation provided by running "./objs/srs_bench -sfu gb28181 --help", and during the actual testing process, I encountered two issues:

I used the command "./objs/srs_bench -sfu gb28181 -pr tcp://127.0.0.1:5060 -user livestream -server srs -domain ossrs.io -sa avatar.aac -sv avatar.h264 -fps 25" to simulate streaming, replacing the intermediate h264 file with a 30-minute video file. I played the stream "rtmp://127.0.0.1/live/livestream" using ffplay. I noticed that the playback stopped after 25 seconds, and I also observed a "Done" message in the CentOS environment. Questions:

When using "./objs/srs_bench -sfu gb28181" for streaming, how can I ensure that the entire duration of the video file is streamed? While using the srs-bench tool to test GB28181, is it possible to simulate multiple streams being pushed simultaneously? When streaming from GB28181 to SRS 6.0, is there an HTML5 interface available to view the number of active GB28181 channels?