BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJMEDIA Reference

pjmedia_sock_info Struct Reference

Data Fields

pj_sock_t rtp_sock
 
pj_sockaddr rtp_addr_name
 
pj_sock_t rtcp_sock
 
pj_sockaddr rtcp_addr_name
 

Detailed Description

Media socket info is used to describe the underlying sockets to be used as media transport.

Field Documentation

◆ rtp_sock

pj_sock_t pjmedia_sock_info::rtp_sock

The RTP socket handle

Referenced by pjmedia_transport_info_init().

◆ rtp_addr_name

pj_sockaddr pjmedia_sock_info::rtp_addr_name

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

◆ rtcp_sock

pj_sock_t pjmedia_sock_info::rtcp_sock

The RTCP socket handle.

Referenced by pjmedia_transport_info_init().

◆ rtcp_addr_name

pj_sockaddr pjmedia_sock_info::rtcp_addr_name

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


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

 


PJMEDIA small footprint Open Source media stack
Copyright (C) 2006-2008 Teluu Inc.