FFmpeg
Public Attributes | List of all members
RTPDynamicProtocolHandler Struct Reference

Public Attributes

const char * enc_name
 
enum AVMediaType codec_type
 
enum AVCodecID codec_id
 
enum AVStreamParseType need_parsing
 
int static_payload_id
 
int priv_data_size
 
int(* init )(AVFormatContext *s, int st_index, PayloadContext *priv_data)
 Initialize dynamic protocol handler, called after the full rtpmap line is parsed, may be null.
 
int(* parse_sdp_a_line )(AVFormatContext *s, int st_index, PayloadContext *priv_data, const char *line)
 Parse the a= line from the sdp field.
 
void(* close )(PayloadContext *protocol_data)
 Free any data needed by the rtp parsing for this dynamic data. More...
 
DynamicPayloadPacketHandlerProc parse_packet
 Parse handler for this dynamic packet.
 
int(* need_keyframe )(PayloadContext *context)
 
struct RTPDynamicProtocolHandlernext
 

Member Data Documentation

§ close

void(* RTPDynamicProtocolHandler::close) (PayloadContext *protocol_data)

Free any data needed by the rtp parsing for this dynamic data.

Don't free the protocol_data pointer itself, that is freed by the caller. This is called even if the init method failed.


The documentation for this struct was generated from the following file: