This
tutorial uses the file sample2_1000kbps.f4v which installs with
Adobe Media Server to the rootinstall/webroot/vod folder.

(Adobe HTTP Dynamic Streaming) To play the media in Flash
Media Playback, do the following:

Open Flash Media
Playback in a web browser.

Note:

Flash Media Playback requires Flash Player 10.1 to
support HTTP Dynamic Streaming. To see which version of Flash Player
is installed on your computer, go to Adobe Flash Player.

In Video Source, enter:

http://localhost/hds-vod/sample2_1000kbps.f4v.f4m

HDS on-demand streaming in Flash Media Playback

Although
the media file lives in the /webroot/vod directory, the URL request is
/hds-vod. The path /hds-vod is a <Location> directive
in the Apache httpd.conf file. When a request URL begins with /hds-vod,
the server looks for media in the /webroot/vod folder and packages
it for HTTP Dynamic Streaming. For information about the request
URL syntax, see URLs
for playing on-demand streams over HTTP.

Select Yes under the question “Are you using HTTP Streaming
or Adobe Access 2.0?”.

Clear the text from the Poster frame file location text box.

Click Preview to update the embed code.

Click the Play button to test the code.

To use the player in your own HTML page, copy the embed code
and paste it into the body of the page. Flash Media Playback is
a compiled SWF file hosted by Adobe. For more information, see Flash
Media Playback.

(Adobe HTTP Dynamic Streaming) To play the media in Strobe
Media Playback, select VOD and click PLAY STREAM. For more information,
see Pre-built
media players.

(Apple HTTP Live Streaming) On iOS, enter the following URL
in the Safari address bar:

You can replace localhost and servername with the domain name
or IP address of the computer hosting Adobe Media Server. If you’re
using a Adobe Media Server hosting provider, they can give you this
value.

Use the multi-bitrate sample files that install with Adobe
Media Server to the rootinstall/webroot/vod folder.

This
tutorial uses the following files installed to the webroot/vod folder:

rootinstall/webroot/vod/sample1_150kbps.f4v

rootinstall/webroot/vod/sample1_700kbps.f4v

rootinstall/webroot/vod/sample1_1500kbps.f4v

(Adobe HTTP Dyanmic Streaming) To stream multi-bitrate content,
Flash and AIR media players request a set-level manifest file.
This is a .f4m file that contains the location and bitrate of each
stream. To create a set-level F4M file, do the following:

Open rootinstall/Adobe Media Server/tools/f4mconfig/configurator/f4mconfig.html
in a browser.

Select the f4m file type.

Stream URIs can be absolute or relative to a Base URI. Enter
the following for the Base URI:

http://localhost/hds-vod/

Enter the following for each stream and click Add:

Stream URI

Bitrate

sample1_150kbps.f4v.f4m

150

sample1_700kbps.f4v.f4m

700

sample1_1500kbps.f4v.f4m

1500

To view the file, click View Manifest. The manifest file
looks like this:

Click Save Manifest to save the file as sample1.f4m to rootinstall/webroot.

The
media player requests this file from a web server. This tutorial
saves the file to rootinstall/webroot, but the file can be
served from any location on any webserver. This file does not need
to live on Adobe Media Server. This file can have any name.

(Apple HTTP Live Streaming)For multi-bitrate streaming,
iOS devices request a set-level M3U8 variant playlist file that
contains the location, bitrate, and optionally the codec of each
stream. To create a set-level M3U8 file, do the following:

If the File Generator tool isn’t open, double-click rootinstall/Adobe
Media Server/tools/f4mconfig/configurator/f4mconfig.html to open
it in a browser.

Select the m3u8 file type.

Enter the Stream URI, bitrate, program-ID, and optionally
a resolution and codec for each stream. Stream URIs can be absolute
or relative. If they are relative, they are relative to the m3u8
file. The program-ID must be the same for each stream.

Click Save Manifest and save the file as sample1.m3u8 to
the folder rootinstall/webroot.

The media player requests
this file from a web server. This tutorial saves the file to rootinstall/webroot,
but the file can be served from any location on any webserver. This
file does not need to live on Adobe Media Server.

(Adobe HTTP Dynamic Streaming) Flash Media Playback does
not support set-level manifest files. To play the media, use Strobe
Media Playback. Strobe Media Playback is used in the sample video
player that installs with Adobe Media Server.

Double-click rootinstall/samples/videoPlayer/videoplayer.html
to open it in a browser.

In Video Source, enter the following:

http://localhost/sample1.f4m

(Apple HTTP Live Streaming) On iOS, enter the following URL
in the Safari address bar:

The
URLs in the set-level manifest point to the individual streams and
use the following URL:

http://<ams-dns-or-ip>/hds-vod/<streamname>.<fileextension>.f4m

Apple HTTP Live Streaming

VOD

Adaptive bitrate

The media player requests a set-level variant
playlist file:

http://<webserver-dns-or-ip>/<set-level-variant-playlist>.m3u8

The
URLs in the set-level variant playlist point to the individual streams
and use the following URL:

http://<ams-dns-or-ip>/hls-vod/<streamname>.<fileextension>.m3u8

The path /hds-vod is a <Location> directive
in the Apache httpd.conf file. The directive tells the server to
look for the content in the rootinstall/webroot/vod folder.
It also tells the server to package the content for delivery to
Flash and AIR over HTTP (called HTTP Dynamic Streaming or HDS).

The path /hls-vod is a <Location> directive
in the Apache httpd.conf file. The directive tells the server to
look for the content in the rootinstall/webroot/vod folder.
It also tells the server to package the content for delivery to
Apple HTTP Live Streaming.

Note:

Apple HTTP Live Streaming supports live and on-demand streaming.

For adaptive bitrate streaming, the client requests a set-level
manifest file. For HDS, this file is an .f4m file. For HLS, this
file is a .m3u8 file. Set-level manifest files contain the paths
to the physical locations of the media files. The paths to the media
files must begin with /hds-vod or /hls-vod to tell the server to
package them for HTTP.