FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
RTPDynamicProtocolHandler Struct Reference

#include <rtpdec.h>

Data Fields

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.
 
DynamicPayloadPacketHandlerProc parse_packet
 Parse handler for this dynamic packet.
 
int(* need_keyframe )(PayloadContext *context)
 
struct RTPDynamicProtocolHandlernext
 

Detailed Description

Definition at line 115 of file rtpdec.h.

Field Documentation

const char* RTPDynamicProtocolHandler::enc_name

Definition at line 116 of file rtpdec.h.

Referenced by ff_rtp_handler_find_by_name().

enum AVMediaType RTPDynamicProtocolHandler::codec_type

Definition at line 117 of file rtpdec.h.

Referenced by ff_rtp_handler_find_by_id(), and ff_rtp_handler_find_by_name().

enum AVCodecID RTPDynamicProtocolHandler::codec_id

Definition at line 118 of file rtpdec.h.

enum AVStreamParseType RTPDynamicProtocolHandler::need_parsing

Definition at line 119 of file rtpdec.h.

int RTPDynamicProtocolHandler::static_payload_id

Definition at line 120 of file rtpdec.h.

Referenced by ff_rtp_handler_find_by_id().

int RTPDynamicProtocolHandler::priv_data_size

Definition at line 123 of file rtpdec.h.

int(* RTPDynamicProtocolHandler::init)(AVFormatContext *s, int st_index, PayloadContext *priv_data)

Initialize dynamic protocol handler, called after the full rtpmap line is parsed, may be null.

Definition at line 126 of file rtpdec.h.

int(* RTPDynamicProtocolHandler::parse_sdp_a_line)(AVFormatContext *s, int st_index, PayloadContext *priv_data, const char *line)

Parse the a= line from the sdp field.

Definition at line 128 of file rtpdec.h.

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.

Definition at line 133 of file rtpdec.h.

Referenced by ff_rtsp_close_streams().

DynamicPayloadPacketHandlerProc RTPDynamicProtocolHandler::parse_packet

Parse handler for this dynamic packet.

Definition at line 135 of file rtpdec.h.

Referenced by ff_rdt_parse_open(), rtp_parse_one_packet(), and rtp_parse_packet_internal().

int(* RTPDynamicProtocolHandler::need_keyframe)(PayloadContext *context)

Definition at line 136 of file rtpdec.h.

Referenced by ff_rtp_send_rtcp_feedback().

struct RTPDynamicProtocolHandler* RTPDynamicProtocolHandler::next

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