WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

signatures.h File Reference

Standard PJMEDIA object signatures. More...

Macros

#define PJMEDIA_SIGNATURE(a, b, c, d)   PJMEDIA_FOURCC(d,c,b,a)
 
#define PJMEDIA_SIG_CLASS_CODEC(b, c, d)   PJMEDIA_SIGNATURE('C',b,c,d)
 
#define PJMEDIA_SIG_IS_CLASS_CODEC(sig)   ((sig) >> 24 == 'C')
 
#define PJMEDIA_SIG_CLASS_AUD_CODEC(c, d)   PJMEDIA_SIG_CLASS_CODEC('A',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_AUD_CODEC(s)   ((s)>>24=='C' && (((s)>>16)&0xff)=='A')
 
#define PJMEDIA_SIG_CLASS_VID_CODEC(c, d)   PJMEDIA_SIG_CLASS_CODEC('V',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_VID_CODEC(sig)   ((s)>>24=='C' && (((s)>>16)&0xff)=='V')
 
#define PJMEDIA_SIG_VID_CODEC_FFMPEG   PJMEDIA_SIG_CLASS_VID_CODEC('F','F')
 
#define PJMEDIA_SIG_CLASS_PORT(b, c, d)   PJMEDIA_SIGNATURE('P',b,c,d)
 
#define PJMEDIA_SIG_IS_CLASS_PORT(sig)   ((sig) >> 24 == 'P')
 
#define PJMEDIA_SIG_CLASS_PORT_AUD(c, d)   PJMEDIA_SIG_CLASS_PORT('A',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_PORT_AUD(s)   ((s)>>24=='P' && (((s)>>16)&0xff)=='A')
 
#define PJMEDIA_SIG_PORT_BIDIR   PJMEDIA_SIG_CLASS_PORT_AUD('B','D')
 
#define PJMEDIA_SIG_PORT_CONF   PJMEDIA_SIG_CLASS_PORT_AUD('C','F')
 
#define PJMEDIA_SIG_PORT_CONF_PASV   PJMEDIA_SIG_CLASS_PORT_AUD('C','P')
 
#define PJMEDIA_SIG_PORT_CONF_SWITCH   PJMEDIA_SIG_CLASS_PORT_AUD('C','S')
 
#define PJMEDIA_SIG_PORT_ECHO   PJMEDIA_SIG_CLASS_PORT_AUD('E','C')
 
#define PJMEDIA_SIG_PORT_MEM_CAPTURE   PJMEDIA_SIG_CLASS_PORT_AUD('M','C')
 
#define PJMEDIA_SIG_PORT_MEM_PLAYER   PJMEDIA_SIG_CLASS_PORT_AUD('M','P')
 
#define PJMEDIA_SIG_PORT_NULL   PJMEDIA_SIG_CLASS_PORT_AUD('N','U')
 
#define PJMEDIA_SIG_PORT_RESAMPLE   PJMEDIA_SIG_CLASS_PORT_AUD('R','E')
 
#define PJMEDIA_SIG_PORT_SPLIT_COMB   PJMEDIA_SIG_CLASS_PORT_AUD('S','C')
 
#define PJMEDIA_SIG_PORT_SPLIT_COMB_P   PJMEDIA_SIG_CLASS_PORT_AUD('S','P')
 
#define PJMEDIA_SIG_PORT_STEREO   PJMEDIA_SIG_CLASS_PORT_AUD('S','R')
 
#define PJMEDIA_SIG_PORT_STREAM   PJMEDIA_SIG_CLASS_PORT_AUD('S','T')
 
#define PJMEDIA_SIG_PORT_TONEGEN   PJMEDIA_SIG_CLASS_PORT_AUD('T','O')
 
#define PJMEDIA_SIG_PORT_WAV_PLAYER   PJMEDIA_SIG_CLASS_PORT_AUD('W','P')
 
#define PJMEDIA_SIG_PORT_WAV_PLAYLIST   PJMEDIA_SIG_CLASS_PORT_AUD('W','Y')
 
#define PJMEDIA_SIG_PORT_WAV_WRITER   PJMEDIA_SIG_CLASS_PORT_AUD('W','W')
 
#define PJMEDIA_SIG_CLASS_PORT_VID(c, d)   PJMEDIA_SIG_CLASS_PORT('V',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_PORT_VID(s)   ((s)>>24=='P' && (((s)>>16)&0xff)=='V')
 
#define PJMEDIA_SIG_PORT_VID_AVI_PLAYER   PJMEDIA_SIG_CLASS_PORT_VID('A','V')
 
#define PJMEDIA_SIG_PORT_VID_STREAM   PJMEDIA_SIG_CLASS_PORT_VID('S','T')
 
#define PJMEDIA_SIG_PORT_VID_TEE   PJMEDIA_SIG_CLASS_PORT_VID('T','E')
 
#define PJMEDIA_SIG_CLASS_VID_DEV(c, d)   PJMEDIA_SIGNATURE('V','D',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_VID_DEV(s)   ((s)>>24=='V' && (((s)>>16)&0xff)=='D')
 
#define PJMEDIA_SIG_VID_DEV_COLORBAR   PJMEDIA_SIG_CLASS_VID_DEV('C','B')
 
#define PJMEDIA_SIG_VID_DEV_SDL   PJMEDIA_SIG_CLASS_VID_DEV('S','D')
 
#define PJMEDIA_SIG_VID_DEV_V4L2   PJMEDIA_SIG_CLASS_VID_DEV('V','2')
 
#define PJMEDIA_SIG_VID_DEV_DSHOW   PJMEDIA_SIG_CLASS_VID_DEV('D','S')
 
#define PJMEDIA_SIG_VID_DEV_QT   PJMEDIA_SIG_CLASS_VID_DEV('Q','T')
 
#define PJMEDIA_SIG_VID_DEV_IOS   PJMEDIA_SIG_CLASS_VID_DEV('I','P')
 
#define PJMEDIA_SIG_CLASS_VID_OTHER(c, d)   PJMEDIA_SIGNATURE('V','O',c,d)
 
#define PJMEDIA_SIG_IS_CLASS_VID_OTHER(s)   ((s)>>24=='V' && (((s)>>16)&0xff)=='O')
 
#define PJMEDIA_SIG_VID_CONF   PJMEDIA_SIG_CLASS_VID_OTHER('C','F')
 
#define PJMEDIA_SIG_VID_PORT   PJMEDIA_SIG_CLASS_VID_OTHER('P','O')
 
#define PJMEDIA_SIG_CLASS_APP(b, c, d)   PJMEDIA_SIGNATURE('A',b,c,d)
 
#define PJMEDIA_SIG_IS_CLASS_APP(s)   ((s)>>24=='A')
 

Typedefs

typedef pj_uint32_t pjmedia_obj_sig
 

Functions

const char * pjmedia_sig_name (pjmedia_obj_sig sig, char buf[])
 

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.