BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

#include <call.hpp>

Public Member Functions

void fromPj (const pjmedia_transport_info &info)
 

Data Fields

SocketAddress localRtpName
 
SocketAddress localRtcpName
 
SocketAddress srcRtpName
 
SocketAddress srcRtcpName
 

Detailed Description

This structure describes media transport informations. It corresponds to the pjmedia_transport_info structure. The address name field can be empty string if the address in the pjmedia_transport_info is invalid.

Member Function Documentation

◆ fromPj()

void pj::MediaTransportInfo::fromPj ( const pjmedia_transport_info info)

Convert from pjsip

Field Documentation

◆ localRtpName

SocketAddress pj::MediaTransportInfo::localRtpName

Address to be advertised as the local address for the RTP socket, which does not need to be equal as the bound address (for example, this address can be the address resolved with STUN).

◆ localRtcpName

SocketAddress pj::MediaTransportInfo::localRtcpName

Address to be advertised as the local address for the RTCP socket, which does not need to be equal as the bound address (for example, this address can be the address resolved with STUN).

◆ srcRtpName

SocketAddress pj::MediaTransportInfo::srcRtpName

Remote address where RTP originated from. This can be empty string if no data is received from the remote.

◆ srcRtcpName

SocketAddress pj::MediaTransportInfo::srcRtcpName

Remote address where RTCP originated from. This can be empty string if no data is recevied from the remote.


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.