#include "libavutil/avstring.h"
#include "libavutil/base64.h"
#include "avformat.h"
#include "internal.h"
#include "avc.h"
#include "rtp.h"
Go to the source code of this file.
Functions | |
int | avf_sdp_create (AVFormatContext *ac[], int n_files, char *buff, int size) |
Generate an SDP for an RTP session. |
int avf_sdp_create | ( | AVFormatContext * | ac[], | |
int | n_files, | |||
char * | buff, | |||
int | size | |||
) |
Generate an SDP for an RTP session.
ac | array of AVFormatContexts describing the RTP streams. If the array is composed by only one context, such context can contain multiple AVStreams (one AVStream per RTP stream). Otherwise, all the contexts in the array (an AVCodecContext per RTP stream) must contain only one AVStream. | |
n_files | number of AVCodecContexts contained in ac | |
buff | buffer where the SDP will be stored (must be allocated by the caller) | |
size | the size of the buffer |
Definition at line 300 of file sdp.c.
Referenced by prepare_sdp_description(), and print_sdp().