Skip to main content
Known Participant
April 5, 2012
Answered

Publish an audio-only stream (HLS)

  • April 5, 2012
  • 1 reply
  • 5757 views

Hi,

the documentation says this:

"To serve streams over a cellular network, one of the streams must be audio-only. For more information, see HTTP Live Streaming Overview.

To publish an audio-only stream, enter the following in the Flash Media Encoder Stream field:

livestream%i?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_only&adbe-audio-stream-src=livestream1

If the encoder specifies individual query strings for each stream, use individual stream names instead of the variable %i:

livestream1?adbe-live-event=liveevent&adbe-audio-stream-name=livestream1_audio_only

livestream2?adbe-live-event=liveevent&adbe-audio-stream-name=livestream2_audio_only

"

...

"

To generate a set-level variant playlist when using an audio-only stream, specify the audio codec of the audio-only stream. Specify the audio and the video codec of the streams that contain audio and video. For more information about using the Set-level F4M/M3U8 File Generator, see Publish and play live multi-bitrate streams over HTTP.

"

Does this mean that using one FMLE encoder (with the installed AAC plugin) i can stream BOTH audio+video AND audio only stream via HLS to iOS clients?

If yes, how to connect to a+v stream and how to connect audio only stream in iOS  ? (To be more precise - i would need two m3u8 files, how do i create them in the provided generator)

What about the need to provide multiple bitrates (for the audio), surely 64 isn't enough - multiple encoder machines or multiple encoder instances?

This topic has been closed for replies.
Correct answer NpComplete

Does this mean that using one FMLE encoder (with the installed AAC plugin) i can stream BOTH audio+video AND audio only stream via HLS to iOS clients?

yes

If yes, how to connect to a+v stream and how to connect audio only stream in iOS  ? (To be more precise - i would need two m3u8 files, how do i create them in the provided generator)

In this case, ios can play a+v stream using m3u8 url

http://server/hls-live/livepkgr/_definst/liveevent/livestream1.m3u8

and audio-only stream using m3u8 url

http://server/hls-live/livepkgr/_definst_/liveevent/livestream1_audio_only.m3u8

Using the generator you can create a variant playlist where you can specify multiple bitrate a+v streams m3u8 url (that you already know) and audio only stream m3u8 url. This tool is just a serialiser of all the information that you provide to it. It doesn't generate individual streams m3u8 urls on it's own. This variant playlist can be hosted somewhere. When player request this variant playlist, it identifes all the bitrate and corresponding m3u8 urls. Player will then play the m3u8 url that hasbitrate just less than to its input bandwidth.

Probably I couldn't get your question clearly. Let me know if it helps.

1 reply

NpCompleteCorrect answer
Adobe Employee
April 5, 2012

Does this mean that using one FMLE encoder (with the installed AAC plugin) i can stream BOTH audio+video AND audio only stream via HLS to iOS clients?

yes

If yes, how to connect to a+v stream and how to connect audio only stream in iOS  ? (To be more precise - i would need two m3u8 files, how do i create them in the provided generator)

In this case, ios can play a+v stream using m3u8 url

http://server/hls-live/livepkgr/_definst/liveevent/livestream1.m3u8

and audio-only stream using m3u8 url

http://server/hls-live/livepkgr/_definst_/liveevent/livestream1_audio_only.m3u8

Using the generator you can create a variant playlist where you can specify multiple bitrate a+v streams m3u8 url (that you already know) and audio only stream m3u8 url. This tool is just a serialiser of all the information that you provide to it. It doesn't generate individual streams m3u8 urls on it's own. This variant playlist can be hosted somewhere. When player request this variant playlist, it identifes all the bitrate and corresponding m3u8 urls. Player will then play the m3u8 url that hasbitrate just less than to its input bandwidth.

Probably I couldn't get your question clearly. Let me know if it helps.

nnmkAuthor
Known Participant
April 5, 2012

Thank you sir.

nnmkAuthor
Known Participant
April 5, 2012

What about the need to provide multiple bitrates (for the audio), surely 64kbps isn't enough (64 is needed as per apple documentation) - multiple encoder machines or multiple encoder instances, how to provide multiple audio bitrate?

(surely we also need a better quality for the streamed audio but also need the 64)