<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="">We’ve got an app that’s successfully using the live555 library to record multiple streams using the QuickTimeFileSink, but now customers want to be able to view that stream at the same time it’s being stored. I’m guessing that’s a fairly common feature request, but I haven’t found any references on the topic.<br class=""><br class="">Since the basic workflow is to set up the Sink and then send it the startPlaying() command, my impression is that using the same packets for multiple purposes would be tricky. <br class=""></div></blockquote><div><br class=""></div>No, not really, because we have a class called “StreamReplicator” that will take one data stream (“FramedSource” subclass) as input, and produce two or more ‘replica’ data streams as output. See</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://live555.com/liveMedia/doxygen/html/classStreamReplicator.html" class="">http://live555.com/liveMedia/doxygen/html/classStreamReplicator.html</a></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://live555.com/liveMedia/doxygen/html/StreamReplicator_8hh_source.html" class="">http://live555.com/liveMedia/doxygen/html/StreamReplicator_8hh_source.html</a></div><div>and note also the “testReplicator” demo application (in “testProgs”) that demonstrates how to use this class.</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>