am_network.h File Reference

amsip network API More...

#include <ortp/stun_udp.h>
#include <ortp/stun.h>
#include <mediastreamer2/ice.h>


int am_network_guess_ip (int family, char *address, int size)
int am_network_masquerade (const char *ip, int port)
int am_network_start (const char *transport, int port)
int am_network_connection_tests (struct stun_test *stuntest, char *stun_server, int srcport)
int am_network_add_local_candidates (struct SdpCandidate *_candidates, int srcport)
int am_network_add_stun_candidates (struct SdpCandidate *candidates, struct SdpCandidate *localcandidates, char *stun_server, int srcport)
int am_network_add_turn_candidates (struct SdpCandidate *candidates, char *turn_server, int srcport)
int am_network_add_relay_candidates (struct SdpCandidate *candidates, char *relay_server, int srcport)
char * am_network_test_nat (const char *stun_server, int port, const char *proxy)
char * am_network_get_nat_info (const char *stun_server, int srcport)
int am_network_get_nat (char *stun_server, int srcport)

Detailed Description

amsip network API

This file provide the API needed to control network.

Generated on Tue Jun 16 19:18:37 2009 for libamsip by  doxygen 1.5.9