[Live-devel] Difference between live555ProxyServer and openRTSP

info at denisgottardello.it info at denisgottardello.it
Wed Jun 5 13:05:22 PDT 2024


Please have a look at the attachment.

In data mercoledì 5 giugno 2024 17:11:11 CEST, Ross Finlayson ha scritto:
> > On Jun 5, 2024, at 6:12 AM, info at denisgottardello.it wrote:
> > 
> > I don't know why but live555ProxyServer works only with "-t" switch (with
> > this particular device).
> 
> Why don’t you find out why - by running “live555ProxyServer” with the -V
> flag (upper case V), but without -t.  What do you see?
> > Maybe the rtsp client implementation is different?
> 
> No, it’s the same (the “RTSPClient” class).  And you can see this because,
> 	Remember, You Have Complete Source Code
> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
root at dvr01:/opt/Live# ./live555ProxyServer -V rtsp://???:???@192.168.1.14:554/live/ch0 > a.txt
LIVE555 Proxy Server
        (LIVE555 Streaming Media library version 2024.05.05; licensed under the GNU LGPL)

Created new TCP socket 5 for connection
Connecting to 192.168.1.14, port 554 on socket 5...
RTSP stream, proxying the stream "rtsp://???:???@192.168.1.14:554/live/ch0"
        Play this stream using the URL: rtsp://192.168.1.3/proxyStream

(We use port 80 for optional RTSP-over-HTTP tunneling.)
...remote connection opened
Sending request: DESCRIBE rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 2
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Accept: application/sdp


Received 143 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
Server: RTSP Server
CSeq: 2
WWW-Authenticate: Digest realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f"


Resending...
Sending request: DESCRIBE rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 3
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="414d2dd385b7e18dd988dcf762ee884e"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Accept: application/sdp


Received 836 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Wed, Jun 05 2024 19:58:50 GMT
Server: RTSP Server
Content-type: application/sdp
Content-length: 698

v=0
o=- 1717617530 1717617531 IN IP4 192.168.1.14
s=streamed by RTSP server
e=NONE
b=AS:1088
t=0 0
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:1024
a=recvonly
a=x-dimensions:2304,1296
a=rtpmap:96 H265/90000
a=control:track0
a=fmtp:96 profile-space=0;profile-id=0;tier-flag=0;level-id=0;interop-constraints=000000000000;sprop-vps=QAEMAf//IUAAAAMAkAAAAwAAAwCWJQJA;sprop-sps=QgEBIUAAAAMAkAAAAwAAAwCWoAEgIAURZ67kShc1AQEBBAAAAwAEAAADADwg;sprop-pps=RAHA98Dm2Q==
m=audio 0 RTP/AVP 97
c=IN IP4 0.0.0.0
b=AS:64
a=recvonly
a=control:track1
a=rtpmap:97 MPEG4-GENERIC/8000/1
a=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1588;profile=1;


ProxyServerMediaSession[rtsp://???:???@192.168.1.14:554/live/ch0] added new "ProxyServerMediaSubsession" for RTP/video/H265 track
ProxyServerMediaSession[rtsp://???:???@192.168.1.14:554/live/ch0] added new "ProxyServerMediaSubsession" for RTP/audio/MPEG4-GENERIC track
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]::createNewStreamSource(session id 0)
        Initiated: ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]::createNewRTPSink()
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]::closeStreamSource()
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]::createNewStreamSource(session id 0)
        Initiated: ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]::createNewRTPSink()
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]::closeStreamSource()
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]::createNewStreamSource(session id 3376540428)
Sending request: SETUP rtsp://???:???@192.168.1.14:554/live/ch0/track0 RTSP/1.0
CSeq: 4
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="8837618c67bea6a78c535aa7ba7c9072"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Transport: RTP/AVP;unicast;client_port=53678-53679


ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,H265]::createNewRTPSink()
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]::createNewStreamSource(session id 3376540428)
ProxyServerMediaSubsession[rtsp://???:???@192.168.1.14:554/live/ch0,MPEG4-GENERIC]::createNewRTPSink()
Received 220 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Wed, Jun 05 2024 19:59:03 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Transport: RTP/AVP/UDP;unicast;client_port=53678-53679;server_port=37268-37269;timeout=60


ProxyRTSPClient[rtsp://???:???@192.168.1.14:554/live/ch0]::continueAfterSETUP(): head codec: H265; numSubsessions 2
        queue:  H265    MPEG4-GENERIC
Sending request: SETUP rtsp://???:???@192.168.1.14:554/live/ch0/track1 RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="8837618c67bea6a78c535aa7ba7c9072"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Transport: RTP/AVP;unicast;client_port=54760-54761
Session: 4294554521625418636


Received 220 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Wed, Jun 05 2024 19:59:03 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Transport: RTP/AVP/UDP;unicast;client_port=54760-54761;server_port=55282-55283;timeout=60


ProxyRTSPClient[rtsp://???:???@192.168.1.14:554/live/ch0]::continueAfterSETUP(): head codec: MPEG4-GENERIC; numSubsessions 2
        queue:  MPEG4-GENERIC
Sending request: PLAY rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 6
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="40422e2ff2469e2018522493318d4ca2"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 129 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Wed, Jun 05 2024 19:59:03 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 7
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 216 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 7
Date: Wed, Jun 05 2024 19:59:20 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 8
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 216 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 8
Date: Wed, Jun 05 2024 19:59:50 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 9
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 216 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 9
Date: Wed, Jun 05 2024 20:00:20 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 10
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 217 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 10
Date: Wed, Jun 05 2024 20:00:50 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 11
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 217 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 11
Date: Wed, Jun 05 2024 20:01:20 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 12
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 217 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 12
Date: Wed, Jun 05 2024 20:01:50 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 13
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 217 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 13
Date: Wed, Jun 05 2024 20:02:20 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: OPTIONS rtsp://???:???@192.168.1.14:554/live/ch0 RTSP/1.0
CSeq: 14
Authorization: Digest username="admin", realm="HHRtspd", nonce="bcd17bb4969d7f35eafbef7df887ce5f", uri="rtsp://???:???@192.168.1.14:554/live/ch0", response="c478ad4464820c88794d3baa8475321f"
User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2024.05.05)
Session: 4294554521625418636


Received 217 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 14
Date: Wed, Jun 05 2024 20:02:50 GMT
Server: RTSP Server
Session: 4294554521625418636; timeout=60;
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


More information about the live-devel mailing list