libavformat/rtpenc.c File Reference
#include "avformat.h"
#include "mpegts.h"
#include "internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/random_seed.h"
#include "libavutil/opt.h"
#include "rtpenc.h"
Go to the source code of this file.
|
Defines |
#define | RTCP_SR_SIZE 28 |
Functions |
static int | is_supported (enum CodecID id) |
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_bits) |
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) |
static int | rtp_write_trailer (AVFormatContext *s1) |
Variables |
static const AVOption | options [] |
static const AVClass | rtp_muxer_class |
AVOutputFormat | ff_rtp_muxer |
Define Documentation
Function Documentation
Definition at line 244 of file rtpenc.c.
Referenced by ff_rtp_send_aac(), ff_rtp_send_amr(), ff_rtp_send_h263(), ff_rtp_send_latm(), ff_rtp_send_mpegvideo(), ff_rtp_send_vp8(), ff_rtp_send_xiph(), nal_send(), rtp_send_mpegaudio(), rtp_send_mpegts_raw(), rtp_send_raw(), rtp_send_samples(), send_mode_a(), and send_mode_b().
static int is_supported |
( |
enum CodecID |
id |
) |
[static] |
static void rtcp_send_sr |
( |
AVFormatContext * |
s1, |
|
|
int64_t |
ntp_time | |
|
) |
| | [static] |
static void rtp_send_samples |
( |
AVFormatContext * |
s1, |
|
|
const uint8_t * |
buf1, |
|
|
int |
size, |
|
|
int |
sample_size_bits | |
|
) |
| | [static] |
Variable Documentation
Initial value:
Definition at line 497 of file rtpenc.c.
Initial value:
{
FF_RTP_FLAG_OPTS(RTPMuxContext, flags)
{ "payload_type", "Specify RTP payload type", 0x42, AV_OPT_TYPE_INT, {.dbl = -1 }, -1, 127, AV_OPT_FLAG_ENCODING_PARAM },
{ NULL },
}
Definition at line 33 of file rtpenc.c.
Initial value:
Definition at line 39 of file rtpenc.c.