Skip to content

v2_EN_DeliveryHDS

winlin edited this page Nov 7, 2019 · 20 revisions

HOME > EN(2.0) > HDS

DeliveryHDS

HDS is the Http Dynamic Stream of Adobe,similar to Apple HLS.

For specification of HDS, read http://www.adobe.com/devnet/hds.html

Build

We can disable or enable HDS when build SRS, read Build

./configure --with-hds

Player

The OSMF player can play HDS. For example, use OSMF player to play the following HDS:

http://ossrs.net:8081/live/livestream.f4m

HDS Config

The vhost hds.srs.com of conf/full.conf describes the config for HDS:

vhost __defaultVhost__ {
    hds {
        # whether hds enabled
        # default: off
        enabled         on;
        # the hds fragment in seconds.
        # default: 10
        hds_fragment    10;
        # the hds window in seconds, erase the segment when exceed the window.
        # default: 60
        hds_window      60;
        # the path to store the hds files.
        # default: ./objs/nginx/html
        hds_path        ./objs/nginx/html;
    }
}

The config items are similar to HLS, read HLS config

Winlin 2015.3

Welcome to SRS wiki!

SRS 5.0 wiki

Please select your language:

SRS 4.0 wiki

Please select your language:

SRS 3.0 wiki

Please select your language:

SRS 2.0 wiki

Please select your language:

SRS 1.0 wiki

Please select your language:

Clone this wiki locally