Hi developers,<br><br>I&#39;m trying to connect with an URL like this: &quot;rtsp://xxx.xxx.xxx.xxx:554/axis-media/media.amp?videocodec=h264&quot;.<br><br>I correctly do DESCRIBE and SETUP receiving &quot;RTSP/1.0 200 OK&quot; but after that when I send &quot;PLAY&quot; I receive &quot;RTSP/1.0 400 Bad Request&quot;. With Wireshark I&#39;ve been looking all the packets that I send and receive. All is correct I think.<br>
<br>I use RTSPClient.cpp and I changed that function:<br><br>char const* RTSPClient::sessionURL(MediaSession const&amp; session) const {<br>  char const* url = session.controlPath();<br>  if (url == NULL || strcmp(url, &quot;*&quot;) == 0) url = fBaseURL;<br>
  if (url == NULL || strchr(url, &#39;?&#39;) != NULL) url = fBaseURL; /*New code*/<br>  return url;<br>}<br clear="all"><br>I added that line because I tried connect using VLC and the difference betwen PLAY command is:<br>
<br>VLC Send play with: &quot;rtsp://xxx.xxx.xxx.xxx:554/axis-media/media.amp&quot;.<br>RTSPClient without my code sends: &quot;rtsp://xxx.xxx.xxx.xxx:554/axis-media/media.amp?videocodec=h264&quot;.<br><br>I changed to send the same than VLC.<br>
<br>Thanks in advance.<br><br>PD: I know that VLC not is a part of live555 but is fine to compare the connection sequence.<br><br>-- <br>Miguel Angel Arcos<br>