|int||ms_load_plugins (const char *directory)|
|void||ms_reload_snd_card (struct _MSSndCardDesc *snd_desc)|
This file provide the API needed to initialize and reset the mediastreamer2 library.
Initialize the mediastreamer2 library.
This must be called once before calling any other API.
|int ms_load_plugins||(||const char *||directory||)|
Load plugins from a specific directory.
|directory||A directory where plugins library are available.|
Release resource allocated in the mediastreamer2 library.
This must be called once before closing program.
|void ms_reload_snd_card||(||struct _MSSndCardDesc *||snd_desc||)|
This can be called when new sound cards have been added.
Warning: It must NOT be called if one filter is currently created. You have to unlink, destroy everything before doing this.
|snd_desc||A MSSndCardDesc description.|
The max payload size allowed. Filters that generate data that can be sent through RTP should make packets whose size is below ms_get_payload_max_size(). The default value is 1440 computed as the standart internet MTU minus IPv6 header, UDP header and RTP header. As IPV4 header is smaller than IPv6 header, this value works for both.