正在显示
2 个修改的文件
包含
13 行增加
和
1 行删除
| @@ -44,7 +44,7 @@ use [nginx](http://nginx.org/), [ffmpeg](http://ffmpeg.org/) and [cherrypy](http | @@ -44,7 +44,7 @@ use [nginx](http://nginx.org/), [ffmpeg](http://ffmpeg.org/) and [cherrypy](http | ||
| 44 | minimum run. see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/Build). | 44 | minimum run. see [Build](https://github.com/winlinvip/simple-rtmp-server/wiki/Build). |
| 45 | 45 | ||
| 46 | SRS supports [vhost](https://github.com/winlinvip/simple-rtmp-server/wiki/RtmpUrlVhost), | 46 | SRS supports [vhost](https://github.com/winlinvip/simple-rtmp-server/wiki/RtmpUrlVhost), |
| 47 | -rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryRTMP), client/edge pull), ingester(srs pull), | 47 | +rtmp([encoder push](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryRTMP), client/edge pull), [ingester(srs pull)](https://github.com/winlinvip/simple-rtmp-server/wiki/Ingest), |
| 48 | [HLS](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryHLS), [HLS audio only](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryHLS#hlsaudioonly), [transcoding](https://github.com/winlinvip/simple-rtmp-server/wiki/FFMPEG), | 48 | [HLS](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryHLS), [HLS audio only](https://github.com/winlinvip/simple-rtmp-server/wiki/DeliveryHLS#hlsaudioonly), [transcoding](https://github.com/winlinvip/simple-rtmp-server/wiki/FFMPEG), |
| 49 | [forward](https://github.com/winlinvip/simple-rtmp-server/wiki/FFMPEG), [http hooks](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPCallback). | 49 | [forward](https://github.com/winlinvip/simple-rtmp-server/wiki/FFMPEG), [http hooks](https://github.com/winlinvip/simple-rtmp-server/wiki/HTTPCallback). |
| 50 | 50 |
| @@ -18,6 +18,7 @@ SRS_NGINX=RESERVED | @@ -18,6 +18,7 @@ SRS_NGINX=RESERVED | ||
| 18 | SRS_SSL=RESERVED | 18 | SRS_SSL=RESERVED |
| 19 | SRS_FFMPEG=RESERVED | 19 | SRS_FFMPEG=RESERVED |
| 20 | SRS_TRANSCODE=RESERVED | 20 | SRS_TRANSCODE=RESERVED |
| 21 | +SRS_INGEST=RESERVED | ||
| 21 | SRS_HTTP_PARSER=RESERVED | 22 | SRS_HTTP_PARSER=RESERVED |
| 22 | SRS_HTTP_CALLBACK=RESERVED | 23 | SRS_HTTP_CALLBACK=RESERVED |
| 23 | SRS_HTTP_SERVER=RESERVED | 24 | SRS_HTTP_SERVER=RESERVED |
| @@ -77,6 +78,7 @@ do | @@ -77,6 +78,7 @@ do | ||
| 77 | --with-nginx) SRS_NGINX=YES ;; | 78 | --with-nginx) SRS_NGINX=YES ;; |
| 78 | --with-ffmpeg) SRS_FFMPEG=YES ;; | 79 | --with-ffmpeg) SRS_FFMPEG=YES ;; |
| 79 | --with-transcode) SRS_TRANSCODE=YES ;; | 80 | --with-transcode) SRS_TRANSCODE=YES ;; |
| 81 | + --with-ingest) SRS_INGEST=YES ;; | ||
| 80 | --with-http-callback) SRS_HTTP_CALLBACK=YES ;; | 82 | --with-http-callback) SRS_HTTP_CALLBACK=YES ;; |
| 81 | --with-http-server) SRS_HTTP_SERVER=YES ;; | 83 | --with-http-server) SRS_HTTP_SERVER=YES ;; |
| 82 | --with-http-api) SRS_HTTP_API=YES ;; | 84 | --with-http-api) SRS_HTTP_API=YES ;; |
| @@ -96,6 +98,7 @@ do | @@ -96,6 +98,7 @@ do | ||
| 96 | --without-nginx) SRS_NGINX=NO ;; | 98 | --without-nginx) SRS_NGINX=NO ;; |
| 97 | --without-ffmpeg) SRS_FFMPEG=NO ;; | 99 | --without-ffmpeg) SRS_FFMPEG=NO ;; |
| 98 | --without-transcode) SRS_TRANSCODE=NO ;; | 100 | --without-transcode) SRS_TRANSCODE=NO ;; |
| 101 | + --without-ingest) SRS_INGEST=NO ;; | ||
| 99 | --without-http-callback) SRS_HTTP_CALLBACK=NO ;; | 102 | --without-http-callback) SRS_HTTP_CALLBACK=NO ;; |
| 100 | --without-http-server) SRS_HTTP_SERVER=NO ;; | 103 | --without-http-server) SRS_HTTP_SERVER=NO ;; |
| 101 | --without-http-api) SRS_HTTP_API=NO ;; | 104 | --without-http-api) SRS_HTTP_API=NO ;; |
| @@ -135,6 +138,7 @@ if [ $SRS_ARM_UBUNTU12 = YES ]; then | @@ -135,6 +138,7 @@ if [ $SRS_ARM_UBUNTU12 = YES ]; then | ||
| 135 | if [ $SRS_SSL = RESERVED ]; then SRS_SSL=YES; fi | 138 | if [ $SRS_SSL = RESERVED ]; then SRS_SSL=YES; fi |
| 136 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi | 139 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi |
| 137 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi | 140 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi |
| 141 | + if [ $SRS_INGEST = RESERVED ]; then SRS_INGEST=NO; fi | ||
| 138 | if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=NO; fi | 142 | if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=NO; fi |
| 139 | if [ $SRS_HTTP_SERVER = RESERVED ]; then SRS_HTTP_SERVER=YES; fi | 143 | if [ $SRS_HTTP_SERVER = RESERVED ]; then SRS_HTTP_SERVER=YES; fi |
| 140 | if [ $SRS_HTTP_API = RESERVED ]; then SRS_HTTP_API=YES; fi | 144 | if [ $SRS_HTTP_API = RESERVED ]; then SRS_HTTP_API=YES; fi |
| @@ -158,6 +162,7 @@ else | @@ -158,6 +162,7 @@ else | ||
| 158 | if [ $SRS_SSL = RESERVED ]; then SRS_SSL=YES; fi | 162 | if [ $SRS_SSL = RESERVED ]; then SRS_SSL=YES; fi |
| 159 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi | 163 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi |
| 160 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi | 164 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi |
| 165 | + if [ $SRS_INGEST = RESERVED ]; then SRS_INGEST=NO; fi | ||
| 161 | if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=NO; fi | 166 | if [ $SRS_HTTP_CALLBACK = RESERVED ]; then SRS_HTTP_CALLBACK=NO; fi |
| 162 | if [ $SRS_HTTP_SERVER = RESERVED ]; then SRS_HTTP_SERVER=YES; fi | 167 | if [ $SRS_HTTP_SERVER = RESERVED ]; then SRS_HTTP_SERVER=YES; fi |
| 163 | if [ $SRS_HTTP_API = RESERVED ]; then SRS_HTTP_API=YES; fi | 168 | if [ $SRS_HTTP_API = RESERVED ]; then SRS_HTTP_API=YES; fi |
| @@ -183,6 +188,7 @@ if [ $SRS_DEV = YES ]; then | @@ -183,6 +188,7 @@ if [ $SRS_DEV = YES ]; then | ||
| 183 | SRS_SSL=YES | 188 | SRS_SSL=YES |
| 184 | SRS_FFMPEG=YES | 189 | SRS_FFMPEG=YES |
| 185 | SRS_TRANSCODE=YES | 190 | SRS_TRANSCODE=YES |
| 191 | + SRS_INGEST=YES | ||
| 186 | SRS_HTTP_CALLBACK=YES | 192 | SRS_HTTP_CALLBACK=YES |
| 187 | SRS_HTTP_SERVER=YES | 193 | SRS_HTTP_SERVER=YES |
| 188 | SRS_HTTP_API=YES | 194 | SRS_HTTP_API=YES |
| @@ -207,6 +213,7 @@ if [ $SRS_PI = YES ]; then | @@ -207,6 +213,7 @@ if [ $SRS_PI = YES ]; then | ||
| 207 | SRS_SSL=YES | 213 | SRS_SSL=YES |
| 208 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi | 214 | if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=NO; fi |
| 209 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi | 215 | if [ $SRS_TRANSCODE = RESERVED ]; then SRS_TRANSCODE=NO; fi |
| 216 | + if [ $SRS_INGEST = RESERVED ]; then SRS_INGEST=NO; fi | ||
| 210 | SRS_HTTP_CALLBACK=NO | 217 | SRS_HTTP_CALLBACK=NO |
| 211 | SRS_HTTP_SERVER=YES | 218 | SRS_HTTP_SERVER=YES |
| 212 | SRS_HTTP_API=YES | 219 | SRS_HTTP_API=YES |
| @@ -231,6 +238,7 @@ if [ $SRS_HTTP_API = YES ]; then SRS_HTTP_PARSER=YES; fi | @@ -231,6 +238,7 @@ if [ $SRS_HTTP_API = YES ]; then SRS_HTTP_PARSER=YES; fi | ||
| 231 | 238 | ||
| 232 | # if transcode specified, try ffmpeg if possible. | 239 | # if transcode specified, try ffmpeg if possible. |
| 233 | if [ $SRS_TRANSCODE = YES ]; then if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=YES; fi fi | 240 | if [ $SRS_TRANSCODE = YES ]; then if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=YES; fi fi |
| 241 | +if [ $SRS_INGEST = YES ]; then if [ $SRS_FFMPEG = RESERVED ]; then SRS_FFMPEG=YES; fi fi | ||
| 234 | 242 | ||
| 235 | # parse the jobs for make | 243 | # parse the jobs for make |
| 236 | if [[ "" -eq SRS_JOBS ]]; then | 244 | if [[ "" -eq SRS_JOBS ]]; then |
| @@ -262,6 +270,8 @@ if [ $help = yes ]; then | @@ -262,6 +270,8 @@ if [ $help = yes ]; then | ||
| 262 | build ffmpeg at: ./objs/ffmpeg/bin/ffmpeg | 270 | build ffmpeg at: ./objs/ffmpeg/bin/ffmpeg |
| 263 | --with-transcode enable transcoding features. | 271 | --with-transcode enable transcoding features. |
| 264 | user must specifies the transcode tools in conf. | 272 | user must specifies the transcode tools in conf. |
| 273 | + --with-ingest enable ingest features. | ||
| 274 | + user must specifies the ingest tools in conf. | ||
| 265 | --with-librtmp enable srs-librtmp, library for client. | 275 | --with-librtmp enable srs-librtmp, library for client. |
| 266 | --with-bwtc enable SRS bandwidth test client tool. | 276 | --with-bwtc enable SRS bandwidth test client tool. |
| 267 | --with-research build the research tools. | 277 | --with-research build the research tools. |
| @@ -281,6 +291,7 @@ if [ $help = yes ]; then | @@ -281,6 +291,7 @@ if [ $help = yes ]; then | ||
| 281 | --without-http-api disable http api, only use console to manage SRS process. | 291 | --without-http-api disable http api, only use console to manage SRS process. |
| 282 | --without-ffmpeg disable the ffmpeg transcode tool feature. | 292 | --without-ffmpeg disable the ffmpeg transcode tool feature. |
| 283 | --without-transcode disable the transcoding feature. | 293 | --without-transcode disable the transcoding feature. |
| 294 | + --without-ingest disable the ingest feature. | ||
| 284 | --without-librtmp disable srs-librtmp, library for client. | 295 | --without-librtmp disable srs-librtmp, library for client. |
| 285 | --without-bwtc disable SRS bandwidth test client tool. | 296 | --without-bwtc disable SRS bandwidth test client tool. |
| 286 | --without-research do not build the research tools. | 297 | --without-research do not build the research tools. |
| @@ -377,6 +388,7 @@ if [ $SRS_NGINX = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-nginx"; els | @@ -377,6 +388,7 @@ if [ $SRS_NGINX = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-nginx"; els | ||
| 377 | if [ $SRS_SSL = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ssl"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ssl"; fi | 388 | if [ $SRS_SSL = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ssl"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ssl"; fi |
| 378 | if [ $SRS_FFMPEG = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ffmpeg"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ffmpeg"; fi | 389 | if [ $SRS_FFMPEG = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ffmpeg"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ffmpeg"; fi |
| 379 | if [ $SRS_TRANSCODE = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-transcode"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-transcode"; fi | 390 | if [ $SRS_TRANSCODE = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-transcode"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-transcode"; fi |
| 391 | +if [ $SRS_INGEST = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-ingest"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-ingest"; fi | ||
| 380 | if [ $SRS_HTTP_CALLBACK = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-callback"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-callback"; fi | 392 | if [ $SRS_HTTP_CALLBACK = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-callback"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-callback"; fi |
| 381 | if [ $SRS_HTTP_SERVER = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-server"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-server"; fi | 393 | if [ $SRS_HTTP_SERVER = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-server"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-server"; fi |
| 382 | if [ $SRS_HTTP_API = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-api"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-api"; fi | 394 | if [ $SRS_HTTP_API = YES ]; then SRS_CONFIGURE="${SRS_CONFIGURE} --with-http-api"; else SRS_CONFIGURE="${SRS_CONFIGURE} --without-http-api"; fi |
-
请 注册 或 登录 后发表评论