Library management functions

Name

Library management functions  -- 

Synopsis


#include ortp.h


bool_t      ortp_min_version_required       (int major,
                                             int minor,
                                             int micro);
void        ortp_init                       ();
void        ortp_scheduler_init             ();
void        ortp_exit                       ();

Description

Details

bool_t      ortp_min_version_required       (int major,
                                             int minor,
                                             int micro);

This function give the opportunity to programs to check if the libortp they link to has the minimum version number they need.

major:

minor:

micro:

Returns:

true if ortp has a version number greater or equal than the required one.


void        ortp_init                       ();

Initialize the oRTP library. You should call this function first before using oRTP API.


void        ortp_scheduler_init             ();

Initialize the oRTP scheduler. You only have to do that if you intend to use the scheduled mode of the RtpSession in your application.


void        ortp_exit                       ();

Gracefully uninitialize the library, including shutdowning the scheduler if it was started.