winlin

Merge branch 'srs.master'

正在显示 1 个修改的文件 包含 106 行增加31 行删除
@@ -28,7 +28,7 @@ for internet. SRS is simple for and only for problem domain is simplified. @@ -28,7 +28,7 @@ for internet. SRS is simple for and only for problem domain is simplified.
28 SRS is a simple, RTMP( 28 SRS is a simple, RTMP(
29 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryRTMP), 29 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryRTMP),
30 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryRTMP) 30 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryRTMP)
31 -)/ 31 +),
32 HLS( 32 HLS(
33 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS), 33 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS),
34 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS) 34 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS)
@@ -37,37 +37,103 @@ high-performance(6k+ clients)( @@ -37,37 +37,103 @@ high-performance(6k+ clients)(
37 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance), 37 [CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Performance),
38 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Performance) 38 [EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Performance)
39 ), 39 ),
40 -single/multiple(plan) processes, edge/origin live server,  
41 -[x86/x64/arm](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm),  
42 -compile depends on [st](http://sourceforge.net/projects/state-threads)(required), 40 +single processes, edge/origin live server,
  41 +x86/x64/arm(
  42 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SrsLinuxArm),
  43 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_SrsLinuxArm)
  44 +),
  45 +compile depends on st(
  46 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Architecture),
  47 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Architecture)
  48 +)(required),
43 [ssl](http://www.openssl.org/) and [http-parser](https://github.com/joyent/http-parser), 49 [ssl](http://www.openssl.org/) and [http-parser](https://github.com/joyent/http-parser),
44 use [nginx](http://nginx.org/), [ffmpeg](http://ffmpeg.org/) and 50 use [nginx](http://nginx.org/), [ffmpeg](http://ffmpeg.org/) and
45 [cherrypy](http://www.cherrypy.org/) as external tools. that is, only need st to run srs for 51 [cherrypy](http://www.cherrypy.org/) as external tools. that is, only need st to run srs for
46 -minimum run. see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Build).  
47 -  
48 -SRS supports [vhost](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_RtmpUrlVhost),  
49 -rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryRTMP),  
50 -client/[edge](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge) pull),  
51 -[ingester(srs pull)](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Ingest),  
52 -[HLS](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS),  
53 -[HLS audio only](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS#hlsaudioonly),  
54 -[transcoding](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG),  
55 -[forward](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG),  
56 -[http hooks](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPCallback),  
57 -[http api](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPApi),  
58 -[http server](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPServer),  
59 -[dvr](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DVR) and  
60 -[SRS-librtmp](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp).  
61 -  
62 -[SRS-librtmp](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp) 52 +minimum run. see Build(
  53 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Build),
  54 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Build)
  55 +).
  56 +
  57 +SRS supports vhost(
  58 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_RtmpUrlVhost),
  59 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_RtmpUrlVhost)
  60 +),
  61 +rtmp(encoder push(
  62 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryRTMP),
  63 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryRTMP)
  64 +),
  65 +client/edge(
  66 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Edge),
  67 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Edge),
  68 +) pull),
  69 +ingester(srs pull)(
  70 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Ingest),
  71 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Ingest)
  72 +),
  73 +HLS(
  74 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS),
  75 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS)
  76 +),
  77 +HLS audio only(
  78 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DeliveryHLS#hlsaudioonly),
  79 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DeliveryHLS#hlsaudioonly)
  80 +),
  81 +transcoding(
  82 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG),
  83 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_FFMPEG)
  84 +),
  85 +forward(
  86 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_FFMPEG),
  87 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_FFMPEG)
  88 +),
  89 +http hooks(
  90 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPCallback),
  91 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_HTTPCallback)
  92 +),
  93 +http api(
  94 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPApi),
  95 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_HTTPApi)
  96 +),
  97 +http server(
  98 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_HTTPServer),
  99 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_HTTPServer)
  100 +),
  101 +dvr(
  102 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_DVR),
  103 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_DVR)
  104 +) and
  105 +SRS-librtmp(
  106 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp),
  107 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp)
  108 +).
  109 +
  110 +SRS-librtmp(
  111 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp),
  112 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp)
  113 +)
63 is a client library, only depends on c++ and socket, with 114 is a client library, only depends on c++ and socket, with
64 -[examples](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples)(to play, 115 +examples(
  116 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#srs-librtmp-examples),
  117 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp#srs-librtmp-examples)
  118 +)(to play,
65 publish, ingest flv/rtmp, inject flv, 119 publish, ingest flv/rtmp, inject flv,
66 -[publish h264 raw stream](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data)),  
67 -[exported as seperate project or single cpp file by configure](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#export-srs-librtmp).  
68 -[SRS-librtmp](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp) 120 +publish h264 raw stream(
  121 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data),
  122 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp#publish-h264-raw-data)
  123 +),
  124 +exported as seperate project or single cpp file by configure(
  125 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#export-srs-librtmp),
  126 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp#export-srs-librtmp)
  127 +).
  128 +SRS-librtmp(
  129 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp),
  130 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp)
  131 +)
