rtp_vorbis.c File Reference

#include "rtpparser.h"
#include "rtp_xiph.h"
#include "rtp_utils.h"
#include <math.h>

Include dependency graph for rtp_vorbis.c:

Go to the source code of this file.

Data Structures

struct  rtp_vorbis

Functions

static int single_parse (rtp_vorbis *vorb, rtp_pkt *pkt, rtp_frame *fr, rtp_buff *config, rtp_ssrc *ssrc)
static int frag_parse (rtp_vorbis *vorb, rtp_pkt *pkt, rtp_frame *fr, rtp_buff *config, rtp_ssrc *ssrc)
static int pack_parse (rtp_vorbis *vorb, rtp_pkt *pkt, rtp_frame *fr, rtp_buff *config, rtp_ssrc *ssrc)
static uint64_t get_v (uint8_t **cur, int *len)
static int xiphrtp_to_mkv (rtp_vorbis *vorb, uint8_t **value, int *size)
static int unpack_config (rtp_vorbis *vorb, char *value, int len)
static void cleanup (rtp_vorbis *vorb)
static int vorbis_uninit_parser (rtp_ssrc *ssrc, unsigned pt)
static int vorbis_init_parser (rtp_session *rtp_sess, unsigned pt)
static int vorbis_parse (rtp_ssrc *ssrc, rtp_frame *fr, rtp_buff *config)
 RTP_PARSER_FULL (vorbis)

Variables

static const rtpparser_info vorbis_served


Detailed Description

Vorbis depacketizer - draft 08

Definition in file rtp_vorbis.c.


Function Documentation

static int vorbis_parse ( rtp_ssrc *  ssrc,
rtp_frame *  fr,
rtp_buff *  config 
) [static]

it should return a vorbis frame either by unpacking an aggregate or by fetching more than a single rtp packet

Definition at line 283 of file rtp_vorbis.c.

References rtp_vorbis::conf, rtp_vorbis::offset, rtp_vorbis::pkts, and rtp_get_pkt().

Here is the call graph for this function:


Variable Documentation

const rtpparser_info vorbis_served [static]

Initial value:

 {
    -1,
    {"vorbis", NULL}
}

Definition at line 48 of file rtp_vorbis.c.


Generated on Tue Feb 3 03:10:02 2009 for libnemesi by  doxygen 1.5.4