SipSdp Class Reference

#include <sipstack.h>

List of all members.


Detailed Description

Definition at line 226 of file sipstack.h.


Public Member Functions

 SipSdp (QString IP, int aPort, int vPort)
 ~SipSdp ()
void addAudioCodec (int c, QString descr, QString fmt="")
void addVideoCodec (int c, QString descr, QString fmt="")
void encode ()
const QString string ()
int length ()
QPtrList< sdpCodec > * getAudioCodecList ()
QPtrList< sdpCodec > * getVideoCodecList ()
QString getMediaIP ()
void setMediaIp (QString ip)
void setAudioPort (int p)
void setVideoPort (int p)
int getAudioPort ()
int getVideoPort ()

Private Attributes

QString thisSdp
QPtrList< sdpCodecaudioCodec
QPtrList< sdpCodecvideoCodec
int audioPort
int videoPort
QString MediaIp

Constructor & Destructor Documentation

SipSdp::SipSdp ( QString  IP,
int  aPort,
int  vPort 
)

Definition at line 884 of file sipstack.cpp.

SipSdp::~SipSdp (  ) 

Definition at line 892 of file sipstack.cpp.


Member Function Documentation

void SipSdp::addAudioCodec ( int  c,
QString  descr,
QString  fmt = "" 
)

void SipSdp::addVideoCodec ( int  c,
QString  descr,
QString  fmt = "" 
)

void SipSdp::encode (  ) 

Definition at line 917 of file sipstack.cpp.

Referenced by SipCall::addSdpToInvite(), and SipCall::BuildSdpResponse().

const QString SipSdp::string (  )  [inline]

Definition at line 234 of file sipstack.h.

Referenced by SipCall::addSdpToInvite(), and SipCall::BuildSdpResponse().

int SipSdp::length (  )  [inline]

Definition at line 235 of file sipstack.h.

QPtrList<sdpCodec>* SipSdp::getAudioCodecList (  )  [inline]

Definition at line 236 of file sipstack.h.

Referenced by SipMsg::decodeSDPMedia(), and SipCall::GetSDPInfo().

QPtrList<sdpCodec>* SipSdp::getVideoCodecList (  )  [inline]

Definition at line 237 of file sipstack.h.

Referenced by SipMsg::decodeSDPMedia(), and SipCall::GetSDPInfo().

QString SipSdp::getMediaIP (  )  [inline]

Definition at line 238 of file sipstack.h.

Referenced by SipCall::GetSDPInfo().

void SipSdp::setMediaIp ( QString  ip  )  [inline]

Definition at line 239 of file sipstack.h.

Referenced by SipMsg::decodeSDPConnection().

void SipSdp::setAudioPort ( int  p  )  [inline]

Definition at line 240 of file sipstack.h.

Referenced by SipMsg::decodeSDPMedia().

void SipSdp::setVideoPort ( int  p  )  [inline]

Definition at line 241 of file sipstack.h.

Referenced by SipMsg::decodeSDPMedia().

int SipSdp::getAudioPort (  )  [inline]

Definition at line 242 of file sipstack.h.

Referenced by SipCall::GetSDPInfo().

int SipSdp::getVideoPort (  )  [inline]

Definition at line 243 of file sipstack.h.

Referenced by SipCall::GetSDPInfo().


Member Data Documentation

QString SipSdp::thisSdp [private]

Definition at line 246 of file sipstack.h.

Referenced by encode(), length(), SipSdp(), and string().

QPtrList<sdpCodec> SipSdp::audioCodec [private]

Definition at line 247 of file sipstack.h.

Referenced by addAudioCodec(), encode(), getAudioCodecList(), and ~SipSdp().

QPtrList<sdpCodec> SipSdp::videoCodec [private]

Definition at line 248 of file sipstack.h.

Referenced by addVideoCodec(), encode(), getVideoCodecList(), and ~SipSdp().

int SipSdp::audioPort [private]

Definition at line 249 of file sipstack.h.

Referenced by encode(), getAudioPort(), setAudioPort(), and SipSdp().

int SipSdp::videoPort [private]

Definition at line 249 of file sipstack.h.

Referenced by encode(), getVideoPort(), setVideoPort(), and SipSdp().

QString SipSdp::MediaIp [private]

Definition at line 250 of file sipstack.h.

Referenced by encode(), getMediaIP(), setMediaIp(), and SipSdp().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:11 2010 for MythTV by  doxygen 1.5.5