<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>I'm no longer 'reusing' the videosink as I'll just recreate another one when the other one is disposed as you suggested.<br>As for exiting and restarting the process, what I'd like to do is actually have a single process with multiple thread with different RTP servers (not RTSP) in each. Is this possible using a single environment variable for the whole process but individual task schedulers per thread or should there be one of each (task scheduler and environment var) per thread.</div></blockquote><div><br></div>No! If you access the LIVE555 code from multiple threads, then these multiple threads ***must*** each have a separate "UsageEnvironment" and "TaskScheduler", and must not share (pointers to) any other LIVE555-created objects either.</div><div><br></div><div>Read the FAQ!</div><div><br></div><div>But once again, why not just use multiple processes?!</div><div><br></div><div>I'm astounded that - in this day and age - so many developers seem unaware that computer systems can run multiple, concurrent processes. (This seems to be one of the reasons why so many people are falling for bullshit like 'host virtualization'.)</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>