BLOG | DOCUMENTATION | GITHUB

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.
 

Macros

#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)
 

Detailed Description

Macro Definition Documentation

◆ PJ_TURN_INVALID_CHANNEL

#define PJ_TURN_INVALID_CHANNEL   0xFFFF

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

Function Documentation

◆ pjnath_init()

pj_status_t pjnath_init ( void  )

Initialize pjnath library.

Returns
Initialization status.

◆ pjnath_perror()

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

Display error to the log.

Parameters
senderThe sender name.
titleTitle message.
statusThe error status.

References PJ_END_DECL.

 


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