BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_format Struct Reference

#include <format.h>

Data Fields

pj_uint32_t id
 
pjmedia_type type
 
pjmedia_format_detail_type detail_type
 
union {
   pjmedia_audio_format_detail   aud
 
   pjmedia_video_format_detail   vid
 
   char   user [1]
 
det
 

Detailed Description

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

Field Documentation

◆ id

pj_uint32_t pjmedia_format::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

Referenced by pjmedia_format_init_audio().

◆ type

◆ detail_type

◆ aud

◆ vid

pjmedia_video_format_detail pjmedia_format::vid

Detail section for video format.

◆ user

char pjmedia_format::user[1]

Reserved area for user-defined format detail.

◆ 


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

 


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