Replies: 5 comments
-
You followd the v2 wiki, but you build the v1 server. |
Beta Was this translation helpful? Give feedback.
-
Please checkout the SRS2 or SRS3, read goole or baidu about git checkout. |
Beta Was this translation helpful? Give feedback.
-
# yy at yy in ~/dev/c/srs on git:a89ed68 x [16:13:48]
$ git branch -r
origin/1.0release
origin/2.0release
origin/HEAD -> origin/2.0release
origin/develop
origin/master
# yy at yy in ~/dev/c/srs on git:a89ed68 x [16:13:52]
$ git checkout origin/2.0release
M trunk/conf/http.flv.live.conf
HEAD 目前位于 a89ed68... update readme for #511. flv rtmp test is ok. But flv http test failed. 2015/11/07 16:11:16 [error] 8589#0: *2 open() "/home/yy/dev/c/srs/trunk/objs/nginx-1.5.7/_release/html/live/livestream.flv" failed (2: No such file or directory), client: 192.168.10.147, server: localhost, request: "GET /live/livestream.flv HTTP/1.1", host: "192.168.10.147", referrer: "http://www.ossrs.net/players/js/jwplayer.flash.swf" nginx-1.5.7 _release dir # yy at yy in ~/dev/c/srs/trunk/objs/nginx-1.5.7/_release on git:a89ed68 x [16:17:30]
$ tree
.
├── client_body_temp
├── conf
│ ├── fastcgi.conf
├── fastcgi_temp
├── html
│ ├── 50x.html
│ ├── crossdomain.xml -> /home/yy/dev/c/srs/trunk/research/players/crossdomain.xml
│ ├── favicon.ico -> /home/yy/dev/c/srs/trunk/research/api-server/static-dir/favicon.ico
│ ├── forward
│ │ └── live
│ │ ├── livestream.html
│ │ ├── livestream_ld.html
│ │ └── livestream_sd.html
│ ├── index.html -> /home/yy/dev/c/srs/trunk/research/players/srs-http-server_index.html
│ ├── live
│ │ ├── demo.html
│ │ ├── livestream-31.ts
│ │ ├── livestream-32.ts
│ │ ├── livestream-33.ts
│ │ ├── livestream-34.ts
│ │ ├── livestream-35.ts
│ │ ├── livestream-36.ts
│ │ ├── livestream.html
│ │ ├── livestream_ld.html
│ │ ├── livestream.m3u8
│ │ └── livestream_sd.html
│ ├── nginx.html
│ └── players -> /home/yy/dev/c/srs/trunk/research/players
├── logs
http.flv.live.conf # the config for srs to remux rtmp to flv live stream.
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream
# @see full.conf for detail config.
listen 1935;
max_connections 1000;
http_server {
enabled on;
listen 80;
dir ./objs/nginx/html;
}
vhost __defaultVhost__ {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
hstrs on;
}
} |
Beta Was this translation helpful? Give feedback.
-
No, the HTTP-FLV live streaming is delivery by SRS, not NGINX. |
Beta Was this translation helpful? Give feedback.
-
hi,
i have followed this guide "https://github.com/simple-rtmp-server/srs/wiki/v2_EN_SampleHttpFlv"
to build SRS..
i`m getting error While tring to start SRS app.. help me to resolve this ..
Thank You
./objs/srs -t -c conf/http.flv.live.conf
[2015-06-01 03:47:05.951][trace][23865][0] config parse complete
[2015-06-01 03:47:05.951][trace][23865][0] srs checking config...
[2015-06-01 03:47:05.951][error][23865][0][0] unsupported directive http_server, ret=1023
[2015-06-01 03:47:05.951][error][23865][0][0] config file is invalid
Beta Was this translation helpful? Give feedback.
All reactions