<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body dir="auto">
<div>Still can't find the problem. Everything seems to be set correctly and Live555 event loop is running on a separate thread. </div>
<div><br>
</div>
<div>Quick debug showed me that everything works perfectly for one session until another client joined concurrent media session. At this point the trigger event handler for first FrameSource stopped being triggered, when triggerEvent() called, instead second
 FrameSource trigger event handler start being triggered. Could it be a result of using Live555 static libraties?<br>
<br>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; "><span lang="EN" style="background-color: rgba(255, 255, 255, 0);">--<o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; "><span style="background-color: rgba(255, 255, 255, 0);"><span lang="EN">Best Regards,</span><o:p></o:p></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt; "><span style="background-color: rgba(255, 255, 255, 0);"><span lang="EN">Konstantin</span></span></p>
</div>
<div><br>
On 27 Oct 2014, at 22:31, Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div>
<blockquote type="cite" class="">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">I tried your suggestion today and result  is the same. I can only stream data to one session at the time.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Could it be some pre-processor definition that I am missing?<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Also some times when I try to play to streams at the same time I get following exception:<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">“RTCPInstance:: RTCPInstance error: totSessionBW parameter should not be zero!”</span></div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
This suggests that, somehow, “fEstimatedKbps” is getting set to zero.  You might try running a debugger (such as “gdb”) to test whether that member variable ever gets overwritten.  You might have a ‘memory smash’ (e.g., buffer overflow bug) somewhere in your
 code that’s causing this to happen.</div>
<div><br class="">
</div>
<div>Also, you should make sure that you never have more than one thread calling LIVE555 library code (except for the thread that calls “triggerEvent()” - the only LIVE555 function that you may call from a separate thread).</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="">
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>live-devel mailing list</span><br>
<span><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a></span><br>
<span><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a></span><br>
</div>
</blockquote>
</body>
</html>