av_sdp_create

Generate an SDP for an RTP session.

Note, this overwrites the id values of AVStreams in the muxer contexts for getting unique dynamic payload types.

@param 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. @param n_files number of AVCodecContexts contained in ac @param buf buffer where the SDP will be stored (must be allocated by the caller) @param size the size of the buffer @return 0 if OK, AVERROR_xxx on error

extern (C) @nogc nothrow
int
av_sdp_create
(,,
char* buf
,
int size
)

Meta