Hello, I want to use live555ProxyServer for retrieving one back-end RTSP stream and sending it to multiple RTSP clients. When I have only one client (e.g. VLC), it is working fine, but when I attach a second client to the proxy-stream,
Problem 1: I can't see the second stream (e.g. in a second VLC instance on a different PC, although the timer in VLC is counting upwards) Problem 2: on the first client the frame rate and image quality breaks down Setup: I am using this version #define LIVEMEDIA_LIBRARY_VERSION_STRING "2017.06.04" #define LIVEMEDIA_LIBRARY_VERSION_INT 1496534400 in proxyServer/live555ProxyServer.cpp I set in line 61 OutPacketBuffer::maxSize = 200000; // bytes because I receive frames which are above 100000 (and I cannot change this, however, the problem I described above also occured under the default setting of 100000). I started the live555ProxyServer with this command live555ProxyServer -V rtsp://root:root@192.168.5.245:554/axis-media/media.amp then I 1. started a VLC client 2. after a few seconds started a second VLC client and could immediately observe the problem 3. stopped the second VLC client, the first VLC client showed a fluent picture again 4. stopped the first VLC client Attached are the logs generated by live555ProxyServer (IPs and credentials were replaced). Does somebody have an idea, how I can resolve this problem or what I am doing wrong here? Thanks for any help Martin # " This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system." #
LIVE555 Proxy Server (LIVE555 Streaming Media library version 2017.06.04; licensed under the GNU LGPL) Created new TCP socket 4 for connection Connecting to 192.168.0.1, port 554 on socket 4... RTSP stream, proxying the stream "rtsp://cred:cred@192.168.0.1:554/axis-media/media.amp" Play this stream using the URL: rtsp://192.168.0.2/proxyStream (We use port 80 for optional RTSP-over-HTTP tunneling.) ...remote connection opened Sending request: DESCRIBE rtsp://cred:cred@192.168.0.1:554/axis-media/media.amp RTSP/1.0 CSeq: 2 User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Accept: application/sdp Received 278 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 401 Unauthorized CSeq: 2 WWW-Authenticate: Digest realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", stale=FALSE WWW-Authenticate: Basic realm="AXIS_ACCC8E6260B9" Server: GStreamer RTSP server Date: Fri, 14 Jul 2017 09:13:14 GMT Resending... Sending request: DESCRIBE rtsp://cred:cred@192.168.0.1:554/axis-media/media.amp RTSP/1.0 CSeq: 3 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://cred:cred@192.168.0.1:554/axis-media/media.amp", response="d1ed02ba1352e4351b8c945aee13f7fb" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Accept: application/sdp Received 804 new bytes of response data. Received a complete DESCRIBE response: RTSP/1.0 200 OK CSeq: 3 Content-Type: application/sdp Content-Base: rtsp://192.168.0.1:554/axis-media/media.amp/ Server: GStreamer RTSP server Date: Fri, 14 Jul 2017 09:13:14 GMT Content-Length: 594 v=0 o=- 1188340656180883 1 IN IP4 192.168.0.1 s=Session streamed with GStreamer i=rtsp-server t=0 0 a=tool:GStreamer a=type:broadcast a=range:npt=now- a=control:rtsp://192.168.0.1:554/axis-media/media.amp m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 b=AS:50000 a=rtpmap:96 H264/90000 a=fmtp:96 packetization-mode=1;profile-level-id=4d0029;sprop-parameter-sets=Z00AKeKQDwBE/LgLcBAQGkHiRFQ=,aO48gA== a=control:rtsp://192.168.0.1:554/axis-media/media.amp/stream=0 a=framerate:15.000000 a=transform:-1.000000,0.000000,0.000000;0.000000,-1.000000,0.000000;0.000000,0.000000,1.000000 ProxyServerMediaSession[rtsp://192.168.0.1:554/axis-media/media.amp/] added new "ProxyServerMediaSubsession" for RTP/video/H264 track ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::createNewStreamSource(session id 0) Initiated: ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264] ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::createNewRTPSink() ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::closeStreamSource() ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::createNewStreamSource(session id 803940147) Sending request: SETUP rtsp://192.168.0.1:554/axis-media/media.amp/stream=0 RTSP/1.0 CSeq: 4 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://192.168.0.1:554/axis-media/media.amp/", response="730a0e0306b5c636d82541510cc2dea7" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Transport: RTP/AVP;unicast;client_port=43996-43997 ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::createNewRTPSink() Received 237 new bytes of response data. Received a complete SETUP response: RTSP/1.0 200 OK CSeq: 4 Transport: RTP/AVP;unicast;client_port=43996-43997;server_port=50012-50013;ssrc=E37FEADF;mode="PLAY" Server: GStreamer RTSP server Session: XEmTpnOwaQ7hfUp0; timeout=60 Date: Fri, 14 Jul 2017 09:13:42 GMT ProxyRTSPClient[rtsp://192.168.0.1:554/axis-media/media.amp/]::continueAfterSETUP(): head codec: H264; numSubsessions 1 queue: H264 Sending request: PLAY rtsp://192.168.0.1:554/axis-media/media.amp RTSP/1.0 CSeq: 5 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://192.168.0.1:554/axis-media/media.amp/", response="8d4772402d772f9399f9c8441f3dcead" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Session: XEmTpnOwaQ7hfUp0 Received 251 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 5 RTP-Info: url=rtsp://192.168.0.1:554/axis-media/media.amp/stream=0;seq=10692;rtptime=3752540759 Range: npt=now- Server: GStreamer RTSP server Session: XEmTpnOwaQ7hfUp0; timeout=60 Date: Fri, 14 Jul 2017 09:13:43 GMT Sending request: OPTIONS rtsp://192.168.0.1:554/axis-media/media.amp/ RTSP/1.0 CSeq: 6 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://192.168.0.1:554/axis-media/media.amp/", response="4ef99dff643b605667defc984a98585d" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Session: XEmTpnOwaQ7hfUp0 Received 222 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 6 Public: OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN Server: GStreamer RTSP server Session: XEmTpnOwaQ7hfUp0; timeout=60 Date: Fri, 14 Jul 2017 09:13:44 GMT Sending request: OPTIONS rtsp://192.168.0.1:554/axis-media/media.amp/ RTSP/1.0 CSeq: 7 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://192.168.0.1:554/axis-media/media.amp/", response="4ef99dff643b605667defc984a98585d" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Session: XEmTpnOwaQ7hfUp0 Received 222 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 200 OK CSeq: 7 Public: OPTIONS, DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN Server: GStreamer RTSP server Session: XEmTpnOwaQ7hfUp0; timeout=60 Date: Fri, 14 Jul 2017 09:14:14 GMT ProxyServerMediaSubsession[rtsp://192.168.0.1:554/axis-media/media.amp/,H264]::closeStreamSource() Sending request: PAUSE rtsp://192.168.0.1:554/axis-media/media.amp RTSP/1.0 CSeq: 8 Authorization: Digest username="cred", realm="AXIS_ACCC8E6260B9", nonce="0028eb1dY148765765a8e4a40dda8081b8fc161c058257", uri="rtsp://192.168.0.1:554/axis-media/media.amp/", response="f8afcd74eee68acbaafe2583c4749b0b" User-Agent: ProxyRTSPClient (LIVE555 Streaming Media v2017.06.04) Session: XEmTpnOwaQ7hfUp0 Received 135 new bytes of response data. Received a complete PAUSE response: RTSP/1.0 200 OK CSeq: 8 Server: GStreamer RTSP server Session: XEmTpnOwaQ7hfUp0; timeout=60 Date: Fri, 14 Jul 2017 09:14:27 GMT
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel