RTSP server java implementation problems :(

旧街凉风 提交于 2019-12-06 10:39:36

The RTSP peers in the server log, should be agreeing on 'transport' as part of the protocol after the RTSP SETUP request is sent by the client...

Received 360 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Session: 70cd7f38;timeout=90
Transport: RTP/AVP;unicast;mode=play;client_port=64498-64499;server_port=10580-10581;source=74.125.212.247;ssrc=50DF166F

Your server logs should show the peers agreeing to sets of ports ( C / S ) for the RTCP and data portions of the protocol.

A guess is that your VLC client does not know where to find the data stream to read... ie what port should i wait on for ( data available to be read ).

Logs from some successful RTSP sessions:

Play Youtube RTSP : client openrtsp

VLC client Play RTSP stream

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!