Results 1 to 5 of 5

Thread: Enabling audio-only rendition (for HLS) on a per connection basis

  1. #1

    Default Enabling audio-only rendition (for HLS) on a per connection basis

    We currently have our application configured to generate an audio-only rendition for HLS using the properties described in However, some of our customers have complained that the video switches to the audio-only rendition in spite of having sufficient bandwidth. This is something we've intermittently seen as well. Ideally, we would like to figure out why this is happening. But for now, we'd like to know if it's possible to enable/disable the audio-only rendition on a per stream basis.


  2. #2



    Following the instructions on the page you linked to, you would need to make a couple of small changes.

    Disable the cupertinoAutoCreateMultibitratePlaylist property

    You will most likely still need the other properties so that the audio only rendition is created but you would be calling it manually instead of automatically.

    Create 2 smil files, one with the audio only parameter set and one without.

                <video src="livestream" system-bitrate="250000"/>
                <video src="livestream" system-bitrate="64000">
                    <param name="audioOnly" value="TRUE" valuetype="data"/>
                <video src="livestream" system-bitrate="250000"/>
    You then play which ever smil file you want to.

    To try to automatically determine which one to play, you can implement the IMediaStreamNameAliasProvider2 interface and use the resolvePlayAlias methods to return the smil file that you want them to play. The same method will also get called for the actual stream name so you also need to handle that.


  3. #3


    Thanks Roger. What happens if we call the asset directly without using a SMIL file? Will it fall back to the audio-only rendition? I'm hoping that's not the case.

  4. #4
    Join Date
    Dec 2007


    It won't with cupertinoAutoCreateMultibitratePlaylist set to "false"


  5. #5


    Great! Thanks.

Similar Threads

  1. SMIL request playlist multi bitrate with iOS Audio Only rendition
    By Meinaart in forum Video On Demand Streaming Discussion
    Replies: 2
    Last Post: 01-27-2014, 02:53 PM
  2. Audio-only rendition for HDS/sanjose streaming
    By penthi in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 08-08-2013, 05:50 AM
  3. Issue with Audio Only Rendition.
    By waseem in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 12-09-2011, 12:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts