BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJSIP Reference

pj::SrtpCrypto Struct Reference

#include <account.hpp>

Public Member Functions

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

Data Fields

string key
 
string name
 
unsigned flags
 

Detailed Description

SRTP crypto.

Member Function Documentation

◆ fromPj()

void pj::SrtpCrypto::fromPj ( const pjmedia_srtp_crypto prm)

Convert from pjsip

◆ toPj()

pjmedia_srtp_crypto pj::SrtpCrypto::toPj ( ) const

Convert to pjsip

Field Documentation

◆ key

string pj::SrtpCrypto::key

Optional key. If empty, a random key will be autogenerated.

◆ name

string pj::SrtpCrypto::name

Crypto name.

◆ flags

unsigned pj::SrtpCrypto::flags

Flags, bitmask from pjmedia_srtp_crypto_option


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.