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

Call custom API endpoint on stream dispose #23

Open
ardianreqica opened this issue Oct 14, 2021 · 2 comments
Open

Call custom API endpoint on stream dispose #23

ardianreqica opened this issue Oct 14, 2021 · 2 comments

Comments

@ardianreqica
Copy link

I am publishing multiple streams on RTMP server(on each call I made custom job like updating stream status in db). -> This part is easy since in RTMP create stream message you have publishingName(StreamKey).

I am asking where is the right place to do custom work on stream stop (to do custom api call for updating stream status in db)

I made this part in RtmpController in DeleteStreamAsync method (first mapped streamID with streamName) but when running multiple stream - that custom API call is not made.

Does this part need to be handle on different part or am I doing something wrong?

@drajvver
Copy link

I understand that it has been 2 years since this post, but I'm stuck...
How did you manage to execute anything on 'deleteStream' event? I can't trigger anything when stream is stopping using OBS.

@a1q123456
Copy link
Owner

Hi drajvver, I can check it later when I have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants