BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJNATH Reference

NAT Traversal Helper Library

Modules

 ICE: Interactive Connectivity Establishment
 

Interactive Connectivity Establishment (ICE).


 STUN: Session Traversal Utilities for NAT
 

Open source STUN library.


 TURN: Traversal Using Relays around NAT
 

TURN protocol implementation.


 NAT Classification/Detection Tool
 

NAT Classification/Detection Tool.


Defines

#define PJ_TURN_INVALID_CHANNEL   0xFFFF

Functions

pj_status_t pjnath_init (void)
void pjnath_perror (const char *sender, const char *title, pj_status_t status)

Define Documentation

#define PJ_TURN_INVALID_CHANNEL   0xFFFF

This constant describes a number to be used to identify an invalid TURN channel number.


Function Documentation

pj_status_t pjnath_init ( void   ) 

Initialize pjnath library.

Returns:
Initialization status.
void pjnath_perror ( const char *  sender,
const char *  title,
pj_status_t  status 
)

Display error to the log.

Parameters:
sender The sender name.
title Title message.
status The error status.

 


PJNATH - Open Source NAT traversal helper library supporting STUN, TURN, and ICE
Copyright (C) 2006-2009 Teluu Inc.