live555 设置RTP over RTSP(TCP)

live555工程中testprogs做为一个简单的rtsp客户端,默认采用udp进行音视频数据的传输,tcp

若是须要使用tcp进行数据的传输,能够进行以下代码的修改:ide

testRTSPClient.cpp文件#define REQUEST_STREAMING_OVER_TCP True便可视频



源代码server

// By default, we request that the server stream its data using RTP/UDP.it

// If, instead, you want to request that the server stream via RTP-over-TCP, 
class

//change the following to True:test


#define REQUEST_STREAMING_OVER_TCP Truestream


VLC默认播放TCP音视频流设置以下:udp

去复用器>RTP/RTSP>request

相关文章
相关标签/搜索