正在显示
3 个修改的文件
包含
18 行增加
和
3 行删除
| @@ -21,7 +21,7 @@ Download from ossrs.net: | @@ -21,7 +21,7 @@ Download from ossrs.net: | ||
| 21 | RTSP/MPEGTS-over-UDP. | 21 | RTSP/MPEGTS-over-UDP. |
| 22 | 1. Popular internet delivery: RTMP for flash, HLS for mobile(IOS/IPad/MAC/Android), HTTP | 22 | 1. Popular internet delivery: RTMP for flash, HLS for mobile(IOS/IPad/MAC/Android), HTTP |
| 23 | flv/ts/mp3/aac streaming for user prefered. | 23 | flv/ts/mp3/aac streaming for user prefered. |
| 24 | -1. Enhanced DVR: segment/session/append/api plan, customer path and HTTP callback. | 24 | +1. Enhanced DVR: segment/session/append plan, customer path and HTTP callback. |
| 25 | 1. Multiple feature: transcode, forward, ingest, http hooks, dvr, hls, rtsp, http streaming, | 25 | 1. Multiple feature: transcode, forward, ingest, http hooks, dvr, hls, rtsp, http streaming, |
| 26 | http api, refer, log, bandwith test and srs-librtmp. | 26 | http api, refer, log, bandwith test and srs-librtmp. |
| 27 | 1. Best maintainess: simple arch over state-threads(coroutine), single thread, single process | 27 | 1. Best maintainess: simple arch over state-threads(coroutine), single thread, single process |
| @@ -180,6 +180,8 @@ stream_caster { | @@ -180,6 +180,8 @@ stream_caster { | ||
| 180 | caster rtsp; | 180 | caster rtsp; |
| 181 | output rtmp://127.0.0.1/[app]/[stream]; | 181 | output rtmp://127.0.0.1/[app]/[stream]; |
| 182 | listen 554; | 182 | listen 554; |
| 183 | + rtp_port_min 57200; | ||
| 184 | + rtp_port_max 57300; | ||
| 183 | } | 185 | } |
| 184 | 186 | ||
| 185 | ############################################################################################# | 187 | ############################################################################################# |
| @@ -532,7 +534,6 @@ vhost with-hls.srs.com { | @@ -532,7 +534,6 @@ vhost with-hls.srs.com { | ||
| 532 | # the available audio codec: | 534 | # the available audio codec: |
| 533 | # aac, mp3 | 535 | # aac, mp3 |
| 534 | # default: aac | 536 | # default: aac |
| 535 | - # TODO: FIXME: update wiki for it. | ||
| 536 | hls_acodec aac; | 537 | hls_acodec aac; |
| 537 | # the default video codec of hls. | 538 | # the default video codec of hls. |
| 538 | # when codec changed, write the PAT/PMT table, but maybe ok util next ts. | 539 | # when codec changed, write the PAT/PMT table, but maybe ok util next ts. |
| @@ -540,7 +541,6 @@ vhost with-hls.srs.com { | @@ -540,7 +541,6 @@ vhost with-hls.srs.com { | ||
| 540 | # the available video codec: | 541 | # the available video codec: |
| 541 | # h264, vn | 542 | # h264, vn |
| 542 | # default: h264 | 543 | # default: h264 |
| 543 | - # TODO: FIXME: update wiki for it. | ||
| 544 | hls_vcodec h264; | 544 | hls_vcodec h264; |
| 545 | } | 545 | } |
| 546 | } | 546 | } |
trunk/conf/push.rtsp.conf
0 → 100644
| 1 | +# push MPEG-TS over UDP to SRS. | ||
| 2 | +# @see https://github.com/winlinvip/simple-rtmp-server/wiki/v2_CN_Streamer#push-mpeg-ts-over-udp | ||
| 3 | +# @see https://github.com/winlinvip/simple-rtmp-server/issues/250#issuecomment-72321769 | ||
| 4 | +# @see full.conf for detail config. | ||
| 5 | + | ||
| 6 | +listen 1935; | ||
| 7 | +max_connections 1000; | ||
| 8 | +stream_caster { | ||
| 9 | + enabled on; | ||
| 10 | + caster mpegts_over_udp; | ||
| 11 | + output rtmp://127.0.0.1/live/livestream; | ||
| 12 | + listen 1935; | ||
| 13 | +} | ||
| 14 | +vhost __defaultVhost__ { | ||
| 15 | +} |
-
请 注册 或 登录 后发表评论