RTMPS playback

Example of sub 1s latency video playback using RTMPS and ffplay

Last updated Apr 21, 2026 Note

Before you can play live video, you must first be actively streaming to a live input.

Copy the RTMPS playback key for your live input from either:

Paste it into the URL below, replacing <RTMPS_PLAYBACK_KEY>:

RTMPS playback with ffplaysh

ffplay -analyzeduration 1 -fflags -nobuffer -sync ext 'rtmps://live.cloudflare.com:443/live/<RTMPS_PLAYBACK_KEY>'

For more, refer to Play live video in native apps with less than one second latency.

Was this helpful?

YesNo

On this page

RTMPS playback - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/stream/examples/rtmps_playback/#page","headline":"RTMPS playback","description":"Example of sub 1s latency video playback using RTMPS and ffplay","url":"https://developers.cloudflare.com/stream/examples/rtmps_playback/","inLanguage":"en","image":"https://developers.cloudflare.com/stream/examples/rtmps_playback/og.png?v=fe2f2b7c5c76e72f","dateModified":"2026-04-21","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["Playback"]}


description: Example of video playback with Cloudflare Stream and Shaka Player title: Shaka Player image: https://developers.cloudflare.com/stream/examples/shaka-player/og.png?v=91dcf28c6d616c26


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/stream/llms.txt
Use this file to discover all available pages before exploring further.