BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::MediaFormatVideo Struct Reference

#include <media.hpp>

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

Public Member Functions

void fromPj (const pjmedia_format &format)
 
pjmedia_format toPj () const
 
- Public Member Functions inherited from pj::MediaFormat
 MediaFormat ()
 

Data Fields

unsigned width
 
unsigned height
 
int fpsNum
 
int fpsDenum
 
pj_uint32_t avgBps
 
pj_uint32_t maxBps
 
- Data Fields inherited from pj::MediaFormat
pj_uint32_t id
 
pjmedia_type type
 

Detailed Description

This structure describe detail information about an video media.

Member Function Documentation

◆ fromPj()

void pj::MediaFormatVideo::fromPj ( const pjmedia_format format)

Construct from pjmedia_format.

◆ toPj()

pjmedia_format pj::MediaFormatVideo::toPj ( ) const

Export to pjmedia_format.

Field Documentation

◆ width

unsigned pj::MediaFormatVideo::width

Video width.

◆ height

unsigned pj::MediaFormatVideo::height

Video height.

◆ fpsNum

int pj::MediaFormatVideo::fpsNum

Frames per second numerator.

◆ fpsDenum

int pj::MediaFormatVideo::fpsDenum

Frames per second denumerator.

◆ avgBps

pj_uint32_t pj::MediaFormatVideo::avgBps

Average bitrate.

◆ maxBps

pj_uint32_t pj::MediaFormatVideo::maxBps

Maximum bitrate.


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.