- Introduction to Video
- Stream video files
- Start live streaming
- Make API requests
- Play your videos
- Enable static MP4 renditions
- Download for offline editing
- Embed videos for social media
- Listen for webhooks
- Secure video playback
- Create clips from your videos
- Get images from a video
- Create timeline hover previews
- Adjust audio levels
- Add watermarks to your videos
- Add subtitles to your videos
- Minimize processing time
- Upload files directly
- Autoplay your videos
- Stream an audio-only version of your video
- Synchronize video playback
- Integrate with your CMS
Stream an audio-only version of your video
This guide will show how to access an audio-only rendition for your Mux videos.
In this guide:
By default, stream.mux.com/{PLAYBACK_ID}.m3u8
URLs will include multiple HLS renditions containing video + audio. If you add the add_audio_only=true
parameter then an extra rendition containing only audio will be added.
Notice at the extra rendition in this manifest specifies a lower bitrate and indicates only an audio CODEC.
https://stream.mux.com/{PLAYBACK_ID}.m3u8?add_audio_only=true
On the playback-side, your player can make use of this audio-only HLS rendition. On particularly low bandwidth connections your player might automatically downgrade to audio-only (which is better than endless buffering).
If you present your videos in an audio-only experience, using the audio-only rendition in your audio player will be preferable than using a rendition that contains video. You will save your users the overhead of unnecessary bandwidth and decoding video that no one is watching.
Mux videos have two types of playback policy, public
or signed
. If your playback_id
is signed
, then all query parameters, including add_audio_only
need to be added to the claims body.
Take a look at the signed URLs guide for details.