<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">- TaskScheduler? <br class="">From what I see in the example and the library code, it's not clear to me why BasicTaskScheduler wouldn't be appropriate to use. I guess some info on when TaskScheduler needs subclassing would be helpful.<br class=""></div></blockquote><div><br class=""></div>“BasicTaskScheduler” turns out to be good enough for most people don’t need to.  Defining your own subclass of “TaskScheduler” is usually something that you’d do only if you wanted to embed LIVE555-based code in some other existing event-loop framework.</div><div><br class=""></div><div> <br class=""><blockquote type="cite" class=""><div class="">- RTSPClient<br class="">Following the example code, since we want to handle multiple streams.</div></blockquote><div><br class=""></div>You should use the “testRTSPClient” code as a model for how to do this.</div><div><br class=""></div><div><br class=""></div><div><blockquote type="cite" class=""><div class="">- MediaSink (or FileSink?)<br class="">The example makes it clear that instead of DummySink we'll be creating our own. The plan is to implement an AVAssetWriter-based solution. We have other parts of our app that use this, and the work in this case will involve properly describing the NAL units (and audio samples) to pass the data to those classes. Such details are clearly outside of this list's scope, but my question is whether it would be more appropriate to be subclassing MediaSink or FileSink.</div></blockquote><div><br class=""></div>Because you’re planning on recording MP4-format files, you should use “QuickTimeFileSink”, as is done by “openRTSP” (“testProgs/playCommon.cpp”).</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">I'm unsure about how we'd signal from outside the event loop that it's time to stop a particular stream and close up it's file. Would that be best done via the "EventTrigger" mechanism the faq mentions? Is there some more info, or example code, on that?<br class=""></div></blockquote><div><br class=""></div>See “liveMedia/DeviceSource.cpp”.</div><br class=""><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>