live555 tsetRTSPClient 接收 鉴权IPC 延迟问题解决

使用live555 接收 有鉴权功能的IPC中的RTSP服务时 RTSP play 之前会有很长时间的延时 大概10秒左右

原因是我们的rtsp的url 可能是 这种形式的rtsp:\\usr:[email protected]\filename

也就是说rtsp的url 是包含用户名和密码的。

解决方法:

RTSPClient 实例使用时sendDescribeCommand 使用

sendDescribeCommand(describecallback,Authenticator*);

猜你喜欢

转载自blog.csdn.net/u013008311/article/details/81585827
今日推荐