BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::OnCreateMediaTransportParam Struct Reference

#include <call.hpp>

Data Fields

unsigned mediaIdx
 
MediaTransport mediaTp
 
unsigned flags
 

Detailed Description

This structure contains parameters for Call::onCreateMediaTransport() callback.

Field Documentation

◆ mediaIdx

unsigned pj::OnCreateMediaTransportParam::mediaIdx

The media index in the SDP for which this media transport will be used.

◆ mediaTp

MediaTransport pj::OnCreateMediaTransportParam::mediaTp

The media transport which otherwise will be used by the call has this callback not been implemented. Application can change this to its own instance of media transport to be used by the call.

◆ flags

unsigned pj::OnCreateMediaTransportParam::flags

Bitmask from pjsua_create_media_transport_flag.


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.