[Live-devel] Trouble with multiple streams

Barry Folse barry.folse at gmail.com
Fri Aug 22 06:34:44 PDT 2014


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.

The problem is that only one stream is valid when I use VLC to view them.

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.

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.

Each Stream has a different destination address, RTP/RTCP Port, and RTSP
port/URL.

The second Stream's event handler never gets called by its event loop.

Is it possible that one event loop is handling the triggerEvents from both
Streams?

If anyone has successfully created an app like this, I would really
appreciate any assistance you can give.

thanks,


Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140822/5ebca225/attachment.html>


More information about the live-devel mailing list