3 Star 6 Fork 4

winlinvip / srs.wiki

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
v3_EN_DeliveryHDS.md 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
winlinvip 提交于 2022-01-06 11:57 . Update

HOME > EN > 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

1
https://gitee.com/winlinvip/srs-wiki.git
git@gitee.com:winlinvip/srs-wiki.git
winlinvip
srs-wiki
srs.wiki
master

搜索帮助