<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sarma,<div class=""><br class=""></div><div class="">Thanks for the note.  I’d be happy to add support in “RTSPClient” for the ”Speed:” parameter (as it’s part of the RTSP standard (albeit rarely used)).  However, I have some comments/questions about the mechanism that you’re using:</div><div class="">1/ Remember to upgrade to the latest version of the code (I see that you’re using a version from 2014).  There have been several improvements and bug fixes (including to “RTSPClient”) since then.</div><div class="">2/ You don’t need “setSpeed()” functions in “MediaSession” or “MediaSubsession”, because the “speed()” function returns a “float&”.  I.e., your calling code could just do (e.g.)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span>session<-speed() = 2.0;</div><div class="">instead of</div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>session<->setSpeed(2.0);</div><div class="">3/ I don’t see where - in “RTSPClient” - you’re ever setting the ‘speed’ value (that your code checks to determine whether or not it needs to include a “Speed:” parameter in the “PLAY” request.  Presumably you need some function in the “RTSPClient” API that allows calling code to set that value.  I wouldn’t want to add this parameter to the (already crowded) “RTSPClient::sendPlayCommand()” function, because it’s going to be so rarely used.  Instead, you could add a function like</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>void RTSPClient::setSpeed(MediaSession& session, float speed = 1.0);</div><div class="">that would set the ‘speed’ parameter to be used in subsequent “PLAY” commands.<br class=""></div><div class="">How were you intending to set this value?</div><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>