BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::OnTransportStateParam Struct Reference

#include <endpoint.hpp>

Data Fields

TransportHandle hnd
 
string type
 
pjsip_transport_state state
 
pj_status_t lastError
 
TlsInfo tlsInfo
 

Detailed Description

Parameter of Endpoint::onTransportState() callback.

Field Documentation

◆ hnd

TransportHandle pj::OnTransportStateParam::hnd

The transport handle.

◆ type

string pj::OnTransportStateParam::type

The transport type.

◆ state

pjsip_transport_state pj::OnTransportStateParam::state

Transport current state.

◆ lastError

pj_status_t pj::OnTransportStateParam::lastError

The last error code related to the transport state.

◆ tlsInfo

TlsInfo pj::OnTransportStateParam::tlsInfo

TLS transport info, only used if transport type is TLS. Use TlsInfo.isEmpty() to check if this info is available.


The documentation for this struct was generated from the following file:

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.