|
FFmpeg
|
#include <rtc.h>
| AVFormatContext* RTCContext::ctx |
Definition at line 122 of file rtc.h.
Referenced by certificate_key_init(), dtls_initialize(), ff_rtc_dispose_session(), ff_rtc_exchange_sdp(), ff_rtc_ice_check_and_send_consent(), ff_rtc_ice_check_and_update_consent(), ff_rtc_ice_check_consent(), ff_rtc_ice_dtls_handshake(), ff_rtc_initialize(), ff_rtc_parse_answer(), ff_rtc_srtp_export_keys(), ff_rtc_udp_connect(), ice_create_request(), ice_create_response(), ice_handle_binding_request(), and initialize().
| uint32_t RTCContext::flags |
Definition at line 124 of file rtc.h.
Referenced by dtls_initialize(), ff_rtc_ice_dtls_handshake(), ff_rtc_srtp_export_keys(), and generate_sdp_offer().
| enum RTCState RTCContext::state |
Definition at line 126 of file rtc.h.
Referenced by create_rtp_muxer(), ff_rtc_exchange_sdp(), ff_rtc_ice_dtls_handshake(), ff_rtc_initialize(), ff_rtc_parse_answer(), ff_rtc_udp_connect(), generate_sdp_offer(), setup_srtp(), whip_init(), and whip_write_packet().
| AVLFG RTCContext::rnd |
Definition at line 129 of file rtc.h.
Referenced by ff_rtc_initialize(), generate_sdp_offer(), ice_create_request(), and initialize().
| char RTCContext::ice_ufrag_local[9] |
Definition at line 132 of file rtc.h.
Referenced by ff_rtc_ice_dtls_handshake(), generate_sdp_offer(), and ice_create_request().
| char RTCContext::ice_pwd_local[33] |
Definition at line 133 of file rtc.h.
Referenced by generate_sdp_offer(), and ice_create_response().
| char* RTCContext::sdp_offer |
This is the SDP offer generated by the local peer based on the codec parameters, DTLS, and ICE information.
Definition at line 139 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_exchange_sdp(), ff_rtc_parse_answer(), and generate_sdp_offer().
| int RTCContext::is_peer_ice_lite |
Definition at line 141 of file rtc.h.
Referenced by ff_rtc_ice_dtls_handshake(), and ff_rtc_parse_answer().
| uint64_t RTCContext::ice_tie_breaker |
Definition at line 142 of file rtc.h.
Referenced by ff_rtc_initialize(), and ice_create_request().
| char* RTCContext::ice_ufrag_remote |
Definition at line 144 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_ice_dtls_handshake(), ff_rtc_parse_answer(), and ice_create_request().
| char* RTCContext::ice_pwd_remote |
Definition at line 145 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_parse_answer(), and ice_create_request().
| char* RTCContext::ice_protocol |
This represents the ICE candidate protocol, priority, host and port.
Currently, we only support one candidate and choose the first UDP candidate. However, we plan to support multiple candidates in the future.
Definition at line 151 of file rtc.h.
Referenced by ff_rtc_deinit(), and ff_rtc_parse_answer().
| char* RTCContext::ice_host |
Definition at line 152 of file rtc.h.
Referenced by dtls_initialize(), ff_rtc_deinit(), ff_rtc_ice_dtls_handshake(), ff_rtc_parse_answer(), and ff_rtc_udp_connect().
| int RTCContext::ice_port |
Definition at line 153 of file rtc.h.
Referenced by dtls_initialize(), ff_rtc_ice_dtls_handshake(), ff_rtc_parse_answer(), and ff_rtc_udp_connect().
| char* RTCContext::sdp_answer |
Definition at line 156 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_exchange_sdp(), and ff_rtc_parse_answer().
| char* RTCContext::resource_url |
Definition at line 158 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_dispose_session(), ff_rtc_exchange_sdp(), and ff_rtc_ice_dtls_handshake().
| int64_t RTCContext::starttime |
Definition at line 161 of file rtc.h.
Referenced by create_rtp_muxer(), ff_rtc_ice_dtls_handshake(), ff_rtc_initialize(), ff_rtc_parse_answer(), ff_rtc_udp_connect(), and setup_srtp().
| int64_t RTCContext::init_time |
Definition at line 162 of file rtc.h.
Referenced by create_rtp_muxer(), and ff_rtc_initialize().
| int64_t RTCContext::offer_time |
Definition at line 163 of file rtc.h.
Referenced by create_rtp_muxer(), and generate_sdp_offer().
| int64_t RTCContext::answer_time |
Definition at line 164 of file rtc.h.
Referenced by create_rtp_muxer(), and ff_rtc_parse_answer().
| int64_t RTCContext::udp_time |
Definition at line 165 of file rtc.h.
Referenced by create_rtp_muxer(), and ff_rtc_udp_connect().
| int64_t RTCContext::ice_time |
Definition at line 166 of file rtc.h.
Referenced by create_rtp_muxer(), and ff_rtc_ice_dtls_handshake().
| int64_t RTCContext::dtls_time |
Definition at line 167 of file rtc.h.
Referenced by create_rtp_muxer(), and ff_rtc_ice_dtls_handshake().
| int64_t RTCContext::srtp_time |
Definition at line 168 of file rtc.h.
Referenced by create_rtp_muxer(), and setup_srtp().
| int64_t RTCContext::last_consent_tx_time |
Definition at line 169 of file rtc.h.
Referenced by ff_rtc_ice_check_and_send_consent(), and ff_rtc_ice_dtls_handshake().
| int64_t RTCContext::last_consent_rx_time |
Definition at line 170 of file rtc.h.
Referenced by ff_rtc_ice_check_and_update_consent(), ff_rtc_ice_check_consent(), and ff_rtc_ice_dtls_handshake().
| char RTCContext::cert_buf[MAX_CERTIFICATE_SIZE] |
Definition at line 173 of file rtc.h.
Referenced by certificate_key_init(), and dtls_initialize().
| char RTCContext::key_buf[MAX_CERTIFICATE_SIZE] |
Definition at line 174 of file rtc.h.
Referenced by certificate_key_init(), and dtls_initialize().
| char* RTCContext::dtls_fingerprint |
Definition at line 176 of file rtc.h.
Referenced by certificate_key_init(), ff_rtc_deinit(), and generate_sdp_offer().
| char* RTCContext::remote_fingerprint |
Definition at line 178 of file rtc.h.
Referenced by ff_rtc_deinit(), and ff_rtc_parse_answer().
| uint8_t RTCContext::dtls_srtp_materials[(RTC_DTLS_SRTP_KEY_LEN+RTC_DTLS_SRTP_SALT_LEN) *2] |
This represents the material used to build the SRTP master key.
It is generated by DTLS and has the following layout: 16B 16B 14B 14B client_key | server_key | client_salt | server_salt
Definition at line 186 of file rtc.h.
Referenced by ff_rtc_srtp_export_keys().
| char RTCContext::srtp_send_key[RTC_SRTP_KEY_SIZE] |
Definition at line 188 of file rtc.h.
Referenced by ff_rtc_srtp_export_keys(), and setup_srtp().
| char RTCContext::srtp_recv_key[RTC_SRTP_KEY_SIZE] |
Definition at line 189 of file rtc.h.
Referenced by ff_rtc_srtp_export_keys(), and setup_srtp().
| URLContext* RTCContext::dtls_uc |
Definition at line 192 of file rtc.h.
Referenced by dtls_initialize(), ff_rtc_deinit(), ff_rtc_ice_dtls_handshake(), ff_rtc_srtp_export_keys(), and whip_write_packet().
| URLContext* RTCContext::udp |
Definition at line 195 of file rtc.h.
Referenced by create_rtp_muxer(), dtls_initialize(), ff_rtc_deinit(), ff_rtc_ice_check_and_send_consent(), ff_rtc_ice_dtls_handshake(), ff_rtc_udp_connect(), handle_rtx_packet(), ice_handle_binding_request(), on_rtp_write_packet(), and whip_write_packet().
| char RTCContext::buf[RTC_MAX_UDP_BUFFER_SIZE] |
Definition at line 197 of file rtc.h.
Referenced by ff_rtc_ice_check_and_send_consent(), ff_rtc_ice_dtls_handshake(), handle_nack_rtx(), handle_rtx_packet(), ice_handle_binding_request(), on_rtp_write_packet(), and whip_write_packet().
| int RTCContext::handshake_timeout |
Definition at line 200 of file rtc.h.
Referenced by ff_rtc_ice_dtls_handshake(), and ff_rtc_initialize().
| int64_t RTCContext::timeout |
Definition at line 202 of file rtc.h.
Referenced by ff_rtc_dispose_session(), and ff_rtc_exchange_sdp().
| int RTCContext::pkt_size |
The size of RTP packet, should generally be set to MTU.
Note that pion requires a smaller value, for example, 1200.
Definition at line 207 of file rtc.h.
Referenced by create_rtp_muxer(), dtls_initialize(), ff_rtc_initialize(), ff_rtc_udp_connect(), initialize(), and rtp_history_store().
| int RTCContext::ts_buffer_size |
Definition at line 208 of file rtc.h.
Referenced by ff_rtc_udp_connect().
| char* RTCContext::authorization |
The optional Bearer token for HTTP Authorization.
See https://www.ietf.org/archive/id/draft-ietf-wish-whip-08.html#name-authentication-and-authoriz
Definition at line 213 of file rtc.h.
Referenced by ff_rtc_deinit(), ff_rtc_dispose_session(), and ff_rtc_exchange_sdp().
| char* RTCContext::cert_file |
Definition at line 215 of file rtc.h.
Referenced by certificate_key_init(), dtls_initialize(), and ff_rtc_deinit().
| char* RTCContext::key_file |
Definition at line 216 of file rtc.h.
Referenced by certificate_key_init(), dtls_initialize(), and ff_rtc_deinit().