FFmpeg
|
#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 "hevc.h"
#include "rtp.h"
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... | |
int | ff_sdp_write_media (char *buff, int size, const 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... | |
int ff_sdp_write_media | ( | char * | buff, |
int | size, | ||
const 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.
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 910 of file sdp.c.
Referenced by mov_write_udta_sdp().