[Live-devel] [EXTERNAL] Re: VLC and Live555ProxyServer and a 404?
Spies, Will
Will_Spies at comcast.com
Thu Jun 28 09:55:29 PDT 2018
The 401 is the earlier error -- like I said it seems to recover (seems to) as I get HTTP 200's after before running into a 404 via VLC. I do under VLC is not here -- but as I said VLC works fine with my originating RTSP links just not with the LiveProxy server links. I have multiple URIs that each have different credentials. My Shell Script looks like:
#!/bin/bash
# Start the proxy server.
live555ProxyServer -V \
"rtsp://user:pwd1@192.168.112.2:554/Sms=3.unicast" \
"rtsp:// user:pwd2 at 192.168.112.2:554/Sms=5.unicast" \
"rtsp:// user:pwd3 at 192.168.112.2:554/Sms=6.unicast" \
"rtsp:// user:pwd4 at 192.168.112.2:554/Sms=7.unicast" \
"rtsp:// user:pwd5 at 192.168.112.2:554/Sms=8.unicast" \
"rtsp:// user:pwd6 at 192.168.112.2:554/Sms=9.unicast" \
openRTSP returns the same 404 LiveProxy returns to VLC in my case:
will at will-linux:~$ openRTSP rtsp://192.168.112.16/proxyServer-1
Created new TCP socket 3 for connection
Connecting to 192.168.112.16, port 554 on socket 3...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.112.16/proxyServer-1 RTSP/1.0
CSeq: 2
User-Agent: openRTSP (LIVE555 Streaming Media v2018.04.25)
Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Thu, Jun 28 2018 16:53:46 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
Sending request: DESCRIBE rtsp://192.168.112.16/proxyServer-1 RTSP/1.0
CSeq: 3
User-Agent: openRTSP (LIVE555 Streaming Media v2018.04.25)
Accept: application/sdp
Received 79 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 404 Stream Not Found
CSeq: 3
Date: Thu, Jun 28 2018 16:53:46 GMT
Failed to get a SDP description for the URL "rtsp://192.168.112.16/proxyServer-1": 404 Stream Not Found
will at will-linux:~$
Thanks,
Will
-----Original Message-----
From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Thursday, June 28, 2018 8:42 AM
To: LIVE555 Streaming Media - development & use <live-devel at ns.live555.com>
Subject: [EXTERNAL] Re: [Live-devel] VLC and Live555ProxyServer and a 404?
The "401 Unauthorized” response means that the back-end server is expecting a username+password. Are you running the proxy server with the
-u <username> <password>
option? See http://live555.com/proxyServer/
Also, in general, when testing you should use “openRTSP” (our command-line RTSP client; see <http://www.live555.com/openRTSP/>) as a front-end RTSP client, before you try using VLC. (Note that VLC is not our software.)
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
More information about the live-devel
mailing list