pjsua_handle_events method
Poll pjsua for events, and if necessary block the caller thread for the specified maximum interval (in miliseconds).
Application doesn't normally need to call this function if it has configured worker thread (\a thread_cnt field) in pjsua_config structure, because polling then will be done by these worker threads instead.
@param msec_timeout Maximum time to wait, in miliseconds.
@return The number of events that have been handled during the poll. Negative value indicates error, and application can retrieve the error as (status = -return_value).
Implementation
int pjsua_handle_events(
int msec_timeout,
) {
return _pjsua_handle_events(
msec_timeout,
);
}