[asterisk-dev] how to generate periodic wakeup signals for a channel driver ?

Russell Bryant russell at digium.com
Mon Sep 17 16:07:43 CDT 2007


Luigi Rizzo wrote:
> 		f = get_video_frames(env);
>                 if (f) {
> 		    ast_channel_lock(env->owner);
>                     // enqueue on env->owner->readq ?
> 		    ast_channel_unlock(env->owner);
>                 }

ast_queue_frame() is what you're looking for here.

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list