Fork me on GitHub
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
janus_handle_webrtc Struct Reference

Janus handle WebRTC PeerConnection. More...

#include <ice.h>

Collaboration diagram for janus_handle_webrtc:
Collaboration graph
[legend]

Data Fields

janus_handlehandle
 Janus handle this stream belongs to. More...
 
guint stream_id
 libnice ICE stream ID More...
 
guint component_id
 libnice ICE component ID More...
 
gint cdone:1
 Whether this stream is ready to be used. More...
 
guint state
 libnice ICE component state More...
 
gint64 ice_connected
 Monotonic time of when ICE 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...
 
gint mid_ext_id
 SDES mid RTP extension ID. More...
 
gint rid_ext_id
 RTP Stream extension ID, and the related rtx one. More...
 
gint ridrtx_ext_id
 
gint framemarking_ext_id
 Frame marking extension ID. More...
 
gboolean do_transport_wide_cc
 Whether we do transport wide cc. More...
 
gint transport_wide_cc_ext_id
 Transport wide cc rtp ext ID. More...
 
guint32 transport_wide_cc_last_seq_num
 Last received transport wide seq num. More...
 
guint32 transport_wide_cc_last_feedback_seq_num
 Last transport wide seq num sent on feedback. More...
 
guint16 transport_wide_cc_cycles
 Transport wide cc transport seq num wrap cycles. More...
 
guint transport_wide_cc_feedback_count
 Transport wide cc rtp ext ID. More...
 
GSList * transport_wide_received_seq_nums
 GLib list of transport wide cc stats in reverse received order. More...
 
janus_dtls_role dtls_role
 DTLS role of the server for this stream. More...
 
janus_media_stats dtls_in_stats
 Data exchanged for DTLS handshakes and messages. More...
 
janus_media_stats dtls_out_stats
 
gchar * remote_hashing
 Hashing algorhitm used by the peer for the DTLS certificate (e.g., "SHA-256") More...
 
gchar * remote_fingerprint
 Hashed fingerprint of the peer's certificate, as parsed in SDP. More...
 
gchar * ruser
 The ICE username for this stream. More...
 
gchar * rpass
 The ICE password for this stream. More...
 
GHashTable * media
 GLib hash table of media (m-line indexes are the keys) More...
 
GHashTable * media_byssrc
 GLib hash table of media (SSRCs are the keys) More...
 
GHashTable * media_bymid
 GLib hash table of media (mids are the keys) More...
 
GHashTable * media_bytype
 GLib hash table of media (media types are the keys) 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 stream. 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 handle WebRTC PeerConnection.

Field Documentation

GSList* janus_handle_webrtc::candidates

GLib list of libnice remote candidates for this component.

gint janus_handle_webrtc::cdone

Whether this stream is ready to be used.

guint janus_handle_webrtc::component_id

libnice ICE component ID

volatile gint janus_handle_webrtc::destroyed

Atomic flag to check if this instance has been destroyed.

gboolean janus_handle_webrtc::do_transport_wide_cc

Whether we do transport wide cc.

janus_dtls_srtp* janus_handle_webrtc::dtls

DTLS-SRTP stack.

janus_media_stats janus_handle_webrtc::dtls_in_stats

Data exchanged for DTLS handshakes and messages.

janus_media_stats janus_handle_webrtc::dtls_out_stats
janus_dtls_role janus_handle_webrtc::dtls_role

DTLS role of the server for this stream.

GSource* janus_handle_webrtc::dtlsrt_source

Re-transmission timer for DTLS.

gint janus_handle_webrtc::framemarking_ext_id

Frame marking extension ID.

janus_handle* janus_handle_webrtc::handle

Janus handle this stream belongs to.

gint64 janus_handle_webrtc::ice_connected

Monotonic time of when ICE has successfully connected.

gint64 janus_handle_webrtc::icefailed_detected

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

GSource* janus_handle_webrtc::icestate_source

Timer to check when we should consider ICE as failed.

GSList* janus_handle_webrtc::local_candidates

GLib list of local candidates for this component (summary)

GHashTable* janus_handle_webrtc::media

GLib hash table of media (m-line indexes are the keys)

GHashTable* janus_handle_webrtc::media_bymid

GLib hash table of media (mids are the keys)

GHashTable* janus_handle_webrtc::media_byssrc

GLib hash table of media (SSRCs are the keys)

GHashTable* janus_handle_webrtc::media_bytype

GLib hash table of media (media types are the keys)

Note
Temporary! Will go away very soon
gint janus_handle_webrtc::mid_ext_id

SDES mid RTP extension ID.

janus_mutex janus_handle_webrtc::mutex

Mutex to lock/unlock this stream.

gboolean janus_handle_webrtc::noerrorlog

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

gboolean janus_handle_webrtc::process_started

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

janus_refcount janus_handle_webrtc::ref

Reference counter for this instance.

GSList* janus_handle_webrtc::remote_candidates

GLib list of remote candidates for this component (summary)

gchar* janus_handle_webrtc::remote_fingerprint

Hashed fingerprint of the peer's certificate, as parsed in SDP.

gchar* janus_handle_webrtc::remote_hashing

Hashing algorhitm used by the peer for the DTLS certificate (e.g., "SHA-256")

gint janus_handle_webrtc::rid_ext_id

RTP Stream extension ID, and the related rtx one.

gint janus_handle_webrtc::ridrtx_ext_id
gchar* janus_handle_webrtc::rpass

The ICE password for this stream.

gchar* janus_handle_webrtc::ruser

The ICE username for this stream.

gchar* janus_handle_webrtc::selected_pair

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

guint janus_handle_webrtc::state

libnice ICE component state

guint janus_handle_webrtc::stream_id

libnice ICE stream ID

guint16 janus_handle_webrtc::transport_wide_cc_cycles

Transport wide cc transport seq num wrap cycles.

gint janus_handle_webrtc::transport_wide_cc_ext_id

Transport wide cc rtp ext ID.

guint janus_handle_webrtc::transport_wide_cc_feedback_count

Transport wide cc rtp ext ID.

guint32 janus_handle_webrtc::transport_wide_cc_last_feedback_seq_num

Last transport wide seq num sent on feedback.

guint32 janus_handle_webrtc::transport_wide_cc_last_seq_num

Last received transport wide seq num.

GSList* janus_handle_webrtc::transport_wide_received_seq_nums

GLib list of transport wide cc stats in reverse received order.


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