Forum

Stream up/down API > Telegram message

Grega 2021-07-26 05:22:58 UTC in Nimble Streamer

I can manually check SRT status (sender/receiver) (and other: RTMP, RTSP, ...) via API JSON. Is it possible to assign event on connected/disconnected and have Telegram message sent on status change?

Sergei 2021-07-27 02:35:34 UTC 

Hello, Grega.

I assume you want to receive notifications if a live stream from Nimble goes offline for some reason.

I guess Telegram provides quite a flexible API to use with scripting, but if you looking for some samples of using Nimble API or WMSPanel API with Telegram, we do not have it, unfortunately.

As for the SRT /manage/srt_receiver_stats method can be used, with the conditioning on the "id" and "state" field which are the id of a connection and its state (connected/disconnected).
https://wmspanel.com/nimble/api#toggler=12

As for other protocols, WMSPanel API can be used with the conditioning on the "status" field.
https://wmspanel.com/api_info#sb_live_streams

Thank you.

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.