Clone
8
v2_CN_LiveShow
winlin edited this page 2022-01-06 11:57:15 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

HOME > CN > Live Show

LiveShow

公用机器是SRS提供给所有人使用的服务器。

SRS Website

感谢JOHNNY贡献了ossrs.net域名

Virtual Live Stream

大家可以上传电影到SRS服务器有100GB空间上传的电影经过转码我审核通过后会自动加入播放列表随机轮流播放。

主要流程:

  • 上传: ftp://ftpuser:srs@www.ossrs.net 推荐使用ftp工具上传编码使用utf-8。
  • 系统自动转码:SRS使用的转码集群 SRS官方服务器的虚拟直播流的转码集群chnvideo.com供应。
  • 人工审查:SRS官方视频审查 SRS官方服务器的虚拟直播流的审查地址
  • 发布:审查通过后通知我将视频发布到虚拟直播流。
  • 观看:默认直播流在顺序播放完后,会将新的文件加入轮播列表。

观看地址:

感谢verycloud.cn给SRS轮播流提供加速。

Usage For Public server

SRS感谢捐赠我用这些捐赠购买公网阿里云的虚拟主机。这些机器的用处

  • 大家测试和学习使用
  • 部署SRS的demo环境
  • 做性能测试
  • 自动编译和回归测试
  • 版本发布
  • 发行版本下载

Machine Info

这些机器的列表:

供应商 公网IP 地域 开放 带宽 磁盘 链接
阿里云 ossrs.net 北京 开放 5Mbps 100GB SRS

SRS Config

公用机器上配置了默认vhost有需要可以联系我添加新的vhost。

listen              1935;
http_api {
    enabled         on;
    listen          1985;
}
http_stream {
    enabled         on;
    listen          8080;
    dir             ./objs/nginx/html;
}
vhost __defaultVhost__ {
    hls {
        enabled         on;
        hls_path        ./objs/nginx/html;
        hls_fragment    10;
        hls_window      60;
    }
    ingest livestream {
        enabled      on;
        input {
            type    file;
            url     ./doc/source.200kbps.768x320.flv;
        }
        ffmpeg      ./objs/srs_ingest_flv_ssl;
        engine {
            enabled          off;
            output          rtmp://127.0.0.1:[port]/live?vhost=[vhost]/livestream;
        }
    }
}

实例流的播放地址:http://ossrs.net/players/srs_player.html?vhost=defaultVhost&stream=livestream&autostart=true

SRS

SRS

Winlin 2014.5