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

Gateway-Client session. More...

#include <janus.h>

Data Fields

guint64 session_id
 Janus Gateway-Client session ID.
GHashTable * ice_handles
 Map of handles this session is managing.
GAsyncQueue * messages
 Queue of outgoing messages to push.
gint64 last_activity
 Time of the last activity on the session.
void * source
 Opaque pointer to a janus_request_source instance (where the session came from)
gint destroy:1
 Flag to trigger a lazy session destruction.
gint timeout:1
 Flag to notify there's been a session timeout.
janus_mutex mutex
 Mutex to lock/unlock this session.

Detailed Description

Gateway-Client session.

Field Documentation

gint janus_session::destroy

Flag to trigger a lazy session destruction.

GHashTable* janus_session::ice_handles

Map of handles this session is managing.

gint64 janus_session::last_activity

Time of the last activity on the session.

GAsyncQueue* janus_session::messages

Queue of outgoing messages to push.

janus_mutex janus_session::mutex

Mutex to lock/unlock this session.

guint64 janus_session::session_id

Janus Gateway-Client session ID.

void* janus_session::source

Opaque pointer to a janus_request_source instance (where the session came from)

gint janus_session::timeout

Flag to notify there's been a session timeout.


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