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

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.

◆ codec_type

enum AVMediaType RTPDynamicProtocolHandler::codec_type

Definition at line 117 of file rtpdec.h.

◆ codec_id

enum AVCodecID RTPDynamicProtocolHandler::codec_id

Definition at line 118 of file rtpdec.h.

◆ need_parsing

enum AVStreamParseType RTPDynamicProtocolHandler::need_parsing

Definition at line 119 of file rtpdec.h.

◆ static_payload_id

int RTPDynamicProtocolHandler::static_payload_id

Definition at line 120 of file rtpdec.h.

◆ priv_data_size

int RTPDynamicProtocolHandler::priv_data_size

Definition at line 123 of file rtpdec.h.

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

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

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

◆ parse_packet

DynamicPayloadPacketHandlerProc RTPDynamicProtocolHandler::parse_packet

Parse handler for this dynamic packet.

Definition at line 135 of file rtpdec.h.

◆ need_keyframe

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

Definition at line 136 of file rtpdec.h.


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