Cloudflare Stream video gets stuck in "live-inprogress" status

Type

Video

What is the issue you’re encountering

Cloudflare Stream video gets stuck in “live-inprogress” status

What steps have you taken to resolve the issue?

This issue seems random, but it mostly happens with very short videos (around 30 seconds or less).

Here’s my process:

I start my live input and stream to the RTMP link using an FFmpeg command.
When I’m finished, I kill the command, and the dashboard then shows the status as “Disconnected.”
The problem is that the video remains stuck in “live” status instead of transitioning, which is critical for my setup. I’m waiting for a webhook to be triggered when the video reaches a “ready” status, but it either never reaches this point or does so very late (sometimes an hour afterward), which is a major issue for my application.

Am I doing something wrong in this setup? Or is there something specific I need to adjust for short videos? The behavior seems inconsistent, as sometimes it works as expected, but other times it doesn’t.

IMHO, and this is based on over 20 years of streaming live.
30 second “live” videos aren’t even giving the system enough time to run through its setup process.
Why do you only want to go live for such a short period of time?
Are you on hard wired internet or wireless? How much data are you trying to push through?

You’re most probably right, I will put a minimum stream duration and it should solve my issue.

Thanks!