Use BaseUri as the request Url when making the GET_PARAMETER request
This ensures that the Url used is the one returned from the DESCRIBE request
This was the previous behaviour when speaking to a Live555 RTSP Server
Request:
V/Sender: DESCRIBE rtsp://user:[email protected]:554/video?input=0&transmission=unicast RTSP/1.0 uri="rtsp://user:[email protected]:554/video?input=0&transmission=unicast"
Response:
V/Receiver: RTSP/1.0 200 OK Content-Base: rtsp://127.0.0.1/video?input=0&profile=primary&transmission=unicast/
after some time streaming
Request:
V/Sender: GET_PARAMETER rtsp://user:[email protected]:554/video?input=0&transmission=unicast RTSP/1.0 uri="rtsp://user:[email protected]:554/video?input=0&transmission=unicast"
Response:
V/Receiver: RTSP/1.0 404 Not Found
As you can see rtsp://127.0.0.1/video?input=0&transmission=unicast/ is missing the profile=primary part of the request string resulting in a 404