Hello,<br><br>I am developing a RTSP client that has to send RTSP requests to a RTSP server. To do that, I use the RTSPClient object.<br><br>I would like to know if it is possible to parameter the SETUP request so that the media will be sent to another address that the address of the client. In the RTSP RFC, it is said that the string "destination=..." can be added to the Transport field of the SETUP request to specify where you want the media to be sent. Is it possible in the LiveMedia library? If it is, how can I specify this address? The client port can be specified, is it possible to specify the client address?
<br><br>Here is the code where my SETUP request is sent :<br><br> RTSPClient client;<br> ...<br><br> MediaSession* session = MediaSession::createNew(*usage_environment, sdp_message);<br> MediaSubsessionIterator iter(*session);
<br> MediaSubsession *subsession;<br> while ((subsession = iter.next()) != NULL) {<br> subsession->setClientPortNum(port);<br><br> if (strcmp(transportType,"unicast") == 0)<br> client->setupMediaSubsession(*subsession, False, False);
<br><br> if (strcmp(transportType,"multicast") == 0)<br> client->setupMediaSubsession(*subsession, False, False, True);<br> port += 2;<br> }<br><br>Best regards,<br><br>Julien<br>