[asterisk-dev] rtp data in an app question

Kevin P. Fleming kpfleming at digium.com
Wed Aug 12 07:07:49 CDT 2009


Russell Bryant wrote:

> One other note is that a frame is not always audio.  Frames may also be 
> signaling frames, among other things (see ast_frame_type in frame.h). 
> Make sure that you check to ensure that the frame type is 
> AST_FRAME_AUDIO before you treat it as such.

You might want to check for AST_FRAME_VOICE instead, as it has a better
chance of compiling :-)

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kpfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list