<div dir="ltr">The purpose of my app is to generate 2 video streams from video generated by the same app.  The video is from 2 different eyepoints using OpenGL to create the views. The views are generated and updated concurrently. <div>
<br></div><div>The problem is that only one stream is valid when I use VLC to view them.<div><div><br></div><div>In the app, I have set up a Stream class which encapsulates an input view, a thread, an RTSP server, an environment and task scheduler / event loop.</div>
<div><br></div><div>When an Stream object  is created/configured, it starts the thread, which creates the environment / task scheduler / event loop.    When the Stream's input view is finished rendering, it sends a triggerEvent() to the Stream's task scheduler.</div>
<div><br></div><div>Each Stream has a different destination address, RTP/RTCP Port, and RTSP port/URL.</div><div><br></div><div>The second Stream's event handler never gets called by its event loop.</div><div><br></div>
<div>Is it possible that one event loop is handling the triggerEvents from both Streams?</div><div><br></div><div>If anyone has successfully created an app like this, I would really appreciate any assistance you can give.</div>
<div><br></div><div>thanks,</div><div><br></div><div><br></div><div>Barry</div><div><br></div><div><br><div><br></div><div><br></div></div></div></div></div>