[asterisk-dev] rtp data in an app question

Gallmeier, Jonathan Jonathan.Gallmeier at polycom.com
Wed Aug 12 13:41:16 CDT 2009


> 
> Kevin P. Fleming wrote:
> > 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 :-)
> >
> 
> Compiling is overrated.  At least I provided a reference to the enum
> type and header file!  AST_FRAME_AUDIO is the 4 AM version.  During
> sane
> hours of the day, it's AST_FRAME_VOICE.

Thanks! I knew what you meant in your first post ;)  




More information about the asterisk-dev mailing list