Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

switch_frame Struct Reference

#include <switch_frame.h>

Collaboration diagram for switch_frame:

Collaboration graph
[legend]

Detailed Description

An abstraction of a data frame.


Data Fields

switch_codec_tcodec
const char * source
void * packet
uint32_t packetlen
void * data
uint32_t datalen
uint32_t buflen
uint32_t samples
uint32_t rate
switch_payload_t payload
switch_size_t timestamp
uint16_t seq
uint32_t ssrc
switch_bool_t m
switch_frame_flag_t flags


Field Documentation

uint32_t switch_frame::buflen
 

the entire size of the buffer

switch_codec_t* switch_frame::codec
 

a pointer to the codec information

void* switch_frame::data
 

the frame data

uint32_t switch_frame::datalen
 

the size of the buffer that is in use

switch_frame_flag_t switch_frame::flags
 

frame flags

switch_bool_t switch_frame::m
 

void* switch_frame::packet
 

the raw packet

uint32_t switch_frame::packetlen
 

the size of the raw packet when applicable

switch_payload_t switch_frame::payload
 

the payload of the frame

uint32_t switch_frame::rate
 

the rate of the frame

uint32_t switch_frame::samples
 

the number of audio samples present (audio only)

uint16_t switch_frame::seq
 

const char* switch_frame::source
 

the originating source of the frame

uint32_t switch_frame::ssrc
 

switch_size_t switch_frame::timestamp
 

the timestamp of the frame


The documentation for this struct was generated from the following file:
Generated on Fri Oct 10 11:24:05 2008 for FreeSWITCH by  doxygen 1.3.9.1