Tcp 无法使用Live555代理服务器传输RTSP

Tcp 无法使用Live555代理服务器传输RTSP,tcp,udp,rtsp,vlc,live555,Tcp,Udp,Rtsp,Vlc,Live555,我正在使用Live555流媒体应用程序记录和重新流式传输来自IP摄像头的RTSP流。为此,我使用openRTSP进行录制,使用live555代理服务器重新流式传输相机流。对于一些摄像机,我们面临一个奇怪的问题,即摄像机录制成功,但是live555代理服务器无法为同一摄像机流生成新的流(详细输出转储中没有失败的迹象,但是rtsp客户端无法解码代理服务器生成的rtsp url). 由于我对live555代理服务器的详细信息一无所知,所以我一直无法解决这个问题。我试着用VLC传输相同的摄像机流,效果很

我正在使用Live555流媒体应用程序记录和重新流式传输来自IP摄像头的RTSP流。为此,我使用openRTSP进行录制,使用live555代理服务器重新流式传输相机流。对于一些摄像机,我们面临一个奇怪的问题,即摄像机录制成功,但是live555代理服务器无法为同一摄像机流生成新的流(详细输出转储中没有失败的迹象,但是rtsp客户端无法解码代理服务器生成的rtsp url). 由于我对live555代理服务器的详细信息一无所知,所以我一直无法解决这个问题。我试着用VLC传输相同的摄像机流,效果很好。这可能有什么问题。我在此附上详细的输出以供参考

E:\...\live\proxyServer>live555ProxyServer.exe -V rtsp://10.17.10.67/ch0_unicast_firststream
LIVE555 Proxy Server
        (LIVE555 Streaming Media library version 2012.05.17)

Opening connection to 10.17.10.67, port 554...
RTSP stream, proxying the stream "rtsp://10.17.10.67/ch0_unicast_firststream"
        Play this stream using the URL "rtsp://10.17.1.150/proxyStream"

(We use port 8000 for optional RTSP-over-HTTP tunneling.)
...remote connection opened
Sending request: DESCRIBE rtsp://10.17.10.67/ch0_unicast_firststream RTSP/1.0
CSeq: 2
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)
Accept: application/sdp


Received 716 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 2
Date: Wed, Jul 04 2012 10:55:19 GMT
Content-Base: rtsp://10.17.10.67/ch0_unicast_firststream/
Content-Type: application/sdp
Content-Length: 540

v=0
o=- 1341385393116860 1 IN IP4 10.17.10.67
s=Session of first stream
i=First Codec Stream
t=0 0
a=tool:LIVE555 Streaming Media v2007.08.03
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:Session of first stream
a=x-qt-text-inf:First Codec Stream
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=5;config=000001B005000001B509000001000000012000847A98
28A02240A31F
a=control:track1
m=metadata 0 RTP/AVP 97
c=IN IP4 0.0.0.0
a=rtpmap:97 METADATA/64000
a=control:track2

ProxyServerMediaSession["rtsp://10.17.10.67/ch0_unicast_firststream/"] added new
 "ProxyServerMediaSubsession" for RTP/video/MP4V-ES track
ProxyServerMediaSession["rtsp://10.17.10.67/ch0_unicast_firststream/"] added new
 "ProxyServerMediaSubsession" for RTP/metadata/METADATA track
Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 3
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Jul 04 2012 10:55:56 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Opening connection to 10.17.10.67, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 4
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Jul 04 2012 10:56:48 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Opening connection to 10.17.10.67, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 5
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 5
Date: Wed, Jul 04 2012 10:57:43 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 6
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 6
Date: Wed, Jul 04 2012 10:58:23 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 7
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 7
Date: Wed, Jul 04 2012 10:59:04 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 8
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


ProxyRTSPClient["rtsp://10.17.10.67/ch0_unicast_firststream/"]: lost connection
to server ('errno': 10057).  Resetting...
Opening connection to 10.17.10.67, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 9
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 122 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 9
Date: Wed, Jul 04 2012 11:00:29 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Opening connection to 10.17.10.67, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 10
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 123 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 10
Date: Wed, Jul 04 2012 11:01:22 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 11
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 123 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 11
Date: Wed, Jul 04 2012 11:02:05 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 12
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 123 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 12
Date: Wed, Jul 04 2012 11:02:39 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 13
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 123 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 13
Date: Wed, Jul 04 2012 11:03:10 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE


Sending request: OPTIONS rtsp://10.17.10.67/ch0_unicast_firststream/ RTSP/1.0
CSeq: 14
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2012.05.17)


Received 123 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 14
Date: Wed, Jul 04 2012 11:03:46 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
等待您的回复

问候,


Saurabh Gandhi

这可能主要是因为防火墙阻塞了udp端口。尝试使用
-t
标志强制通过tcp进行传输

你使用tcp传输吗?如果是,请尝试使用udp传输。