BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::MediaFormat Struct Reference

#include <media.hpp>

Inheritance diagram for pj::MediaFormat:
pj::MediaFormatAudio pj::MediaFormatVideo

Public Member Functions

 MediaFormat ()
 

Data Fields

pj_uint32_t id
 
pjmedia_type type
 

Detailed Description

This structure contains all the information needed to completely describe a media.

Constructor & Destructor Documentation

◆ MediaFormat()

pj::MediaFormat::MediaFormat ( )
inline

Default constructor

Field Documentation

◆ id

pj_uint32_t pj::MediaFormat::id

The format id that specifies the audio sample or video pixel format. Some well known formats ids are declared in pjmedia_format_id enumeration.

See also
pjmedia_format_id

◆ type

pjmedia_type pj::MediaFormat::type

The top-most type of the media, as an information.


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.