当前位置: 代码迷 >> 多媒体/流媒体开发 >> LIVE555 Media Server传输协议的取舍
  详细解决方案

LIVE555 Media Server传输协议的取舍

热度:9657   发布时间:2013-02-26 00:00:00.0
LIVE555 Media Server传输协议的选择
我用预编译的LIVE555 Media Server做了一下测试,用VLC访问时,抓包发现server用的是RTP over udp;用potplayer访问时,server用的是RTP over tcp。我看了一下LIVE555 Media Server网站上的说明,“By default, the server transmits its streams as RTP/UDP packets. If requested by the RTSP client, the server will stream its RTP (and RTCP) packets over TCP. (This can be useful for clients that are behind a firewall.)”。我不大明白何谓RTSP client,server如何判断是不是RTSP client。
------解决方案--------------------------------------------------------
rtsp client的话我个人认为就是使用了rtsp协议的客户端。
比如live555的例子中自带的openRTSP或者testRTSPClient都是属于rtsp client。
server如何判断?
rtsp client连接服务器时会遵循一定的协议,比如会首先发送option请求服务器支持的命令,然后发送请求sdp描述符的请求。具体可以去网上查一下。
  相关解决方案