BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

pj::MediaEvent Struct Reference

#include <media.hpp>

Public Member Functions

 MediaEvent ()
 
void fromPj (const pjmedia_event &ev)
 

Data Fields

pjmedia_event_type type
 
MediaEventData data
 
void * pjMediaEvent
 

Detailed Description

This structure describes a media event. It corresponds to the pjmedia_event structure.

Constructor & Destructor Documentation

◆ MediaEvent()

pj::MediaEvent::MediaEvent ( )
inline

Default constructor

Member Function Documentation

◆ fromPj()

void pj::MediaEvent::fromPj ( const pjmedia_event ev)

Convert from pjsip

Field Documentation

◆ type

pjmedia_event_type pj::MediaEvent::type

The event type.

◆ data

MediaEventData pj::MediaEvent::data

Additional data/parameters about the event. The type of data will be specific to the event type being reported.

◆ pjMediaEvent

void* pj::MediaEvent::pjMediaEvent

Pointer to original pjmedia_event. Only valid when the struct is converted from PJSIP's pjmedia_event.


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.