WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJMEDIA Reference

pjmedia_tp_cb_param Struct Reference

#include <transport.h>

Data Fields

void * user_data
 
void * pkt
 
pj_ssize_t size
 
pj_sockaddrsrc_addr
 
pj_bool_t rem_switch
 

Detailed Description

This structure describes the data passed when calling #rtp_cb2().

Field Documentation

◆ user_data

void* pjmedia_tp_cb_param::user_data

User data.

◆ pkt

void* pjmedia_tp_cb_param::pkt

Packet buffer.

◆ size

pj_ssize_t pjmedia_tp_cb_param::size

Packet size.

◆ src_addr

pj_sockaddr* pjmedia_tp_cb_param::src_addr

Packet's source address.

◆ rem_switch

pj_bool_t pjmedia_tp_cb_param::rem_switch

Should media transport switch remote address to rtp_src_addr? Media transport should initialize it to PJ_FALSE, and application can change the value as necessary.


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

 


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