BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJSIP Reference

#include <call.hpp>

Public Member Functions

 StreamInfo ()
 
void fromPj (const pjsua_stream_info &info)
 

Data Fields

pjmedia_type type
 
pjmedia_tp_proto proto
 
pjmedia_dir dir
 
SocketAddress remoteRtpAddress
 
SocketAddress remoteRtcpAddress
 
unsigned txPt
 
unsigned rxPt
 
string codecName
 
unsigned codecClockRate
 
CodecParam audCodecParam
 
VidCodecParam vidCodecParam
 
int jbInit
 
int jbMinPre
 
int jbMaxPre
 
int jbMax
 
pjmedia_jb_discard_algo jbDiscardAlgo
 
bool rtcpSdesByeDisabled
 

Detailed Description

Media stream info.

Constructor & Destructor Documentation

◆ StreamInfo()

pj::StreamInfo::StreamInfo ( )
inline

Default constructor

Member Function Documentation

◆ fromPj()

void pj::StreamInfo::fromPj ( const pjsua_stream_info info)

Convert from pjsip

Field Documentation

◆ type

pjmedia_type pj::StreamInfo::type

Media type of this stream.

◆ proto

pjmedia_tp_proto pj::StreamInfo::proto

Transport protocol (RTP/AVP, etc.)

◆ dir

pjmedia_dir pj::StreamInfo::dir

Media direction.

◆ remoteRtpAddress

SocketAddress pj::StreamInfo::remoteRtpAddress

Remote RTP address

◆ remoteRtcpAddress

SocketAddress pj::StreamInfo::remoteRtcpAddress

Optional remote RTCP address

◆ txPt

unsigned pj::StreamInfo::txPt

Outgoing codec payload type.

◆ rxPt

unsigned pj::StreamInfo::rxPt

Incoming codec payload type.

◆ codecName

string pj::StreamInfo::codecName

Codec name.

◆ codecClockRate

unsigned pj::StreamInfo::codecClockRate

Codec clock rate.

◆ audCodecParam

CodecParam pj::StreamInfo::audCodecParam

Optional audio codec param.

◆ vidCodecParam

VidCodecParam pj::StreamInfo::vidCodecParam

Optional video codec param.

◆ jbInit

int pj::StreamInfo::jbInit

Jitter buffer init delay in msec.

◆ jbMinPre

int pj::StreamInfo::jbMinPre

Jitter buffer minimum prefetch delay in msec.

◆ jbMaxPre

int pj::StreamInfo::jbMaxPre

Jitter buffer maximum prefetch delay in msec.

◆ jbMax

int pj::StreamInfo::jbMax

Jitter buffer max delay in msec.

◆ jbDiscardAlgo

pjmedia_jb_discard_algo pj::StreamInfo::jbDiscardAlgo

Jitter buffer discard algorithm.

◆ rtcpSdesByeDisabled

bool pj::StreamInfo::rtcpSdesByeDisabled

Disable automatic sending of RTCP SDES and BYE.


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.