Skip to content

Commit

Permalink
Add stream name to the stream status webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Nov 5, 2024
1 parent 1571e8d commit 696fd32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/antmedia/AntMediaApplicationAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,7 @@ public void notifyWebhookForStreamStatus(Broadcast broadcast, int width, int hei
variables.put("inputQueueSize", inputQueueSize);
variables.put("speed", speed);
variables.put("timestamp", System.currentTimeMillis());
variables.put("streamName",broadcast.getName());

try {
sendPOST(listenerHookURL, variables, appSettings.getWebhookRetryCount(), appSettings.getWebhookContentType());
Expand Down

0 comments on commit 696fd32

Please sign in to comment.