69 provides apis to support RTMP, FLV, AMF0 and 132 provides apis to support RTMP, FLV, AMF0 and
70 -[h.264 raw stream](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data). 133 +h.264 raw stream(
  134 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_SrsLibrtmp#publish-h264-raw-data),
  135 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v2_EN_SrsLibrtmp#publish-h264-raw-data)
  136 +).
71 137
72 WebSite: [http://ossrs.net](http://ossrs.net) <br/> 138 WebSite: [http://ossrs.net](http://ossrs.net) <br/>
73 Release: [http://winlinvip.github.io/srs.release](http://winlinvip.github.io/srs.release) <br/> 139 Release: [http://winlinvip.github.io/srs.release](http://winlinvip.github.io/srs.release) <br/>
@@ -109,21 +175,24 @@ A big THANK YOU goes to: @@ -109,21 +175,24 @@ A big THANK YOU goes to:
109 ## Mirrors 175 ## Mirrors
110 176
111 Github: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server) 177 Github: [https://github.com/winlinvip/simple-rtmp-server](https://github.com/winlinvip/simple-rtmp-server)
112 -[Git Usage](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git) 178 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git),
  179 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Git)
113 180
114 ```bash 181 ```bash
115 git clone https://github.com/winlinvip/simple-rtmp-server.git 182 git clone https://github.com/winlinvip/simple-rtmp-server.git
116 ``` 183 ```
117 184
118 CSDN: [https://code.csdn.net/winlinvip/srs-csdn](https://code.csdn.net/winlinvip/srs-csdn) 185 CSDN: [https://code.csdn.net/winlinvip/srs-csdn](https://code.csdn.net/winlinvip/srs-csdn)
119 -[Git Usage](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git) 186 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git),
  187 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Git)
120 188
121 ```bash 189 ```bash
122 git clone https://code.csdn.net/winlinvip/srs-csdn.git 190 git clone https://code.csdn.net/winlinvip/srs-csdn.git
123 ``` 191 ```
124 192
125 OSChina: [http://git.oschina.net/winlinvip/srs.oschina](http://git.oschina.net/winlinvip/srs.oschina) 193 OSChina: [http://git.oschina.net/winlinvip/srs.oschina](http://git.oschina.net/winlinvip/srs.oschina)
126 -[Git Usage](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git) 194 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Git),
  195 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Git)
127 196
128 ```bash 197 ```bash
129 git clone https://git.oschina.net/winlinvip/srs.oschina.git 198 git clone https://git.oschina.net/winlinvip/srs.oschina.git
@@ -139,7 +208,10 @@ cd simple-rtmp-server/trunk @@ -139,7 +208,10 @@ cd simple-rtmp-server/trunk
139 </pre> 208 </pre>
140 209
141 <strong>Step 2:</strong> build SRS, 210 <strong>Step 2:</strong> build SRS,
142 -<strong>Requires Centos6.x/Ubuntu12 32/64bits, others see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Build)</strong> 211 +<strong>Requires Centos6.x/Ubuntu12 32/64bits, others see Build(
  212 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_Build),
  213 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_Build)
  214 +).</strong>
143 215
144 <pre> 216 <pre>
145 ./configure && make 217 ./configure && make
@@ -152,7 +224,10 @@ cd simple-rtmp-server/trunk @@ -152,7 +224,10 @@ cd simple-rtmp-server/trunk
152 </pre> 224 </pre>
153 225
154 <strong>See also:</strong> 226 <strong>See also:</strong>
155 -* [Usage: How to delivery RTMP?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleRTMP) 227 +* Usage: How to delivery RTMP?(
  228 +[CN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleRTMP),
  229 +[EN](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_EN_SampleRTMP)
  230 +)
156 * [Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS) 231 * [Usage: How to delivery HLS?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleHLS)
157 * [Usage: How to delivery HLS for other codec?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleTranscode2HLS) 232 * [Usage: How to delivery HLS for other codec?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleTranscode2HLS)
158 * [Usage: How to transode RTMP stream by SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleFFMPEG) 233 * [Usage: How to transode RTMP stream by SRS?](https://github.com/winlinvip/simple-rtmp-server/wiki/v1_CN_SampleFFMPEG)