Jump to content
Cesbo Community
  • Announcements

    • RadioSintetica

      News!   12/10/17

      If you have any questions related to installation and purchase, please check our documentation https://cesbo.com/en/astra/docs/ and terms of service https://cesbo.com/en/terms/
      Also, we have an official Telegram chat: https://t.me/cesbo_en  you can ask any questions or share your experience with colleagues Если у вас возникли вопросы по установке и покупке, ознакомьтесь пожалуйста с документацией по адресу https://cesbo.com/ru/astra/docs/ и условиями использования https://cesbo.com/ru/terms/
      Так же, обращаю внимание, что у нас есть официальный Телеграмм чат: https://t.me/cesbo_ru в котором можно задать вопросы - или поделиться своим опытом с коллегами
Sign in to follow this  
FastUser

LUA script: start/stop calls

Recommended Posts

Hi,

I don't know how to call an external program when a channel is started/stopped.
See this example:

make_channel({
    name = "channel",
    input = {
        "udp://239.1.1.1:1234",
    },
    output = {
        "http://0.0.0.0:80/channel",
    },
})

The objective is to call to one external script when the input starts to consume, and call to another external script when the input is closed. This has sense because the outuput is "on demand".

Any idea?
Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×