libavformat/rtp.c File Reference

#include "avformat.h"
#include "bitstream.h"
#include <unistd.h>
#include "network.h"
#include "rtp_internal.h"

Go to the source code of this file.

Functions

int rtp_get_codec_info (AVCodecContext *codec, int payload_type)
int rtp_get_payload_type (AVCodecContext *codec)
 return < 0 if unknown payload type
const char * ff_rtp_enc_name (int payload_type)
enum CodecID ff_rtp_codec_id (const char *buf, enum CodecType codec_type)

Variables

struct {
   int   pt
   const char   enc_name [50]
   enum CodecType   codec_type
   enum CodecID   codec_id
   int   clock_rate
   int   audio_channels
AVRtpPayloadTypes []


Function Documentation

enum CodecID ff_rtp_codec_id ( const char *  buf,
enum CodecType  codec_type 
)

Definition at line 220 of file rtp.c.

Referenced by sdp_parse_rtpmap().

const char* ff_rtp_enc_name ( int  payload_type  ) 

Definition at line 208 of file rtp.c.

Referenced by rtp_parse_close(), rtp_parse_open(), and sdp_parse_line().

int rtp_get_codec_info ( AVCodecContext codec,
int  payload_type 
)

Definition at line 174 of file rtp.c.

Referenced by sdp_parse_line().

int rtp_get_payload_type ( AVCodecContext codec  ) 

return < 0 if unknown payload type

Definition at line 193 of file rtp.c.

Referenced by rtp_write_header().


Variable Documentation

Definition at line 39 of file rtp.c.

struct { ... } AVRtpPayloadTypes[] [static]

Definition at line 38 of file rtp.c.

Referenced by rtp_get_codec_info().

const char enc_name[50]

Definition at line 35 of file rtp.c.

Referenced by ff_rtp_codec_id().

int pt


Generated on Thu Apr 2 07:16:14 2009 for ffmpeg by  doxygen 1.5.6