Controlling network parameters (ports, mtu...)


Functions

int linphone_core_get_audio_port (const LinphoneCore *lc)
int linphone_core_get_video_port (const LinphoneCore *lc)
void linphone_core_set_audio_port (LinphoneCore *lc, int port)
void linphone_core_set_video_port (LinphoneCore *lc, int port)
int linphone_core_get_sip_port (LinphoneCore *lc)
void linphone_core_set_sip_port (LinphoneCore *lc, int port)
bool_t linphone_core_ipv6_enabled (LinphoneCore *lc)
void linphone_core_enable_ipv6 (LinphoneCore *lc, bool_t val)

Function Documentation

int linphone_core_get_audio_port ( const LinphoneCore *  lc  ) 

Returns the UDP port used for audio streaming.

int linphone_core_get_video_port ( const LinphoneCore *  lc  ) 

Returns the UDP port used for video streaming.

void linphone_core_set_audio_port ( LinphoneCore *  lc,
int  port 
)

Sets the UDP port used for audio streaming.

void linphone_core_set_video_port ( LinphoneCore *  lc,
int  port 
)

Sets the UDP port used for video streaming.

int linphone_core_get_sip_port ( LinphoneCore *  lc  ) 

Returns the UDP port used by SIP.

void linphone_core_set_sip_port ( LinphoneCore *  lc,
int  port 
)

Sets the UDP port to be used by SIP.

bool_t linphone_core_ipv6_enabled ( LinphoneCore *  lc  ) 

Returns TRUE if IPv6 is enabled.

See linphone_core_enable_ipv6() for more details on how IPv6 is supported in liblinphone.

void linphone_core_enable_ipv6 ( LinphoneCore *  lc,
bool_t  val 
)

Turns IPv6 support on or off.

Note:
IPv6 support is exclusive with IPv4 in liblinphone: when IPv6 is turned on, IPv4 calls won't be possible anymore. By default IPv6 support is off.


Generated on Fri May 21 08:30:43 2010 for liblinphone by  doxygen 1.5.8