Function ff_sdp_write_media

Source
pub unsafe extern "C" fn ff_sdp_write_media(
    buff: *mut c_char,
    size: c_int,
    st: *mut AVStream,
    idx: c_int,
    dest_addr: *const c_char,
    dest_type: *const c_char,
    port: c_int,
    ttl: c_int,
    fmt: *mut AVFormatContext,
)
Expand description

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.

@param buff the buffer to append the SDP fragment to @param size the size of the buff buffer @param st the AVStream of the media to describe @param idx the global stream index @param dest_addr the destination address of the media stream, may be NULL @param dest_type the destination address type, may be NULL @param port the destination port of the media stream, 0 if unknown @param ttl the time to live of the stream, 0 if not multicast @param fmt the AVFormatContext, which might contain options modifying the generated SDP