<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div dir="ltr"><div>I want to be able to request one single frame at an absolute time from the RTSP Client. Is that possible?</div></div></blockquote><div><br></div>The RTSP protocol specification has an optional mechanism that allows this: specifying a range that uses SMPTE-format times (that can address individual frames, by number). However, the "LIVE555 Streaming Media" code does not support this, and it is unlikely to be added in the future (at least, not for free).</div><div><br></div><div><br></div><div><blockquote type="cite"><div dir="ltr"><div>In the server end, my own OnDemandServerMediaSubsession implements seekStreamSource and I pass absStart/absEnd to my own FramedSource.</div><div><br></div><div>How should I implement my FramedSource doGetNextFrame so it only sends frames until the absEnd is reached (in this case only one frame).</div></div></blockquote><div><br></div>That's up to you to decide. However, if your underlying data source uses a "ByteStreamFileSource" object, then note that the "ByteStreamFileSource ::seekToByteAbsolute()" function has an optional parameter "numBytesToStream". If this parameter is non-zero, then our implementation of "ByteStreamFileSource" will automatically limit the stream to deliver that many bytes only, before treating it as EOF. So, if you can figure out how many bytes you want to deliver, and are using a "ByteStreamFileSource", you can do it that way.</div><br><br><div apple-content-edited="true">
<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; font-size: medium; "><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; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>