libavformat/rtpenc.c File Reference

#include "avformat.h"
#include "mpegts.h"
#include "bitstream.h"
#include <unistd.h>
#include "network.h"
#include "rtp_internal.h"
#include "rtp_mpv.h"
#include "rtp_aac.h"
#include "rtp_h264.h"

Go to the source code of this file.

Defines

#define RTCP_SR_SIZE   28

Functions

static int rtp_write_header (AVFormatContext *s1)
static void rtcp_send_sr (AVFormatContext *s1, int64_t ntp_time)
void ff_rtp_send_data (AVFormatContext *s1, const uint8_t *buf1, int len, int m)
static void rtp_send_samples (AVFormatContext *s1, const uint8_t *buf1, int size, int sample_size)
static void rtp_send_mpegaudio (AVFormatContext *s1, const uint8_t *buf1, int size)
static void rtp_send_raw (AVFormatContext *s1, const uint8_t *buf1, int size)
static void rtp_send_mpegts_raw (AVFormatContext *s1, const uint8_t *buf1, int size)
static int rtp_write_packet (AVFormatContext *s1, AVPacket *pkt)

Variables

AVOutputFormat rtp_muxer


Define Documentation

#define RTCP_SR_SIZE   28

Definition at line 35 of file rtpenc.c.

Referenced by rtp_write_packet().


Function Documentation

void ff_rtp_send_data ( AVFormatContext s1,
const uint8_t buf1,
int  len,
int  m 
)

static void rtcp_send_sr ( AVFormatContext s1,
int64_t  ntp_time 
) [static]

Definition at line 110 of file rtpenc.c.

Referenced by rtp_write_packet().

static void rtp_send_mpegaudio ( AVFormatContext s1,
const uint8_t buf1,
int  size 
) [static]

Definition at line 190 of file rtpenc.c.

Referenced by rtp_write_packet().

static void rtp_send_mpegts_raw ( AVFormatContext s1,
const uint8_t buf1,
int  size 
) [static]

Definition at line 264 of file rtpenc.c.

Referenced by rtp_write_packet().

static void rtp_send_raw ( AVFormatContext s1,
const uint8_t buf1,
int  size 
) [static]

Definition at line 242 of file rtpenc.c.

Referenced by rtp_write_packet().

static void rtp_send_samples ( AVFormatContext s1,
const uint8_t buf1,
int  size,
int  sample_size 
) [static]

Definition at line 162 of file rtpenc.c.

Referenced by rtp_write_packet().

static int rtp_write_header ( AVFormatContext s1  )  [static]

Definition at line 37 of file rtpenc.c.

static int rtp_write_packet ( AVFormatContext s1,
AVPacket pkt 
) [static]

Definition at line 288 of file rtpenc.c.


Variable Documentation

Initial value:

 {
    "rtp",
    "RTP output format",
    NULL,
    NULL,
    sizeof(RTPDemuxContext),
    CODEC_ID_PCM_MULAW,
    CODEC_ID_NONE,
    rtp_write_header,
    rtp_write_packet,
}

Definition at line 349 of file rtpenc.c.


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