ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.27k stars 628 forks source link

Webhook only firing on vodReady action #2036

Closed timmmmyboy closed 4 years ago

timmmmyboy commented 4 years ago

After adding a webhook in the app properties we only get a response to it when the vodReady action takes place. I am not seeing any activity to the webhook for liveStreamStarted or liveStreamEnded.

To Reproduce

  1. Edited the red5-web.properties file following the guide at https://antmedia.io/webhook-integration/
  2. Restart antmedia service
  3. Monitor webhook call at https://webhook.site/

Expected behavior According to the documentation a hook should fire when a live stream is started or ended as well as a VOD being created. Only the later is happening but nothing when a stream starts or ends.

heldner commented 4 years ago

Can confirm it, the issue is reproduced in snapshot 2.0 version. In 1.9.1 version all webhooks are works fine. @timmmmyboy which version do you have?

timmmmyboy commented 4 years ago

I should have added my version, I'm on Enterprise Edition 1.9.1 20200112_1830 and seeing this.

SelimEmre commented 4 years ago

Hi all,

I tried Enterprise Editions 1.9.1 & 2.0.0 Snapshot versions. It works well in both versions. Maybe another problem may be causing it. Could you please send an e-mail to contact@antmedia.io so that we can investigate in more detail?

In 1.9.1 Enterprise Edition Screenshot from 2020-05-01 10-04-21

In 2.0.0 Snapshot Enterprise Edition Screenshot from 2020-05-01 10-04-18

rvjtech commented 3 years ago

We are seeing webhook being called only vodReady event in Enterprise Edition 2.3.2 20210422_0456 image

mekya commented 3 years ago

Hi @rvjtech ,

Nevertheless, there are CI tests for web hooks on our end, there may be some problems. If you want, we can schedule a meeting together and take a look at your issue.

Btw, I've just tested with the latest version and it's working for me.

Regards, A. Oguz