I just upgraded an AXIS camera's firmware to 4.47 (2008-03-13). The new firmware has gotten more strict with authorization causing a VLC 0.8.6h client to fail on an rtsp stream.<br><br>I see the OPTIONS request succeed and then the DESCRIBE request fail w/o the authorization modifier. Then OPTIONS and DESCRIBE get retried successfully w/ auth and the SDP is transfered. Next the SETUP request does not contain the authorization modifier and it does not get retried with auth. The previous AXIS firmware did not require auth in that packet.<br>
<br>I assume that this is a live555 bug because the code appears to cache an authenticator. The CSeq numbers are monotonically increasing so this is all one UDP pseudo connection and the successful auth creds should be reused by every request in that pseudo connection.<br>
<br>Turning off auth works like a charm.<br><br><br>A sanitized VLC verbose (-vv) trace follows. I apologize in advance if gmail butchers this.<br><p style="margin-bottom: 0in;">Sending request: OPTIONS
rtsp://<a href="http://192.168.11.154/mpeg4/1/media.amp">192.168.11.154/mpeg4/1/media.amp</a> RTSP/1.0<br>CSeq: 1<br>User-Agent: VLC media player (LIVE555
Streaming Media v2008.04.02)<br>
</p>
<p style="margin-bottom: 0in;">Received OPTIONS response: RTSP/1.0 200
OK<br>CSeq: 1</p>
<p style="margin-bottom: 0in;">Public: DESCRIBE, GET_PARAMETER, PAUSE,
PLAY, SETUP, SET_PARAMETER, TEARDOWN</p>
<p style="margin-bottom: 0in;">Sending request: DESCRIBE
rtsp://<a href="http://192.168.11.154/mpeg4/1/media.amp">192.168.11.154/mpeg4/1/media.amp</a> RTSP/1.0<br>CSeq: 2<br>Accept: application/sdp<br>User-Agent: VLC media player (LIVE555
Streaming Media v2008.04.02)<br>
</p>
<p style="margin-bottom: 0in;">Received DESCRIBE response: RTSP/1.0
401 Unauthorized<br>CSeq: 2<br>WWW-Authenticate: Basic
realm="AXIS_00..."</p>
<p style="margin-bottom: 0in;">[00000329] live555 demuxer debug:
DESCRIBE failed with 401: [cannot handle DESCRIBE response: RTSP/1.0
401 Unauthorized]<br>[00000329] live555 demuxer debug:
connection timeout, retrying<br>Sending request: OPTIONS
rtsp://<a href="http://192.168.11.154/mpeg4/1/media.amp">192.168.11.154/mpeg4/1/media.amp</a> RTSP/1.0<br>CSeq: 3<br>Authorization: Basic <base64 creds><br>User-Agent: VLC media player (LIVE555
Streaming Media v2008.04.02)<br>
</p>
<p style="margin-bottom: 0in;">Received OPTIONS response: RTSP/1.0 200
OK<br>CSeq: 3<br>Public: DESCRIBE, GET_PARAMETER, PAUSE,
PLAY, SETUP, SET_PARAMETER, TEARDOWN<br>
</p>
<p style="margin-bottom: 0in;">Sending request: DESCRIBE
rtsp://<a href="http://192.168.11.154/mpeg4/1/media.amp">192.168.11.154/mpeg4/1/media.amp</a> RTSP/1.0<br>CSeq: 4<br>Accept: application/sdp<br>Authorization: Basic <base64 creds><br>User-Agent: VLC media player (LIVE555
Streaming Media v2008.04.02)<br>
</p>
<p style="margin-bottom: 0in;">Received DESCRIBE response: RTSP/1.0
200 OK<br>CSeq: 4<br>Content-Base:
rtsp://<a href="http://192.168.11.154:554/mpeg4/1/media.amp/">192.168.11.154:554/mpeg4/1/media.amp/</a><br>Content-Type: application/sdp<br>Content-Length: 727<br>
</p>
<p style="margin-bottom: 0in;">Need to read 727 extra bytes<br><snip SDP><br>
</p>
<p style="margin-bottom: 0in;">[00000329] live555 demuxer debug: RTP
subsession 'video/MP4V-ES'<br>Sending request: SETUP rtsp://<a href="http://192.168.11.154:554/mpeg4/1/media.amp/trackID=1">192.168.11.154:554/mpeg4/1/media.amp/trackID=1</a> RTSP/1.0<br>CSeq: 5<br>Transport:
RTP/AVP;unicast;client_port=60172-60173<br>User-Agent: VLC media player (LIVE555
Streaming Media v2008.04.02)<br>
</p>
<p style="margin-bottom: 0in;">Received SETUP response: RTSP/1.0 401
Unauthorized<br>CSeq: 5<br>WWW-Authenticate: Basic
realm="AXIS_..."<br>
</p>
<p style="margin-bottom: 0in;">[00000329] live555 demuxer error: SETUP
of'video/MP4V-ES' failed SETUP: cannot handle response: RTSP/1.0 401
Unauthorized<br>[00000329] live555 demuxer error:
Nothing to play for rtsp://<a href="http://192.168.11.154/mpeg4/1/media.amp">192.168.11.154/mpeg4/1/media.amp</a><br>[00000329] main demuxer warning: no
access_demux module matching "rtsp" could be loaded<br></p>