Skip to content

Does SRS support play back? #3792

Answered by grootgordon
cococonuts asked this question in Q&A
Discussion options

You must be logged in to vote

AFAIK, SRS doesn't directly support playback. In order to achieve playback functionality, we need to develop two external program for its implementation.

I have completed the following steps, hope they can be helpful to you:

  1. Utilize the SRS on_hls callback to notify a transmitter program about new HLS segments.
  2. The transmitter program can then save the HLS TS index to Redis (or MySQL) and upload the local TS file to remote S3 server, such as: MinIO, Ceph, or Public Cloud Storage Server.
  3. The consumer program serves as an HTTP backend, handling client player's HTTP playback requests. For example, it can serve HTTP requests like: http://domain/app/stream.m3u8?startTime=xxx&endTime=xxx. The …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@winlinvip
Comment options

Answer selected by winlinvip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
EnglishNative This issue is conveyed exclusively in English.
3 participants