Skip to content

Videos

Inspect playback

Use the Appwrite Videos inspector to watch a playback session's experience score, buffer, bitrate, network requests, and manifests.

5 min read

Raw

The inspector shows what the player in the Console is doing while it plays a video. Use it to check how fast a stream starts, whether it rebuffers, which renditions it picks, and what the player actually requested.

Open the inspector

  1. Open Videos in your project and select a video with at least one ready rendition.
  2. Play the video on its Overview. The inspector shows under the player and fills in as the session runs.

To give it more room, open it in a new window.

Inspector overview with an excellent experience score, no issues detected, and startup, bitrate, and upscaling metrics
Inspector overview with an excellent experience score, no issues detected, and startup, bitrate, and upscaling metrics

The inspector measures the session in your browser on your connection. To see how a stream behaves for slower viewers, throttle the network in your browser's developer tools and play again.

Open in a new window

The inspector can open in its own window, so you can keep the video and the inspector side by side, or put them on separate screens. To open it:

  • Click Open in new window in the inspector's header.
  • Select Inspector in the player's settings menu.
  • Select Inspector under Playback in the video menu.

While the window is open, a bar under the player says The inspector is open in a separate window. Click Show window to bring it to the front, or Close to close it. Closing the Console tab closes the window too.

The window follows the video playing on a video's Overview. If you leave that page, the window waits for the player, with a Go to overview button to get back.

If no window opens, your browser blocked the pop-up. Allow pop-ups for the Console's site and try again.

The embedded player has Inspector in its settings menu too, so you can inspect a stream where it plays on your own site.

Key metrics

If you are new to video, these few numbers tell you most of what matters:

MetricWhat it meansWhat good looks like
Time to first frameHow long the player takes to have the first frame ready once the manifest has loaded. The manifest's load time shows under it and is not countedAs low as possible. Viewers notice anything near a second
RebufferingTime spent paused waiting for data after playback startedZero, or close to it
Average bitrateThe quality the player sustained, on averageClose to your top rendition on a fast connection
Quality switchesHow often the player changed renditionA few early on, then stable
Dropped framesFrames the device could not decode in timeNear zero. Many dropped frames point to a device or codec limit, not the network

The experience score rolls these into one number for the session, built from four parts: Startup, Smoothness, Picture quality, and Stability. Diagnostics points out what pulled it down.

Sections

SectionWhat it shows
OverviewAn experience score for the session, with diagnostics, time to first frame, rebuffering, average bitrate, quality switches, dropped frames, upscaling, bandwidth estimate, and watch time. Charts for bandwidth and bitrate, and buffer health
QualityThe bitrate ladder the player parsed, time spent on each rendition, and the history of quality switches. Lock the player to one rendition, or set it back to Auto quality
NetworkEvery segment request in a waterfall, with transferred bytes, average throughput, median time to first byte, and the slowest 5% load time
EventsPlayer events, newest first, such as loads, quality switches, stalls, and errors
ManifestsThe master manifest and media playlists the player loaded, to copy, reload, or open in a new tab
DeviceCodec support and playback capabilities of this device and browser, and whether each rendition can play smoothly here

Press 1 to 6 to switch sections. To hold the numbers still while you read them, use Pause live updates, and Resume live updates to pick up again.

Read the results

  • Slow start: Check time to first frame and the manifest time under it, and the first segment requests in Network. A slow manifest, a large first segment, or a slow time to first byte delays the picture.
  • Rebuffering: Check buffer health against the bandwidth estimate. If the player stays on a rendition above the available bandwidth, add a lower profile to the ladder.
  • Soft picture: Check Upscaling and the time spent per rendition. A ladder without a rendition near the player size forces upscaling.
  • A rendition never plays: Check Device. The device may not support that rendition's codec.

Test a ladder change

Use the inspector to check a change to your profiles before you roll it out to every video:

  1. Encode the new ladder on one test video.
  2. In your browser's developer tools, throttle the network to a slow profile, such as a mobile connection.
  3. Open the inspector and play the test video from the start. Note time to first frame, rebuffering, and which renditions the player used in Quality.
  4. Repeat on an unthrottled connection, then compare with a video on the old ladder.

Share a session

Use Copy summary to paste the session's key numbers into an issue or a chat, Export session to download the full session as a JSON file, and Copy log in Events to share the player events. This makes it easier to compare runs, or to show a teammate exactly what happened.

To start over without reloading the page, use Restart session, or Clear collected data to keep playing with empty charts.

Was this page helpful?

Share what worked or what we should fix. Once approved, our agents automatically apply suggested updates to the docs.