BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::VidCodecParam Struct Reference

#include <media.hpp>

Public Member Functions

 VidCodecParam ()
 
void fromPj (const pjmedia_vid_codec_param &param)
 
pjmedia_vid_codec_param toPj () const
 

Data Fields

pjmedia_dir dir
 
pjmedia_vid_packing packing
 
struct MediaFormatVideo encFmt
 
CodecFmtpVector encFmtp
 
unsigned encMtu
 
struct MediaFormatVideo decFmt
 
CodecFmtpVector decFmtp
 
bool ignoreFmtp
 

Detailed Description

Detailed codec attributes used in configuring a video codec and in querying the capability of video codec factories.

Please note that codec parameter also contains SDP specific setting, decFmtp and encFmtp, which may need to be set appropriately based on the effective setting. See each codec documentation for more detail.

Constructor & Destructor Documentation

◆ VidCodecParam()

pj::VidCodecParam::VidCodecParam ( )
inline

Default constructor

Field Documentation

◆ dir

pjmedia_dir pj::VidCodecParam::dir

Direction

◆ packing

pjmedia_vid_packing pj::VidCodecParam::packing

Packetization strategy.

◆ encFmt

struct MediaFormatVideo pj::VidCodecParam::encFmt

Encoded format

◆ encFmtp

CodecFmtpVector pj::VidCodecParam::encFmtp

Encoder fmtp params

◆ encMtu

unsigned pj::VidCodecParam::encMtu

MTU or max payload size setting

◆ decFmt

struct MediaFormatVideo pj::VidCodecParam::decFmt

Decoded format

◆ decFmtp

CodecFmtpVector pj::VidCodecParam::decFmtp

Decoder fmtp params

◆ ignoreFmtp

bool pj::VidCodecParam::ignoreFmtp

Ignore fmtp params. If set to true, the codec will apply format settings specified in encFmt and decFmt only.


The documentation for this struct was generated from the following file:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.