FFmpeg
Loading...
Searching...
No Matches
WHIPContext Struct Reference

Data Fields

AVClass * av_class
 
RTCContext rtc
 
AVCodecParameters * audio_par
 
AVCodecParameters * video_par
 
int h264_annexb_insert_sps_pps
 The h264_mp4toannexb Bitstream Filter (BSF) bypasses the AnnexB packet; therefore, it is essential to insert the SPS and PPS before each IDR frame in such cases.
 
uint32_t audio_ssrc
 
uint32_t video_ssrc
 
uint32_t video_rtx_ssrc
 
uint16_t audio_first_seq
 
uint16_t video_first_seq
 
uint16_t video_rtx_seq
 
uint8_t audio_payload_type
 
uint8_t video_payload_type
 
uint8_t video_rtx_payload_type
 
SRTPContext srtp_audio_send
 
SRTPContext srtp_video_send
 
SRTPContext srtp_video_rtx_send
 
SRTPContext srtp_rtcp_send
 
SRTPContext srtp_recv
 
int hist_sz
 
RtpHistoryItem * hist
 
uint8_t * hist_pool
 
int hist_head
 

Detailed Description

Definition at line 72 of file whip.c.

Field Documentation

◆ av_class

AVClass* WHIPContext::av_class

Definition at line 73 of file whip.c.

◆ rtc

◆ audio_par

AVCodecParameters* WHIPContext::audio_par

Definition at line 77 of file whip.c.

Referenced by generate_sdp_offer(), and parse_codec().

◆ video_par

AVCodecParameters* WHIPContext::video_par

Definition at line 78 of file whip.c.

Referenced by generate_sdp_offer(), and parse_codec().

◆ h264_annexb_insert_sps_pps

int WHIPContext::h264_annexb_insert_sps_pps

The h264_mp4toannexb Bitstream Filter (BSF) bypasses the AnnexB packet; therefore, it is essential to insert the SPS and PPS before each IDR frame in such cases.

Definition at line 85 of file whip.c.

Referenced by whip_check_bitstream(), and whip_write_packet().

◆ audio_ssrc

uint32_t WHIPContext::audio_ssrc

Definition at line 88 of file whip.c.

Referenced by create_rtp_muxer(), and generate_sdp_offer().

◆ video_ssrc

uint32_t WHIPContext::video_ssrc

Definition at line 89 of file whip.c.

Referenced by create_rtp_muxer(), generate_sdp_offer(), and handle_nack_rtx().

◆ video_rtx_ssrc

uint32_t WHIPContext::video_rtx_ssrc

Definition at line 90 of file whip.c.

Referenced by generate_sdp_offer(), and handle_rtx_packet().

◆ audio_first_seq

uint16_t WHIPContext::audio_first_seq

Definition at line 92 of file whip.c.

Referenced by create_rtp_muxer(), and initialize().

◆ video_first_seq

uint16_t WHIPContext::video_first_seq

Definition at line 93 of file whip.c.

Referenced by create_rtp_muxer(), initialize(), rtp_history_find(), and rtp_history_store().

◆ video_rtx_seq

uint16_t WHIPContext::video_rtx_seq

Definition at line 95 of file whip.c.

Referenced by handle_rtx_packet().

◆ audio_payload_type

uint8_t WHIPContext::audio_payload_type

Definition at line 97 of file whip.c.

Referenced by create_rtp_muxer(), generate_sdp_offer(), and on_rtp_write_packet().

◆ video_payload_type

uint8_t WHIPContext::video_payload_type

Definition at line 98 of file whip.c.

Referenced by create_rtp_muxer(), generate_sdp_offer(), and on_rtp_write_packet().

◆ video_rtx_payload_type

uint8_t WHIPContext::video_rtx_payload_type

Definition at line 99 of file whip.c.

Referenced by generate_sdp_offer(), and handle_rtx_packet().

◆ srtp_audio_send

SRTPContext WHIPContext::srtp_audio_send

Definition at line 102 of file whip.c.

Referenced by on_rtp_write_packet(), setup_srtp(), and whip_deinit().

◆ srtp_video_send

SRTPContext WHIPContext::srtp_video_send

Definition at line 103 of file whip.c.

Referenced by on_rtp_write_packet(), setup_srtp(), and whip_deinit().

◆ srtp_video_rtx_send

SRTPContext WHIPContext::srtp_video_rtx_send

Definition at line 104 of file whip.c.

Referenced by handle_rtx_packet(), setup_srtp(), and whip_deinit().

◆ srtp_rtcp_send

SRTPContext WHIPContext::srtp_rtcp_send

Definition at line 105 of file whip.c.

Referenced by on_rtp_write_packet(), setup_srtp(), and whip_deinit().

◆ srtp_recv

SRTPContext WHIPContext::srtp_recv

Definition at line 107 of file whip.c.

Referenced by handle_nack_rtx(), setup_srtp(), and whip_deinit().

◆ hist_sz

int WHIPContext::hist_sz

Definition at line 109 of file whip.c.

Referenced by handle_rtx_packet(), initialize(), rtp_history_find(), and rtp_history_store().

◆ hist

RtpHistoryItem* WHIPContext::hist

◆ hist_pool

uint8_t* WHIPContext::hist_pool

Definition at line 111 of file whip.c.

Referenced by initialize(), and whip_deinit().

◆ hist_head

int WHIPContext::hist_head

Definition at line 112 of file whip.c.

Referenced by handle_rtx_packet(), and rtp_history_store().


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