BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

PJMEDIA-CODEC Types and Constants

Constants used by PJMEDIA-CODEC. More...

Enumerations

enum  pjmedia_audio_pt {
  PJMEDIA_RTP_PT_START = (PJMEDIA_RTP_PT_DYNAMIC-1) ,
  PJMEDIA_RTP_PT_SPEEX_NB ,
  PJMEDIA_RTP_PT_SPEEX_WB ,
  PJMEDIA_RTP_PT_SPEEX_UWB ,
  PJMEDIA_RTP_PT_SILK_NB ,
  PJMEDIA_RTP_PT_SILK_MB ,
  PJMEDIA_RTP_PT_SILK_WB ,
  PJMEDIA_RTP_PT_SILK_SWB ,
  PJMEDIA_RTP_PT_ILBC ,
  PJMEDIA_RTP_PT_AMR ,
  PJMEDIA_RTP_PT_AMRWB ,
  PJMEDIA_RTP_PT_AMRWBE ,
  PJMEDIA_RTP_PT_G726_16 ,
  PJMEDIA_RTP_PT_G726_24 ,
  PJMEDIA_RTP_PT_G726_32 ,
  PJMEDIA_RTP_PT_G726_40 ,
  PJMEDIA_RTP_PT_G722_1_16 ,
  PJMEDIA_RTP_PT_G722_1_24 ,
  PJMEDIA_RTP_PT_G722_1_32 ,
  PJMEDIA_RTP_PT_G7221C_24 ,
  PJMEDIA_RTP_PT_G7221C_32 ,
  PJMEDIA_RTP_PT_G7221C_48 ,
  PJMEDIA_RTP_PT_G7221_RSV1 ,
  PJMEDIA_RTP_PT_G7221_RSV2 ,
  PJMEDIA_RTP_PT_OPUS
}
 
enum  pjmedia_video_pt {
  PJMEDIA_RTP_PT_VID_START = (PJMEDIA_RTP_PT_DYNAMIC-1) ,
  PJMEDIA_RTP_PT_H263P ,
  PJMEDIA_RTP_PT_H264 ,
  PJMEDIA_RTP_PT_H264_RSV1 ,
  PJMEDIA_RTP_PT_H264_RSV2 ,
  PJMEDIA_RTP_PT_H264_RSV3 ,
  PJMEDIA_RTP_PT_H264_RSV4 ,
  PJMEDIA_RTP_PT_VP8 ,
  PJMEDIA_RTP_PT_VP8_RSV1 ,
  PJMEDIA_RTP_PT_VP8_RSV2 ,
  PJMEDIA_RTP_PT_VP9 ,
  PJMEDIA_RTP_PT_VP9_RSV1 ,
  PJMEDIA_RTP_PT_VP9_RSV2
}
 

Detailed Description

Enumeration Type Documentation

◆ pjmedia_audio_pt

These are the dynamic payload types that are used by audio codecs in this library. Also see the header file <pjmedia/codec.h> for list of static payload types.

These enumeration is for older audio codecs only, newer audio codec using dynamic payload type can simply assign PJMEDIA_RTP_PT_DYNAMIC in its payload type (i.e: pjmedia_codec_info.pt). Endpoint will automatically rearrange dynamic payload types in SDP generation.

Enumerator
PJMEDIA_RTP_PT_SPEEX_NB 

Speex narrowband/8KHz

PJMEDIA_RTP_PT_SPEEX_WB 

Speex wideband/16KHz

PJMEDIA_RTP_PT_SPEEX_UWB 

Speex 32KHz

PJMEDIA_RTP_PT_SILK_NB 

SILK narrowband/8KHz

PJMEDIA_RTP_PT_SILK_MB 

SILK mediumband/12KHz

PJMEDIA_RTP_PT_SILK_WB 

SILK wideband/16KHz

PJMEDIA_RTP_PT_SILK_SWB 

SILK 24KHz

PJMEDIA_RTP_PT_ILBC 

iLBC (13.3/15.2Kbps)

PJMEDIA_RTP_PT_AMR 

AMR (4.75 - 12.2Kbps)

PJMEDIA_RTP_PT_AMRWB 

AMRWB (6.6 - 23.85Kbps)

PJMEDIA_RTP_PT_AMRWBE 

AMRWBE

PJMEDIA_RTP_PT_G726_16 

G726 @ 16Kbps

PJMEDIA_RTP_PT_G726_24 

G726 @ 24Kbps

PJMEDIA_RTP_PT_G726_32 

G726 @ 32Kbps

PJMEDIA_RTP_PT_G726_40 

G726 @ 40Kbps

PJMEDIA_RTP_PT_G722_1_16 

G722.1 (16Kbps)

PJMEDIA_RTP_PT_G722_1_24 

G722.1 (24Kbps)

PJMEDIA_RTP_PT_G722_1_32 

G722.1 (32Kbps)

PJMEDIA_RTP_PT_G7221C_24 

G722.1 Annex C (24Kbps)

PJMEDIA_RTP_PT_G7221C_32 

G722.1 Annex C (32Kbps)

PJMEDIA_RTP_PT_G7221C_48 

G722.1 Annex C (48Kbps)

PJMEDIA_RTP_PT_G7221_RSV1 

G722.1 reserve

PJMEDIA_RTP_PT_G7221_RSV2 

G722.1 reserve

PJMEDIA_RTP_PT_OPUS 

OPUS

◆ pjmedia_video_pt

These are the dynamic payload types that are used by video codecs in this library.

 


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