Per-request webhook_url in run-ffmpeg-command #18
auiphc
started this conversation in
Feature Requests
Replies: 1 comment 2 replies
-
|
@auiphc thanks for the feedback. Better webhook control and handling are on our roadmap and will be implemented quite soon. We will update via email and in the announcmenets here |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
The webhook URL is configured globally in the dashboard, making it painful to switch between environments. Local dev typically uses a tunneled URL (ngrok, etc.) that's different from production — manually updating the dashboard every time is error-prone.
Proposed Solution
Add an optional
webhook_urlfield to therun-ffmpeg-commandrequest body:{ "input_files": { "in_1": "https://example.com/input.mp4" }, "output_files": { "out_1": "output.gif" }, "ffmpeg_command": "-i {{in_1}} {{out_1}}", "webhook_url": "https://my-ngrok-url.ngrok.io/webhooks/rendi" }Behavior:
webhook_urlprovided → use it, ignore global settingwebhook_urlomitted → fall back to dashboard URL (existing behavior)Webhook payload format stays identical — purely a routing change.
Why Not Alternatives?
Beta Was this translation helpful? Give feedback.
All reactions