<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>We noticed that whenever a new client is connected to the live555 streamer, it doesn't start streaming the file from beginning.<br>Could you please help us configure live555 streamer so that, whenever a new client is connected, it should stream the file (which is being requested) from the start.<br></div></blockquote><div><br></div>This depends on the value of the "reuseFirstSource" parameter in the "OnDemandServerMediaSubsession" constructor. If you have written your own subclass of "OnDemandServerMediaSubsession", then you should make sure that its constructor - when it calls the (parent) "OnDemandServerMediaSubsession" constructor, sets the "reuseFirstSource" parameter appropriately. Or, if you are using one of the many "OnDemandServerMediaSubsession" subclasses that we have written for you - each of which also has a "reuseFirstSource" parameter - then you should make sure that the subclass's constructor sets the "reuseFirstSource" parameter appropriately.</div><div><br></div><div>If "reuseFirstSource" is set to "False", then if multiple clients request the same file, then each client will receive the stream starting from the beginning of the file. (This is the behavior that is programmed for the "LIVE555 Media Server" and the "testOnDemandRTSPServer" demo application).</div><div><br></div><div>If "reuseFirstSource" is set to "True", then if multiple clients request the same file, then the file is read only once; the first client will receive the stream starting from the beginning of the file, but the second (and any subsequent) clients will receive the stream starting at a later point.</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>