live555 vs2010编译版本

来源:互联网 发布:手机五毛钱特效软件 编辑:程序博客网 时间:2024/05/18 00:57

推广:live555 vs2010编译版本 


整个编译过程没有任何问题,直接把源代码文件加入即可,

完成后可以直接编译调试,把媒体文件放在服务器程序同一目录下及可以使用vlc点播或自带的rtspClient测试


注意使用前先看官方文档 :

1 LIVE555 Proxy Server 是一个rtsp的代理服务器

2 live555其实是支持http的,文档中提到可以使用iphone或ipad中使用safari访问视频,但是注意的是视频必须在服务器同级目录,不支持子目录访问。

Streaming to iPhones and iPads

As a special case, the server can also stream MPEG Transport Stream files to iPhones and iPads, using Apple's "HTTP Live Streaming" mechanism. (A single server can stream the same file(s) using either RTSP/RTP (to standard RTSP/RTP clients such as VLC), or using HTTP (to "Safari" on iPhones and iPads).)

For a streamed file to be viewable on an iPhone or iPad, it must be a MPEG Transport Stream file with H.264 video, encoded using H.264 "Baseline profile 3.0, Baseline profile 3.1, or Main profile 3.1", or just "Baseline 3.1" for older iPhones. Also, each such Transport Stream file must have a corresponding 'index file'. (However, unlike some other streaming servers for iPhones/iPads, the Transport Stream files are not broken up into segments; instead, they are left intact.)

To view such a stream from an iPhone or iPad, you do so using the "Safari" browser app, and use a "http://" URL, not a "rtsp://" URL. Specifically, you enter an URL of the form

http://<server-name-or-ip-address>:<http-port-number>/<filename>
where <http-port-number> is the port number - for "HTTP Live Streaming" - that the "live555MediaServer" application displays at the end of its console output, after it starts up. (If the port number is 80 (the default port number for HTTP), then you can omit ":80" from the URL.)
0 0
原创粉丝点击