[Live-devel] Event Triggerring

Sergey G. Kosov sergey.kosov at project-10.de
Thu Jul 21 15:15:00 PDT 2011


Hi,

I use the "testH264VideoStreamer" application and VLC media player on
localhost to transmit AVC flow. I want to intervene in the transmission
process in order to have a possibility to access and change the video stream
on the fly. But after the command:

env->taskScheduler().doEventLoop(); // does not return

I have no possibility to do anything. I thought in the direction of creating
a trigger with 

EventTriggerId myTrigger = env->taskScheduler().createEventTrigger(myProc);

To launch my routine within the playing process, but as I understand, I
cannot call 	

env->taskScheduler().triggerEvent(myTrigger);

within the Event Loop. Could you, please, give me a piece of advice how to
launch myProc() in between promts "Beginning to read from file..." and
"...done reading from file".

Thanks in advance,

Sergey G. Kosov





More information about the live-devel mailing list