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

Janus ICE handle. More...

#include <ice.h>

Collaboration diagram for janus_ice_handle:
Collaboration graph
[legend]

Data Fields

void * session
 Opaque pointer to the gateway/peer session.
guint64 handle_id
 Handle identifier, guaranteed to be non-zero.
void * app
 Opaque application (plugin) pointer.
janus_plugin_sessionapp_handle
 Opaque gateway/plugin session pointer.
janus_flags webrtc_flags
 Mask of WebRTC-related flags for this handle.
gint cdone
 Number of gathered candidates.
GMainContext * icectx
 GLib context for libnice.
GMainLoop * iceloop
 GLib loop for libnice.
GThread * icethread
 GLib thread for libnice.
NiceAgent * agent
 libnice ICE agent
guint audio_id
 libnice ICE audio ID
guint video_id
 libnice ICE video ID
guint data_id
 libnice ICE DataChannels ID
gchar * audio_mid
 Audio mid (media ID)
gchar * video_mid
 Video mid (media ID)
gchar * data_mid
 Data channel mid (media ID)
gint streams_num
 Number of streams.
GHashTable * streams
 GLib hash table of streams (IDs are the keys)
janus_ice_streamaudio_stream
 Audio stream.
janus_ice_streamvideo_stream
 Video stream.
janus_ice_streamdata_stream
 SCTP/DataChannel stream.
gchar * remote_hashing
 Hashing algorhitm used by the peer for the DTLS certificate (e.g., "SHA-256")
gchar * remote_fingerprint
 Hashed fingerprint of the peer's certificate, as parsed in SDP.
gchar * local_sdp
 SDP generated locally (just for debugging purposes)
gchar * remote_sdp
 SDP received by the peer (just for debugging purposes)
GAsyncQueue * queued_packets
 Queue of outgoing packets to send.
GThread * send_thread
 GLib thread for sending outgoing packets.
janus_mutex mutex
 Mutex to lock/unlock the ICE session.

Detailed Description

Janus ICE handle.

Field Documentation

NiceAgent* janus_ice_handle::agent

libnice ICE agent

void* janus_ice_handle::app

Opaque application (plugin) pointer.

janus_plugin_session* janus_ice_handle::app_handle

Opaque gateway/plugin session pointer.

guint janus_ice_handle::audio_id

libnice ICE audio ID

gchar* janus_ice_handle::audio_mid

Audio mid (media ID)

janus_ice_stream* janus_ice_handle::audio_stream

Audio stream.

gint janus_ice_handle::cdone

Number of gathered candidates.

guint janus_ice_handle::data_id

libnice ICE DataChannels ID

gchar* janus_ice_handle::data_mid

Data channel mid (media ID)

janus_ice_stream* janus_ice_handle::data_stream

SCTP/DataChannel stream.

guint64 janus_ice_handle::handle_id

Handle identifier, guaranteed to be non-zero.

GMainContext* janus_ice_handle::icectx

GLib context for libnice.

GMainLoop* janus_ice_handle::iceloop

GLib loop for libnice.

GThread* janus_ice_handle::icethread

GLib thread for libnice.

gchar* janus_ice_handle::local_sdp

SDP generated locally (just for debugging purposes)

janus_mutex janus_ice_handle::mutex

Mutex to lock/unlock the ICE session.

GAsyncQueue* janus_ice_handle::queued_packets

Queue of outgoing packets to send.

gchar* janus_ice_handle::remote_fingerprint

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

gchar* janus_ice_handle::remote_hashing

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

gchar* janus_ice_handle::remote_sdp

SDP received by the peer (just for debugging purposes)

GThread* janus_ice_handle::send_thread

GLib thread for sending outgoing packets.

void* janus_ice_handle::session

Opaque pointer to the gateway/peer session.

GHashTable* janus_ice_handle::streams

GLib hash table of streams (IDs are the keys)

gint janus_ice_handle::streams_num

Number of streams.

guint janus_ice_handle::video_id

libnice ICE video ID

gchar* janus_ice_handle::video_mid

Video mid (media ID)

janus_ice_stream* janus_ice_handle::video_stream

Video stream.

janus_flags janus_ice_handle::webrtc_flags

Mask of WebRTC-related flags for this handle.


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