BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

#include <siptypes.hpp>

Public Member Functions

void fromPj (const pjsip_media_type &prm)
 
pjsip_media_type toPj () const
 

Data Fields

string type
 
string subType
 

Detailed Description

SIP media type containing type and subtype. For example, for "application/sdp", the type is "application" and the subtype is "sdp".

Member Function Documentation

◆ fromPj()

void pj::SipMediaType::fromPj ( const pjsip_media_type prm)

Construct from PJSIP's pjsip_media_type

◆ toPj()

pjsip_media_type pj::SipMediaType::toPj ( ) const

Convert to PJSIP's pjsip_media_type.

Field Documentation

◆ type

string pj::SipMediaType::type

Media type.

◆ subType

string pj::SipMediaType::subType

Media subtype.


The documentation for this struct was generated from the following file:
  • siptypes.hpp

 


PJSIP Open Source, high performance, small footprint, and very very portable SIP stack
Copyright (C) 2006-2008 Teluu Inc.