FFmpeg  4.0
Data Fields
RTPDynamicProtocolHandler Struct Reference

#include <libavformat/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. More...
 
int(* parse_sdp_a_line )(AVFormatContext *s, int st_index, PayloadContext *priv_data, const char *line)
 Parse the a= line from the sdp field. More...
 
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. More...
 
int(* need_keyframe )(PayloadContext *context)
 
struct RTPDynamicProtocolHandlernext
 

Detailed Description

Definition at line 115 of file rtpdec.h.

Field Documentation

◆ enc_name

const char* RTPDynamicProtocolHandler::enc_name

Definition at line 116 of file rtpdec.h.

Referenced by ff_rtp_handler_find_by_name().

◆ codec_type

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().

◆ codec_id

enum AVCodecID RTPDynamicProtocolHandler::codec_id

Definition at line 118 of file rtpdec.h.

Referenced by get_sockaddr().

◆ need_parsing

enum AVStreamParseType RTPDynamicProtocolHandler::need_parsing

Definition at line 119 of file rtpdec.h.

Referenced by get_sockaddr().

◆ static_payload_id

int RTPDynamicProtocolHandler::static_payload_id

Definition at line 120 of file rtpdec.h.

Referenced by ff_rtp_handler_find_by_id().

◆ priv_data_size

int RTPDynamicProtocolHandler::priv_data_size

Definition at line 123 of file rtpdec.h.

Referenced by get_sockaddr().

◆ init

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.

Referenced by get_sockaddr().

◆ parse_sdp_a_line

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.

Referenced by get_sockaddr().

◆ 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.

Definition at line 133 of file rtpdec.h.

Referenced by ff_rtsp_close_streams(), and get_sockaddr().

◆ parse_packet

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().

◆ need_keyframe

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

Definition at line 136 of file rtpdec.h.

Referenced by ff_rtp_send_rtcp_feedback().

◆ next

struct RTPDynamicProtocolHandler* RTPDynamicProtocolHandler::next

Definition at line 138 of file rtpdec.h.


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