FFmpeg
|
sdp.c File Reference
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "libavutil/dict.h"
#include "libavutil/parseutils.h"
#include "libavutil/opt.h"
#include "libavcodec/xiph.h"
#include "libavcodec/mpeg4audio.h"
#include "avformat.h"
#include "internal.h"
#include "avc.h"
#include "rtp.h"
Include dependency graph for sdp.c:
Go to the source code of this file.
Functions | |
int | av_sdp_create (AVFormatContext *ac[], int n_files, char *buf, int size) |
Generate an SDP for an RTP session. More... | |
void | ff_sdp_write_media (char *buff, int size, AVStream *st, int idx, const char *dest_addr, const char *dest_type, int port, int ttl, AVFormatContext *fmt) |
Append the media-specific SDP fragment for the media stream c to the buffer buff. More... | |
Function Documentation
void ff_sdp_write_media | ( | char * | buff, |
int | size, | ||
AVStream * | st, | ||
int | idx, | ||
const char * | dest_addr, | ||
const char * | dest_type, | ||
int | port, | ||
int | ttl, | ||
AVFormatContext * | fmt | ||
) |
Append the media-specific SDP fragment for the media stream c to the buffer buff.
Note, the buffer needs to be initialized, since it is appended to existing content.
- Parameters
-
buff the buffer to append the SDP fragment to size the size of the buff buffer st the AVStream of the media to describe idx the global stream index dest_addr the destination address of the media stream, may be NULL dest_type the destination address type, may be NULL port the destination port of the media stream, 0 if unknown ttl the time to live of the stream, 0 if not multicast fmt the AVFormatContext, which might contain options modifying the generated SDP
Definition at line 708 of file sdp.c.
Referenced by mov_write_udta_sdp().
Generated on Mon Nov 18 2024 06:52:09 for FFmpeg by 1.8.11