<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><pre wrap="">is it recommended encoding the video in another thread?
</pre></div></blockquote><div>It's probably a good idea, especially if you have a multi-core CPU.  Of course, this separate, encoding thread shouldn't call any LIVE555 code, except for "triggerEvent()".</div><div><br></div><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000"><pre wrap="">I noticed that the imLiveStreamSource constructor is called two times, and after the first time the destructor is called instantly. dont think that is a right behavior!?!
</pre></div></blockquote>Actually it is the correct behavior for media - like H.264 and MPEG-4 video - that require that the server parse the data for 'configuration' information before it can be streamed.  The first construction (and later destruction) is used, by the server, to read just enough input data to get this configuration information.  So in this respect, at least, your server is working correctly.<br></div><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>