您的位置:首页 > 其它

ffserver RTSP服务器配置

2014-03-24 11:43 344 查看
用一个MP3文件测试,config配置如下:

RTSPPort 5454
BindAddress 0.0.0.0
RTSPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
#MP3 audio
<Stream cry.mp3>
File "/media/sf_chuchen/ffmpeg/cry.mp3"
Format rtp
NoVideo
</Stream>
其中,以下两条必须指定

RTSPPort 5454 #rtsp server 端口

Format rtp #格式为rtp,在http下,为流的格式(MP3)

vlc播放:

rtsp://ip_addr:5454/stream_name
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: