sorry if the question is trivial...
while adding videosupport to chan_oss/chan_alsa, which you can find at
http://svn.digium.com/view/asterisk/team/rizzo/video_v2/
I just realised that the various video sources that I am using
(webcam using the 'gspca' driver, or X11 grabber) do not support
a select()/poll() interface, so i cannot rely on that (and on
ast_channel_set_fd() ) to wakeup the channel driver when data
is ready; I need a separate timing source.
What are the options ? Right now I am [ab]using the audio source
to poll the video source, but audio too is not always available.
Maybe i should create a new thread, and a scheduler context
with sched_context_create(), and then have a periodic
event fire every 20-50ms to call the video handler ?
Other ideas ?
cheers
luigi
_______________________________________________
Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/
--Bandwidth and Colocation Provided by http://www.api-digital.com--
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev