[asterisk-dev] Video on ALSA

Russell Bryant russell at digium.com
Wed Jun 13 11:47:04 CDT 2007

Sergio Fadda wrote:
> Now, the problem is: when video packets arrive to Asterisk, I suppose 
> that it redirect to my modified alsa channel, but... how can I recognize 
> the type of a packet?

You have to provide a write_video() callback in the channel driver so 
that the core knows you are capable of receiving video frames.  Then, 
that function will get called when there are video frames to deliver to 
the channel.

Russell Bryant
Software Engineer
Digium, Inc.

More information about the asterisk-dev mailing list