Hi,
I'm developing an android application which connects to several RTSP
servers. The application shows several video streams concurrently.
I'm using only one thread for live555 and I use live555 events to
start/stop streams. In order to start a new stream I call:
scheduler->triggerEvent(newStreamEventTrigger, stream_data);
and when I want to stop a running stream:
scheduler->triggerEvent(closeStreamEventTrigger, stream_data);
I'm reusing event triggers because I thought that triggerEvent would
enqueue the data and it will process all the events. However, for each
event live555 only stores one element. So, if I call:
scheduler->triggerEvent(closeStreamEventTrigger, stream1_data);
scheduler->triggerEvent(closeStreamEventTrigger, stream2_data);
scheduler->triggerEvent(closeStreamEventTrigger, stream3_data);
scheduler->triggerEvent(closeStreamEventTrigger, stream4_data);
there is no guarantee that live555 will call closeStreamEventTrigger four
times.
Is there any implemented solution for enqueue events in live555 loop?
Thanks in advance,
Paco
--
*Francisco Javier Cabello Torres*
*Director de I+D R&D Manager*
--------------------------------------
*V I S U A L T O O L S*C/Isla Graciosa, 1.
28034 Madrid, Spain.
T: + 34 91 729 48 44
Skype: franciscojaviercabello
Mobile: +34 681 101 852
--------------------------------------
*[email protected] <[email protected]>*
Clave pública: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x1890E879
Este mensaje, y cualquier fichero anexo al mismo, contiene información de
carácter confidencial dirigida exclusivamente a su(s) destinatario(s) y, en
su caso, sometida a secreto profesional. Queda prohibida su difusión, copia
o distribución a terceros sin la previa autorización escrita de Visual
Tools, S.A. Si usted ha recibido este mensaje por error, se ruega lo
comunique por esta misma vía y proceda a su completa eliminación.
POR RESPETO AL MEDIO AMBIENTE, POR FAVOR SÓLO IMPRIMA ESTE CORREO SI ES
ESTRICTAMENTE NECESARIO
________________________
The information in this e-mail, and in any attachments, is confidential
and, if any, protected by a professional privilege, and intended solely for
the attention and use of the named addressee(s). You are hereby notified
that any dissemination, copy or distribution of this information is
prohibited without the prior written consent of Visual Tools, S.A. If you
have received this communication in error, please notify the sender by
reply e-mail and delete it.
TO RESPECT THE ENVIRONMENT, PLEASE ONLY PRINT THIS EMAIL IF STRICTLY
NECESSARY
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel