Hello Ross


Many thanks!!!

I've been testing the new release and it fixes the bug that I reported last week. When a BYE is received from the backend, the proxy doesn't crash. But, once the connection with the frontend client is closed, if you try to connect again to the stream source, a new error appears. You can see below a complete log of a test connecting against a Mpeg4 stream source (through TCP):


       ./live555ProxyServer -V -t
       rtsp://root:qazwsx123@192.168.0.82:554/mpeg4/media.amp

       LIVE555 Proxy Server
            (LIVE555 Streaming Media library version 2013.01.19)

       Opening connection to 192.168.0.82, port 554...
       RTSP stream, proxying the stream
       "rtsp://root:qazwsx123@192.168.0.82:554/mpeg4/media.amp"
            Play this stream using the URL: rtsp://192.168.0.18/proxyStream

       (We use port 80 for optional RTSP-over-HTTP tunneling.)
       ...remote connection opened
       Sending request: DESCRIBE
       rtsp://root:qazwsx123@192.168.0.82:554/mpeg4/media.amp RTSP/1.0
       CSeq: 2
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)
       Accept: application/sdp


       Received 89 new bytes of response data.
       Received a complete DESCRIBE response:
       RTSP/1.0 401 Unauthorized
       CSeq: 2
       WWW-Authenticate: Basic realm="AXIS_00408C7CC50E"


       Resending...
       Sending request: DESCRIBE
       rtsp://root:qazwsx123@192.168.0.82:554/mpeg4/media.amp RTSP/1.0
       CSeq: 3
       Authorization: Basic cm9vdDpxYXp3c3gxMjM=
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)
       Accept: application/sdp


       Received 856 new bytes of response data.
       Received a complete DESCRIBE response:
       RTSP/1.0 200 OK
       CSeq: 3
       Content-Base: rtsp://192.168.0.82:554/mpeg4/media.amp/
       Content-Type: application/sdp
       Content-Length: 720

       v=0
       o=- 1358774696384221 1358774696384230 IN IP4 192.168.0.82
       s=Media Presentation
       e=NONE
       c=IN IP4 0.0.0.0
       b=AS:8000
       t=0 0
       a=control:*
       a=range:npt=now-
       a=mpeg4-iod:
       
"data:application/mpeg4-iod;base64,AoFSAE8BAf/1AQNuAAFAUGRhdGE6YXBwbGljYXRpb24vbXBlZzQtb2QtYXU7YmFzZTY0LEFSMEJHd1VmQXhjQXlTUUFaUVFOSUJFRWsrQUFlaElBQUhvU0FBWUJCQT09BA0BBQAEAAAAAAAAAAAABgkBAAAAAAAAAAADOgACQDZkYXRhOmFwcGxpY2F0aW9uL21wZWc0LWJpZnMtYXU7YmFzZTY0LHdCQVNZUVNJVUVVRlB3QT0EEgINAAACAAAAAAAAAAAFAwAAQAYJAQAAAAAAAAAA"
       a=isma-compliance:1,1.0,1
       m=video 0 RTP/AVP 96
       b=AS:8000
       a=framerate:5.0
       a=control:trackID=1
       a=rtpmap:96 MP4V-ES/90000
       a=fmtp:96 profile-level-id=245;
       config=000001B0F5000001B5891300000100000001200086C40FA285020F0A21
       a=mpeg4-esid:201

       ProxyServerMediaSession["rtsp://192.168.0.82:554/mpeg4/media.amp/"]
       added new "ProxyServerMediaSubsession" for RTP/video/MP4V-ES track

       ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session
       id 0)
            Initiated: ProxyServerMediaSubsession["MP4V-ES"]
       ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()
       ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()
       ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session
       id 3856461167)
       Sending request: SETUP
       rtsp://192.168.0.82:554/mpeg4/media.amp/trackID=1 RTSP/1.0
       CSeq: 4
       Authorization: Basic cm9vdDpxYXp3c3gxMjM=
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)
       Transport: RTP/AVP/TCP;unicast;interleaved=0-1


       ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()
       Received 124 new bytes of response data.
       Received a complete SETUP response:
       RTSP/1.0 200 OK
       CSeq: 4
       Session: 0525353949;timeout=60
       Transport: RTP/AVP/TCP;unicast;interleaved=206-207;mode="PLAY"


       
ProxyRTSPClient["rtsp://192.168.0.82:554/mpeg4/media.amp/"]::continueAfterSETUP():
       head codec: MP4V-ES; numSubsessions 1
            queue:    MP4V-ES
       Sending request: PLAY rtsp://192.168.0.82:554/mpeg4/media.amp/
       RTSP/1.0
       CSeq: 5
       Authorization: Basic cm9vdDpxYXp3c3gxMjM=
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)
       Session: 0525353949


       Received a complete PLAY response:
       RTSP/1.0 200 OK
       CSeq: 5
       Session: 0525353949
       Range: npt=now-
       RTP-Info: url=trackID=1;seq=39937;rtptime=848048528


       Sending request: OPTIONS
       rtsp://192.168.0.82:554/mpeg4/media.amp/ RTSP/1.0
       CSeq: 6
       Authorization: Basic cm9vdDpxYXp3c3gxMjM=
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)


       Received a complete OPTIONS response:
       RTSP/1.0 200 OK
       CSeq: 6
       Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP,
       SET_PARAMETER, TEARDOWN


       ProxyServerMediaSubsession["MP4V-ES"]: received RTCP "BYE"
       ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()
       Sending request: PAUSE rtsp://192.168.0.82:554/mpeg4/media.amp/
       RTSP/1.0
       CSeq: 7
       Authorization: Basic cm9vdDpxYXp3c3gxMjM=
       User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2013.01.19)
       Session: 0525353949


       ProxyServerMediaSubsession["MP4V-ES"]::closeStreamSource()
       ProxyServerMediaSubsession["MP4V-ES"]::createNewStreamSource(session
       id 976923673)
       Opening connection to 192.168.0.82, port 554...
       ProxyServerMediaSubsession["MP4V-ES"]::createNewRTPSink()
       FramedSource[0x9651f00]::getNextFrame(): attempting to read more
       than once at the same time!
       Abortado


Thank you in advance.
Conchi Abasolo
Vaelsys


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to