| Asterisk - The Open Source Telephony Project GIT-master-27fb039
    | 
RTP session description. More...

RTP session description.
Definition at line 386 of file res_rtp_asterisk.c.
| unsigned int asymmetric_codec | 
Indicate if asymmetric send/receive codecs are allowed
Definition at line 452 of file res_rtp_asterisk.c.
Referenced by ast_rtp_prop_set(), and bridge_p2p_rtp_write().
| struct ast_sockaddr bind_address | 
Requested bind address for the sockets
Definition at line 463 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), and rtp_allocate_transport().
| struct ast_rtp_instance* bundled | 
The RTP instance we are bundled to
Definition at line 454 of file res_rtp_asterisk.c.
Referenced by __rtp_sendto(), ast_rtcp_write(), ast_rtp_bundle(), ast_rtp_destroy(), ast_rtp_set_remote_ssrc(), rtp_instance_parse_transport_wide_cc(), rtp_write_rtcp_fir(), and rtp_write_rtcp_psfb().
| char cname[AST_UUID_STR_LEN] | 
Our local CNAME
Definition at line 394 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_sdes(), ast_rtp_get_cname(), and ast_rtp_new().
| size_t current | 
Definition at line 405 of file res_rtp_asterisk.c.
| unsigned int cycles | 
Shifted count of sequence number cycles
Definition at line 412 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_report(), and ast_rtp_interpret().
| unsigned int dtmf_duration | 
Total duration in samples since the digit start event
Definition at line 432 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), and process_dtmf_rfc2833().
| unsigned int dtmf_samplerate_ms | 
The sample rate of the current RTP stream in ms (sample rate / 1000)
Definition at line 436 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| unsigned int dtmf_timeout | 
When this timestamp is reached we consider END frame lost and forcibly abort digit
Definition at line 433 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), process_dtmf_cisco(), and process_dtmf_rfc2833().
| enum ast_rtp_dtmf_mode dtmfmode | 
The current DTMF mode of the RTP stream
Definition at line 435 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_mode_get(), and ast_rtp_dtmf_mode_set().
| struct timeval dtmfmute | 
Definition at line 447 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_end_with_duration(), ast_rtp_sendcng(), and create_dtmf_frame().
| unsigned int dtmfsamples | 
Definition at line 434 of file res_rtp_asterisk.c.
Referenced by create_dtmf_frame(), process_dtmf_cisco(), and process_dtmf_rfc2833().
| int* elems | 
Definition at line 405 of file res_rtp_asterisk.c.
| struct rtp_ssrc_mapping* elems | 
Definition at line 462 of file res_rtp_asterisk.c.
| int expectedrxseqno | 
Next expected sequence number, from the network
Definition at line 404 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_nack(), ast_rtp_new(), and ast_rtp_read().
| int expectedseqno | 
Next expected sequence number, from the core
Definition at line 406 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_end_with_duration(), ast_rtp_new(), and rtp_raw_write().
| struct ast_frame f | 
Definition at line 389 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_calculate_sr_rr_statistics(), ast_rtcp_interpret(), ast_rtcp_read(), ast_rtp_destroy(), ast_rtp_dtmf_end_with_duration(), ast_rtp_interpret(), ast_rtp_new(), ast_rtp_read(), calc_rxstamp_and_jitter(), create_dtmf_frame(), process_cn_rfc3389(), and update_jitter_stats().
| unsigned int flags | 
Definition at line 443 of file res_rtp_asterisk.c.
Referenced by process_dtmf_cisco(), and rtp_sendto().
| optional_ts last_end_timestamp | 
The last known timestamp received from an END packet
Definition at line 431 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), ast_rtp_remote_address_set(), bridge_p2p_rtp_write(), and process_dtmf_rfc2833().
| unsigned int last_seqno | 
The last known sequence number for any DTMF packet
Definition at line 430 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), ast_rtp_remote_address_set(), and process_dtmf_rfc2833().
| unsigned int last_transit_time_samples | 
The last transit time in samples
Definition at line 423 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp_and_jitter().
| unsigned int lastdigitts | 
Definition at line 438 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_sendcng(), and rtp_raw_write().
| unsigned int lastitexttimestamp | 
Definition at line 400 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret().
| unsigned int lastividtimestamp | 
Definition at line 398 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), and ast_rtp_read().
| unsigned int lastotexttimestamp | 
Definition at line 401 of file res_rtp_asterisk.c.
Referenced by rtp_raw_write().
| unsigned int lastovidtimestamp | 
Definition at line 399 of file res_rtp_asterisk.c.
Referenced by rtp_raw_write().
| struct ast_format* lastrxformat | 
Definition at line 414 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_interpret(), ast_rtp_new(), bridge_p2p_rtp_write(), process_cn_rfc3389(), and process_dtmf_cisco().
| int lastrxseqno | 
Last received sequence number, from the network
Definition at line 403 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_report(), ast_rtp_read(), calc_rxstamp_and_jitter(), and rtp_learning_start().
| unsigned int lastts | 
Definition at line 397 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_report(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_sendcng(), and rtp_raw_write().
| struct ast_format* lasttxformat | 
Definition at line 413 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_dtmf_begin(), ast_rtp_new(), ast_rtp_write(), and bridge_p2p_rtp_write().
| size_t max | 
Definition at line 405 of file res_rtp_asterisk.c.
| struct { ... } missing_seqno | 
A vector of sequence numbers we never received
Referenced by ast_rtcp_generate_nack(), ast_rtp_destroy(), ast_rtp_prop_set(), and ast_rtp_read().
| struct ast_rtp_instance* owner | 
The RTP instance owning us (used for debugging purposes) We don't hold a reference to the instance because it created us in the first place. It can't go away.
Definition at line 460 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_new(), calc_rxstamp_and_jitter(), update_local_mes_stats(), and update_reported_mes_stats().
| int prevrxseqno | 
Previous received packeted sequence number, from the network
Definition at line 402 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and calc_rxstamp_and_jitter().
| unsigned char rawdata[8192+AST_FRIENDLY_OFFSET] | 
Definition at line 390 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and process_cn_rfc3389().
| struct ast_data_buffer* recv_buffer | 
Buffer for storing received packets for retransmission
Definition at line 477 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_prop_set(), and ast_rtp_read().
| struct rtp_red* red | 
Definition at line 474 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_stop(), ast_rtp_write(), red_write(), rtp_red_buffer(), and rtp_red_init().
| unsigned int remote_seed_rx_rtp_ts | 
RTP timestamp of first RX packet.
Definition at line 421 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp_and_jitter().
| unsigned int remote_seed_rx_rtp_ts_stable | 
RTP timestamp of first packet after RTP_IGNORE_FIRST_PACKETS_COUNT
Definition at line 422 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp_and_jitter().
| char resp | 
The current digit being processed
Definition at line 429 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret(), create_dtmf_frame(), process_dtmf_cisco(), and process_dtmf_rfc2833().
| struct ast_rtcp* rtcp | 
Definition at line 451 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), __rtp_sendto(), ast_rtcp_calculate_sr_rr_statistics(), ast_rtcp_generate_nack(), ast_rtcp_generate_report(), ast_rtcp_generate_sdes(), ast_rtcp_interpret(), ast_rtcp_read(), ast_rtcp_write(), ast_rtp_destroy(), ast_rtp_fd(), ast_rtp_get_stat(), ast_rtp_interpret(), ast_rtp_prop_set(), ast_rtp_read(), ast_rtp_remote_address_set(), ast_rtp_stop(), calc_rxstamp_and_jitter(), rtcp_mux(), rtp_deallocate_transport(), rtp_instance_parse_transport_wide_cc(), rtp_raw_write(), rtp_transport_wide_cc_feedback_produce(), rtp_write_rtcp_fir(), rtp_write_rtcp_psfb(), update_jitter_stats(), update_local_mes_stats(), update_lost_stats(), update_reported_mes_stats(), and update_rtt_stats().
| struct rtp_learning_info rtp_source_learn | 
Definition at line 472 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and rtp_learning_start().
| struct timeval rxcore | 
Definition at line 444 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp_and_jitter().
| unsigned int rxcount | 
How many packets have we received?
Definition at line 408 of file res_rtp_asterisk.c.
Referenced by ast_rtp_get_stat(), ast_rtp_interpret(), and calc_rxstamp_and_jitter().
| double rxjitter | 
Last calculated Interarrival jitter in seconds.
Definition at line 424 of file res_rtp_asterisk.c.
Referenced by ast_rtp_get_stat(), calc_rxstamp_and_jitter(), and update_local_mes_stats().
| double rxjitter_samples | 
Last calculated Interarrival jitter in samples.
Definition at line 425 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_report(), and calc_rxstamp_and_jitter().
| double rxmes | 
Media Experince Score at the moment to be reported
Definition at line 426 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_calculate_sr_rr_statistics(), ast_rtp_get_stat(), and update_local_mes_stats().
| unsigned int rxoctetcount | 
How many octets have we received? should be rxcount *160
Definition at line 409 of file res_rtp_asterisk.c.
Referenced by ast_rtp_get_stat(), and ast_rtp_interpret().
| double rxstart | 
RX time of the first packet in the session in seconds since EPOCH.
Definition at line 419 of file res_rtp_asterisk.c.
Referenced by ast_rtp_new(), and calc_rxstamp_and_jitter().
| double rxstart_stable | 
RX time of the first packet after RTP_IGNORE_FIRST_PACKETS_COUNT
Definition at line 420 of file res_rtp_asterisk.c.
Referenced by calc_rxstamp_and_jitter().
| int s | 
Definition at line 387 of file res_rtp_asterisk.c.
Referenced by __rtp_recvfrom(), __rtp_sendto(), ast_rtp_fd(), ast_rtp_prop_set(), ast_rtp_qos_set(), ast_rtp_read(), ast_rtp_stun_request(), rtp_allocate_transport(), and rtp_deallocate_transport().
| struct ast_sched_context* sched | 
Definition at line 450 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_interpret(), ast_rtp_new(), ast_rtp_prop_set(), ast_rtp_stop(), rtp_instance_parse_transport_wide_cc(), rtp_raw_write(), and rtp_red_init().
| unsigned short seedrxseqno | 
What sequence number did they start with?
Definition at line 407 of file res_rtp_asterisk.c.
Referenced by ast_rtp_interpret().
| struct ast_data_buffer* send_buffer | 
Buffer for storing sent packets for retransmission
Definition at line 476 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_interpret(), ast_rtp_destroy(), ast_rtp_prop_set(), ast_rtp_rtcp_handle_nack(), and rtp_raw_write().
| char send_digit | 
digit we are sending
Definition at line 440 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| int send_duration | 
Definition at line 442 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| int send_payload | 
Definition at line 441 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), and ast_rtp_dtmf_end_with_duration().
| char sending_digit | 
boolean - are we sending digits
Definition at line 439 of file res_rtp_asterisk.c.
Referenced by ast_rtp_dtmf_begin(), ast_rtp_dtmf_end_with_duration(), ast_rtp_interpret(), bridge_p2p_rtp_write(), and rtp_raw_write().
| unsigned short seqno | 
Sequence number, RFC 3550, page 13.
Definition at line 449 of file res_rtp_asterisk.c.
Referenced by FaxPcap::_add_garbage(), FaxPcap::_make_packet(), FaxPcap::add(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_new(), ast_rtp_sendcng(), rtp_instance_parse_transport_wide_cc(), and rtp_raw_write().
| struct ast_smoother* smoother | 
Definition at line 448 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_dtmf_end_with_duration(), ast_rtp_local_bridge(), and ast_rtp_write().
| unsigned int ssrc | 
Synchronization source, RFC 3550, page 10.
Definition at line 391 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_nack(), ast_rtcp_generate_report(), ast_rtp_bundle(), ast_rtp_dtmf_begin(), ast_rtp_dtmf_continuation(), ast_rtp_dtmf_end_with_duration(), ast_rtp_get_ssrc(), ast_rtp_get_stat(), ast_rtp_local_bridge(), ast_rtp_new(), ast_rtp_sendcng(), ast_rtp_set_remote_ssrc(), bridge_p2p_rtp_write(), rtp_raw_write(), rtp_transport_wide_cc_feedback_produce(), rtp_write_rtcp_fir(), and rtp_write_rtcp_psfb().
| struct { ... } ssrc_mapping | 
Mappings of SSRC to RTP instances
Referenced by __rtp_find_instance_by_ssrc(), ast_rtp_bundle(), ast_rtp_destroy(), ast_rtp_new(), ast_rtp_read(), ast_rtp_remote_address_set(), and ast_rtp_set_remote_ssrc().
| unsigned int ssrc_orig | 
SSRC used before native bridge activated
Definition at line 392 of file res_rtp_asterisk.c.
Referenced by ast_rtp_local_bridge().
| unsigned char ssrc_saved | 
indicates if ssrc_orig has a value
Definition at line 393 of file res_rtp_asterisk.c.
Referenced by ast_rtp_local_bridge().
| int stream_num | 
Stream num for this RTP instance
Definition at line 461 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_interpret(), ast_rtp_interpret(), ast_rtp_new(), and ast_rtp_set_stream_num().
| struct ast_sockaddr strict_rtp_address | 
Remote address information for strict RTP purposes
Definition at line 466 of file res_rtp_asterisk.c.
Referenced by ast_rtp_read(), and ast_rtp_remote_address_set().
Current state that strict RTP protection is in
Definition at line 465 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_interpret(), ast_rtp_read(), ast_rtp_remote_address_set(), rtp_allocate_transport(), and rtp_learning_start().
| unsigned int themssrc | 
Their SSRC
Definition at line 395 of file res_rtp_asterisk.c.
Referenced by __rtp_find_instance_by_ssrc(), ast_rtcp_generate_nack(), ast_rtcp_generate_report(), ast_rtcp_interpret(), ast_rtp_bundle(), ast_rtp_get_stat(), ast_rtp_interpret(), ast_rtp_set_remote_ssrc(), rtp_transport_wide_cc_feedback_produce(), and rtp_write_rtcp_fir().
| unsigned int themssrc_valid | 
True if their SSRC is available.
Definition at line 396 of file res_rtp_asterisk.c.
Referenced by __rtp_find_instance_by_ssrc(), ast_rtcp_generate_report(), ast_rtcp_interpret(), ast_rtcp_write(), ast_rtp_bundle(), ast_rtp_interpret(), ast_rtp_read(), ast_rtp_set_remote_ssrc(), rtp_write_rtcp_fir(), and rtp_write_rtcp_psfb().
| struct rtp_transport_wide_cc_statistics transport_wide_cc | 
Transport-cc statistics information
Definition at line 479 of file res_rtp_asterisk.c.
Referenced by ast_rtp_destroy(), ast_rtp_new(), ast_rtp_prop_set(), ast_rtp_stop(), rtp_instance_parse_transport_wide_cc(), and rtp_transport_wide_cc_feedback_produce().
| struct timeval txcore | 
Definition at line 445 of file res_rtp_asterisk.c.
Referenced by calc_txstamp().
| unsigned int txcount | 
How many packets have we sent?
Definition at line 410 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_calculate_sr_rr_statistics(), ast_rtcp_generate_report(), ast_rtp_get_stat(), and rtp_sendto().
| unsigned int txoctetcount | 
How many octets have we sent? (txcount*160)
Definition at line 411 of file res_rtp_asterisk.c.
Referenced by ast_rtcp_generate_report(), ast_rtp_get_stat(), and rtp_sendto().