owr

owr

Functions

void owr_init ()
void owr_run ()
void owr_run_in_background ()
void owr_quit ()

Description

Functions to initialize the OpenWebRTC library.

Functions

owr_init ()

void
owr_init (GMainContext *main_context);

Initializes the OpenWebRTC library.

Parameters

ctx

GMainContext to use inside OpenWebRTC, if NULL is passed the default main context is used.

 

owr_run ()

void
owr_run (void);

Runs the OpenWebRTC main-loop inside the current thread.


owr_run_in_background ()

void
owr_run_in_background (void);

Creates a new thread and runs the OpenWebRTC main-loop inside that thread. This function does not return until the thread has started and the mainloop is running.


owr_quit ()

void
owr_quit (void);

Quits the OpenWebRTC main-loop, and stops the background thread if owr_run_in_background was used.

Types and Values