winlin

update readme and wiki url for http ts stream

@@ -36,8 +36,8 @@ HLS( @@ -36,8 +36,8 @@ HLS(
36 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS) 36 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS)
37 ), 37 ),
38 HTTP( 38 HTTP(
39 -[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream),  
40 -[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream) 39 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream),
  40 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream)
41 ), 41 ),
42 high-performance(10k+ clients)( 42 high-performance(10k+ clients)(
43 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance), 43 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance),
@@ -481,8 +481,8 @@ Supported operating systems and hardware: @@ -481,8 +481,8 @@ Supported operating systems and hardware:
481 [274](https://github.com/winlinvip/simple-rtmp-server/issues/274). 481 [274](https://github.com/winlinvip/simple-rtmp-server/issues/274).
482 1. Support rtmp remux to http flv/mp3/aac live stream, read 482 1. Support rtmp remux to http flv/mp3/aac live stream, read
483 [#293](https://github.com/winlinvip/simple-rtmp-server/issues/293)( 483 [#293](https://github.com/winlinvip/simple-rtmp-server/issues/293)(
484 -[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream),  
485 -[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream) 484 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream),
  485 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream)
486 ). 486 ).
487 1. [no-plan] Support <500ms latency, FRSC(Fast RTMP-compatible Stream Channel tech). 487 1. [no-plan] Support <500ms latency, FRSC(Fast RTMP-compatible Stream Channel tech).
488 1. [no-plan] Support RTMP 302 redirect [#92](https://github.com/winlinvip/simple-rtmp-server/issues/92). 488 1. [no-plan] Support RTMP 302 redirect [#92](https://github.com/winlinvip/simple-rtmp-server/issues/92).
@@ -379,26 +379,27 @@ vhost http.static.srs.com { @@ -379,26 +379,27 @@ vhost http.static.srs.com {
379 379
380 # vhost for http flv/aac/mp3 live stream for each vhost. 380 # vhost for http flv/aac/mp3 live stream for each vhost.
381 vhost http.remux.srs.com { 381 vhost http.remux.srs.com {
382 - # http flv/mp3/aac stream vhost specified config 382 + # http flv/mp3/aac/ts stream vhost specified config
383 http_remux { 383 http_remux {
384 - # whether enable the http flv live streaming service for vhost. 384 + # whether enable the http live streaming service for vhost.
385 # default: off 385 # default: off
386 enabled on; 386 enabled on;
387 # the fast cache for audio stream(mp3/aac), 387 # the fast cache for audio stream(mp3/aac),
388 # to cache more audio and send to client in a time to make android(weixin) happy. 388 # to cache more audio and send to client in a time to make android(weixin) happy.
389 - # @remark the flv stream ignore it 389 + # @remark the flv/ts stream ignore it
390 # @remark 0 to disable fast cache for http audio stream. 390 # @remark 0 to disable fast cache for http audio stream.
391 # default: 0 391 # default: 0
392 fast_cache 30; 392 fast_cache 30;
393 - # the stream mout for rtmp to remux to flv live streaming. 393 + # the stream mout for rtmp to remux to live streaming.
394 # typical mount to [vhost]/[app]/[stream].flv 394 # typical mount to [vhost]/[app]/[stream].flv
395 # the variables: 395 # the variables:
396 - # [vhost] current vhost for http flv live stream.  
397 - # [app] current app for http flv live stream.  
398 - # [stream] current stream for http flv live stream. 396 + # [vhost] current vhost for http live stream.
  397 + # [app] current app for http live stream.
  398 + # [stream] current stream for http live stream.
399 # @remark the [vhost] is optional, used to mount at specified vhost. 399 # @remark the [vhost] is optional, used to mount at specified vhost.
400 # the extension: 400 # the extension:
401 # .flv mount http live flv stream, use default gop cache. 401 # .flv mount http live flv stream, use default gop cache.
  402 + # .ts mount http live ts stream, use default gop cache.
402 # .mp3 mount http live mp3 stream, ignore video and audio mp3 codec required. 403 # .mp3 mount http live mp3 stream, ignore video and audio mp3 codec required.
403 # .aac mount http live aac stream, ignore video and audio aac codec required. 404 # .aac mount http live aac stream, ignore video and audio aac codec required.
404 # for example: 405 # for example:
@@ -411,6 +412,8 @@ vhost http.remux.srs.com { @@ -411,6 +412,8 @@ vhost http.remux.srs.com {
411 # access by http://ossrs.net:8080/live/livestream.mp3 412 # access by http://ossrs.net:8080/live/livestream.mp3
412 # mount to [vhost]/[app]/[stream].aac 413 # mount to [vhost]/[app]/[stream].aac
413 # access by http://ossrs.net:8080/live/livestream.aac 414 # access by http://ossrs.net:8080/live/livestream.aac
  415 + # mount to [vhost]/[app]/[stream].ts
  416 + # access by http://ossrs.net:8080/live/livestream.ts
414 # @remark the port of http is specified by http_server section. 417 # @remark the port of http is specified by http_server section.
415 # default: [vhost]/[app]/[stream].flv 418 # default: [vhost]/[app]/[stream].flv
416 mount [vhost]/[app]/[stream].flv; 419 mount [vhost]/[app]/[stream].flv;
1 # the config for srs to remux rtmp to aac live stream. 1 # the config for srs to remux rtmp to aac live stream.
2 -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream 2 +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream
3 # @see full.conf for detail config. 3 # @see full.conf for detail config.
4 4
5 listen 1935; 5 listen 1935;
1 # the config for srs to remux rtmp to flv live stream. 1 # the config for srs to remux rtmp to flv live stream.
2 -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream 2 +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream
3 # @see full.conf for detail config. 3 # @see full.conf for detail config.
4 4
5 listen 1935; 5 listen 1935;
1 # the config for srs to remux rtmp to mp3 live stream. 1 # the config for srs to remux rtmp to mp3 live stream.
2 -# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpFlvStream 2 +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream
3 # @see full.conf for detail config. 3 # @see full.conf for detail config.
4 4
5 listen 1935; 5 listen 1935;
  1 +# the config for srs to remux rtmp to ts live stream.
  2 +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_DeliveryHttpStream
  3 +# @see full.conf for detail config.
  4 +
  5 +listen 1935;
  6 +max_connections 1000;
  7 +http_server {
  8 + enabled on;
  9 + listen 8080;
  10 + dir ./objs/nginx/html;
  11 +}
  12 +vhost __defaultVhost__ {
  13 + http_remux {
  14 + enabled on;
  15 + mount [vhost]/[app]/[stream].ts;
  16 + }
  17 +}