libamsip  5.2.1
Functions
am_network.h File Reference

amsip network API More...

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

Functions

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 *unusedparameter, int srcport)
 
int am_network_add_turn_candidates (struct SdpCandidate *candidates, char *unusedparameter, 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)
 
int am_network_get_stun_socket (const char *stun_server, int srcport, char *firewall, int *port)
 

Detailed Description

amsip network API

This file provide the API needed to control network.