Skip to content

Commit 4847a8f

Browse files
ToriLindsaytsmith512Oxyjun
authored
[Stream] live stream troubleshooting guide (#23829)
* [stream] troubleshooting * [Stream] live stream troubleshooting guide * Added error code section * Add descriptions of terms * Update src/content/docs/stream/stream-live/troubleshooting.mdx * Update src/content/docs/stream/stream-live/troubleshooting.mdx * Update src/content/docs/stream/stream-live/troubleshooting.mdx * [Stream]: Some edits re basic troubleshooting for live * Fixed typos and grammar, rearranged for better flow * [Stream] Minor tweaks * [Stream] Remove Live event log for now, need to revise before publishing * [Stream] CHangelog, adjust nav pattern, add article * Adjustments suggested by @nikitacano * Update date * Wording tweaks * Update src/content/changelog/stream/2025-08-06-stream-live-observability.mdx Co-authored-by: Jun Lee <[email protected]> * Update src/content/changelog/stream/2025-08-06-stream-live-observability.mdx Co-authored-by: Jun Lee <[email protected]> * Fix rollout date --------- Co-authored-by: Taylor Smith <[email protected]> Co-authored-by: Jun Lee <[email protected]>
1 parent 7c99879 commit 4847a8f

File tree

3 files changed

+68
-0
lines changed

3 files changed

+68
-0
lines changed
192 KB
Loading
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Introducing observability and metrics for Stream Live Inputs
3+
description: >
4+
Use new observability on Stream Live Inputs to better understand broadcast-side
5+
health and performance, now easily available in Dash and programmatically via
6+
GraphQL.
7+
date: 2025-08-08
8+
---
9+
10+
New information about broadcast metrics and events is now available in
11+
[Cloudflare Stream](/stream/) in the Live Input details of the Dashboard.
12+
13+
![Live Input details showing metrics](~/assets/images/changelog/stream/2025-08-05-live-input-metrics.png)
14+
15+
You can now easily understand broadcast-side health and performance with new
16+
observability, which can help when troubleshooting common issues, particularly
17+
for new customers who are just getting started, and platform customers who may
18+
have limited visibility into how their end-users configure their encoders.
19+
20+
To get started, start a live stream ([just getting started?](/stream/examples/obs-from-scratch/)), then visit the Live Input details page in Dash.
21+
22+
See our new live [Troubleshooting](/stream/stream-live/troubleshooting/) guide
23+
to learn what these metrics mean and how to use them to address common broadcast
24+
issues.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
pcx_content_type: troubleshooting
3+
title: Troubleshooting a live stream
4+
sidebar:
5+
order: 12
6+
7+
---
8+
import { Steps, Details } from "~/components"
9+
10+
In addition to following the live stream troubleshooting steps in this guide, make sure that your video settings align with [Cloudflare live stream recommendations](/stream/stream-live/start-stream-live/#recommendations-requirements-and-limitations). If you use OBS, you can also check these [OBS-specific recommendations](/stream/examples/obs-from-scratch/#6-optional-optimize-settings).
11+
12+
## Buffering, freezing, and latency
13+
14+
If your live stream is buffering, freezing, experiencing latency issues, or having other similar issues, try these troubleshooting steps:
15+
16+
<Steps>
17+
1. Go to the [Cloudflare dashboard](https://dash.cloudflare.com) > **Stream** > **Live Inputs** > the Live Input in use > **Metrics** tab.
18+
19+
2. Look at your **Keyframe Interval** chart.
20+
21+
It should be a consistent flat line that stays between 2s and 8s. If you see an inconsistent or wavy line, or a line that is consistently below 2s or above 8s, adjust the keyframe interval (also called GOP size) in your software or service used to send the stream to Cloudflare. The exact steps for editing those settings will depend on your platform.
22+
* Start by setting the keyframe interval to 4s. If playback is stable but latency is still too high, lower it to 2s. If you are experiencing buffering or freezing in playback, increase it to 8s.
23+
24+
* If the keyframe interval is "variable" or "automatic", change it to a specific number instead, like 4s.
25+
26+
<Details header="What is a keyframe interval?">
27+
The keyframe interval (also called GOP size) is a measurement of how often keyframes are sent to Stream. A shorter keyframe interval requires more internet bandwidth on the broadcast side, but can reduce glass-to-glass latency. A longer keyframe requires less internet bandwidth and can reduce buffering and freezing, but can increase glass-to-glass latency.
28+
</Details>
29+
30+
3. Look at your **Upload-to-Duration Ratio** chart.
31+
32+
It should be a consistent flat line below 90%. If you see an inconsistent or wavy line, or a line that is consistently above 100%, try the following troubleshooting steps:
33+
* [Check that your internet upload speed](https://speed.cloudflare.com/) is at least 20 Mbps. If it is below 20 Mbps, use common troubleshooting steps such as restarting your router, using an Ethernet connection instead of Wi-Fi, or contacting your internet service provider.
34+
35+
* Check the video bitrate setting in the software or service you use to send the stream to Cloudflare.
36+
* If it is "variable", change it to "constant" with a specific number, like 8 Mbps.
37+
* If it is above 15 Mbps, lower it to 8 Mbps or 70% of your internet speed, whichever is lower.
38+
39+
* Follow the steps above (the keyframe interval steps) to _increase_ the keyframe interval in the software or service you use to send the stream to Cloudflare.
40+
41+
<Details header="What is the upload-to-duration ratio?">
42+
The upload-to-duration ratio is a measurement of how long it takes to upload a part of the stream compared to how long that part would take to play. A ratio of less than 100% means that the stream is uploading at least as fast as it would take to play, so most users should not experience buffering or freezing. A ratio of 100% or more means that your video is uploading slower than it would take to play, so it is likely that most users will experience buffering and freezing.
43+
</Details>
44+
</Steps>

0 commit comments

Comments
 (0)