正在显示
1 个修改的文件
包含
13 行增加
和
12 行删除
| @@ -358,15 +358,15 @@ vhost http.static.srs.com { | @@ -358,15 +358,15 @@ vhost http.static.srs.com { | ||
| 358 | # @remark the http of __defaultVhost__ will override the http_stream section. | 358 | # @remark the http of __defaultVhost__ will override the http_stream section. |
| 359 | # for example: | 359 | # for example: |
| 360 | # mount to [vhost]/ | 360 | # mount to [vhost]/ |
| 361 | - # access by http://ossrs.net/xxx.html | 361 | + # access by http://ossrs.net:8080/xxx.html |
| 362 | # mount to [vhost]/hls | 362 | # mount to [vhost]/hls |
| 363 | - # access by http://ossrs.net/hls/xxx.html | 363 | + # access by http://ossrs.net:8080/hls/xxx.html |
| 364 | # mount to / | 364 | # mount to / |
| 365 | - # access by http://ossrs.net/xxx.html | ||
| 366 | - # or by http://192.168.1.173/xxx.html | 365 | + # access by http://ossrs.net:8080/xxx.html |
| 366 | + # or by http://192.168.1.173:8080/xxx.html | ||
| 367 | # mount to /hls | 367 | # mount to /hls |
| 368 | - # access by http://ossrs.net/hls/xxx.html | ||
| 369 | - # or by http://192.168.1.173/hls/xxx.html | 368 | + # access by http://ossrs.net:8080/hls/xxx.html |
| 369 | + # or by http://192.168.1.173:8080/hls/xxx.html | ||
| 370 | # default: [vhost]/ | 370 | # default: [vhost]/ |
| 371 | mount [vhost]/hls; | 371 | mount [vhost]/hls; |
| 372 | # main dir of vhost, | 372 | # main dir of vhost, |
| @@ -378,7 +378,7 @@ vhost http.static.srs.com { | @@ -378,7 +378,7 @@ vhost http.static.srs.com { | ||
| 378 | 378 | ||
| 379 | # vhost for http flv/aac/mp3 live stream for each vhost. | 379 | # vhost for http flv/aac/mp3 live stream for each vhost. |
| 380 | vhost http.flv.srs.com { | 380 | vhost http.flv.srs.com { |
| 381 | - # http flv stream vhost specified config | 381 | + # http flv/mp3/aac stream vhost specified config |
| 382 | http_flv { | 382 | http_flv { |
| 383 | # whether enable the http flv live streaming service for vhost. | 383 | # whether enable the http flv live streaming service for vhost. |
| 384 | # default: off | 384 | # default: off |
| @@ -401,14 +401,15 @@ vhost http.flv.srs.com { | @@ -401,14 +401,15 @@ vhost http.flv.srs.com { | ||
| 401 | # .aac mount http live aac stream, ignore video and audio aac codec required. | 401 | # .aac mount http live aac stream, ignore video and audio aac codec required. |
| 402 | # for example: | 402 | # for example: |
| 403 | # mount to [vhost]/[app]/[stream].flv | 403 | # mount to [vhost]/[app]/[stream].flv |
| 404 | - # access by http://ossrs.net/live/livestream.flv | 404 | + # access by http://ossrs.net:8080/live/livestream.flv |
| 405 | # mount to /[app]/[stream].flv | 405 | # mount to /[app]/[stream].flv |
| 406 | - # access by http://ossrs.net/live/livestream.flv | ||
| 407 | - # or by http://192.168.1.173/live/livestream.flv | 406 | + # access by http://ossrs.net:8080/live/livestream.flv |
| 407 | + # or by http://192.168.1.173:8080/live/livestream.flv | ||
| 408 | # mount to [vhost]/[app]/[stream].mp3 | 408 | # mount to [vhost]/[app]/[stream].mp3 |
| 409 | - # access by http://ossrs.net/live/livestream.mp3 | 409 | + # access by http://ossrs.net:8080/live/livestream.mp3 |
| 410 | # mount to [vhost]/[app]/[stream].aac | 410 | # mount to [vhost]/[app]/[stream].aac |
| 411 | - # access by http://ossrs.net/live/livestream.aac | 411 | + # access by http://ossrs.net:8080/live/livestream.aac |
| 412 | + # @remark the port of http is specified by http_stream section. | ||
| 412 | # default: [vhost]/[app]/[stream].flv | 413 | # default: [vhost]/[app]/[stream].flv |
| 413 | mount [vhost]/[app]/[stream].flv; | 414 | mount [vhost]/[app]/[stream].flv; |
| 414 | } | 415 | } |
-
请 注册 或 登录 后发表评论