Skip to content
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

Fully implement SRS callback API #2

Open
JanKoppe opened this issue Apr 23, 2020 · 0 comments
Open

Fully implement SRS callback API #2

JanKoppe opened this issue Apr 23, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@JanKoppe
Copy link
Member

We should implement a full SRS callback API so that we get as much integration and feedback from SRS as possible.

Currently a very minimal, naive approach for this exists in the RTMP app.

Documentation of the HTTP hooks that are implemented in SRS can be found here: https://github.com/ossrs/srs/wiki/v3_EN_HTTPCallback

Note that the on_play and on_stop features will not necessarily be useful for us in their original purpose. We do not intend to let viewers connect to the stream via RTMP against SRS, but instead front it all behind HLS with a caching layer. Therefore these on_play and on_stop events will be triggered by internal clients, e.g. restream, transcode, or other specialized functions.

If possible, always try to find a layer of abstraction where we could offer a slightly modified version that works with e.g. nginx-rtmp or other possible streaming servers.

@JanKoppe JanKoppe added the help wanted Extra attention is needed label Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant