Fork me on GitHub
Data Fields
janus_ice_component Struct Reference

Janus ICE component. More...

#include <ice.h>

Collaboration diagram for janus_ice_component:
Collaboration graph
[legend]

Data Fields

janus_ice_streamstream
 Janus ICE stream this component belongs to. More...
 
guint stream_id
 libnice ICE stream ID More...
 
guint component_id
 libnice ICE component ID More...
 
guint state
 libnice ICE component state More...
 
gint64 component_connected
 Monotonic time of when this component has successfully connected. More...
 
GSList * candidates
 GLib list of libnice remote candidates for this component. More...
 
GSList * local_candidates
 GLib list of local candidates for this component (summary) More...
 
GSList * remote_candidates
 GLib list of remote candidates for this component (summary) More...
 
gchar * selected_pair
 String representation of the selected pair as notified by libnice (foundations) More...
 
gboolean process_started
 Whether the setup of remote candidates for this component has started or not. More...
 
GSource * icestate_source
 Timer to check when we should consider ICE as failed. More...
 
gint64 icefailed_detected
 Time of when we first detected an ICE failed (we'll need this for the timer above) More...
 
GSource * dtlsrt_source
 Re-transmission timer for DTLS. More...
 
janus_dtls_srtpdtls
 DTLS-SRTP stack. More...
 
gboolean do_audio_nacks
 Whether we should do NACKs (in or out) for audio. More...
 
gboolean do_video_nacks
 Whether we should do NACKs (in or out) for video. More...
 
GQueue * audio_retransmit_buffer
 List of previously sent janus_rtp_packet RTP packets, in case we receive NACKs. More...
 
GQueue * video_retransmit_buffer
 
GHashTable * audio_retransmit_seqs
 HashTable of retransmittable sequence numbers, in case we receive NACKs. More...
 
GHashTable * video_retransmit_seqs
 
guint16 rtx_seq_number
 Current sequence number for the RFC4588 rtx SSRC session. More...
 
gint64 retransmit_log_ts
 Last time a log message about sending retransmits was printed. More...
 
guint retransmit_recent_cnt
 Number of retransmitted packets since last log message. More...
 
gint64 nack_sent_log_ts
 Last time a log message about sending NACKs was printed. More...
 
guint nack_sent_recent_cnt
 Number of NACKs sent since last log message. More...
 
janus_seq_infolast_seqs_audio
 List of recently received audio sequence numbers (as a support to NACK generation) More...
 
janus_seq_infolast_seqs_video [3]
 List of recently received video sequence numbers (as a support to NACK generation, for each simulcast SSRC) More...
 
janus_ice_stats in_stats
 Stats for incoming data (audio/video/data) More...
 
janus_ice_stats out_stats
 Stats for outgoing data (audio/video/data) More...
 
gboolean noerrorlog
 Helper flag to avoid flooding the console with the same error all over again. More...
 
janus_mutex mutex
 Mutex to lock/unlock this component. More...
 
volatile gint destroyed
 Atomic flag to check if this instance has been destroyed. More...
 
janus_refcount ref
 Reference counter for this instance. More...
 

Detailed Description

Janus ICE component.

Field Documentation

GQueue* janus_ice_component::audio_retransmit_buffer

List of previously sent janus_rtp_packet RTP packets, in case we receive NACKs.

GHashTable* janus_ice_component::audio_retransmit_seqs

HashTable of retransmittable sequence numbers, in case we receive NACKs.

GSList* janus_ice_component::candidates

GLib list of libnice remote candidates for this component.

gint64 janus_ice_component::component_connected

Monotonic time of when this component has successfully connected.

guint janus_ice_component::component_id

libnice ICE component ID

volatile gint janus_ice_component::destroyed

Atomic flag to check if this instance has been destroyed.

gboolean janus_ice_component::do_audio_nacks

Whether we should do NACKs (in or out) for audio.

gboolean janus_ice_component::do_video_nacks

Whether we should do NACKs (in or out) for video.

janus_dtls_srtp* janus_ice_component::dtls

DTLS-SRTP stack.

GSource* janus_ice_component::dtlsrt_source

Re-transmission timer for DTLS.

gint64 janus_ice_component::icefailed_detected

Time of when we first detected an ICE failed (we'll need this for the timer above)

GSource* janus_ice_component::icestate_source

Timer to check when we should consider ICE as failed.

janus_ice_stats janus_ice_component::in_stats

Stats for incoming data (audio/video/data)

janus_seq_info* janus_ice_component::last_seqs_audio

List of recently received audio sequence numbers (as a support to NACK generation)

janus_seq_info* janus_ice_component::last_seqs_video[3]

List of recently received video sequence numbers (as a support to NACK generation, for each simulcast SSRC)

GSList* janus_ice_component::local_candidates

GLib list of local candidates for this component (summary)

janus_mutex janus_ice_component::mutex

Mutex to lock/unlock this component.

gint64 janus_ice_component::nack_sent_log_ts

Last time a log message about sending NACKs was printed.

guint janus_ice_component::nack_sent_recent_cnt

Number of NACKs sent since last log message.

gboolean janus_ice_component::noerrorlog

Helper flag to avoid flooding the console with the same error all over again.

janus_ice_stats janus_ice_component::out_stats

Stats for outgoing data (audio/video/data)

gboolean janus_ice_component::process_started

Whether the setup of remote candidates for this component has started or not.

janus_refcount janus_ice_component::ref

Reference counter for this instance.

GSList* janus_ice_component::remote_candidates

GLib list of remote candidates for this component (summary)

gint64 janus_ice_component::retransmit_log_ts

Last time a log message about sending retransmits was printed.

guint janus_ice_component::retransmit_recent_cnt

Number of retransmitted packets since last log message.

guint16 janus_ice_component::rtx_seq_number

Current sequence number for the RFC4588 rtx SSRC session.

gchar* janus_ice_component::selected_pair

String representation of the selected pair as notified by libnice (foundations)

guint janus_ice_component::state

libnice ICE component state

janus_ice_stream* janus_ice_component::stream

Janus ICE stream this component belongs to.

guint janus_ice_component::stream_id

libnice ICE stream ID

GQueue * janus_ice_component::video_retransmit_buffer
GHashTable * janus_ice_component::video_retransmit_seqs

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