15 #ifndef _SourceDescription_h 16 #define _SourceDescription_h 52 public ISetSrcDescription,
54 public IGetSrcDescription
90 unsigned char *puchName=NULL,
260 unsigned long *pulFieldType,
261 unsigned char *puchFieldBuffer);
327 bool SetName(
unsigned char *puchCName,
unsigned long ulLength=0);
352 unsigned long GetName(
unsigned char *puchName);
376 bool SetEmail(
unsigned char *puchEmail,
unsigned long ulLength=0);
400 unsigned long GetEmail(
unsigned char *puchEmail);
424 bool SetPhone(
unsigned char *puchPhone,
unsigned long ulLength=0);
448 unsigned long GetPhone(
unsigned char *puchPhone);
473 bool SetAppName(
unsigned char *puchAppName,
unsigned long ulLength=0);
497 unsigned long GetAppName(
unsigned char *puchAppName);
523 bool SetLocation(
unsigned char *puchLocation,
unsigned long ulLength=0);
547 unsigned long GetLocation(
unsigned char *puchLocation);
571 bool SetNotes(
unsigned char *puchNotes,
unsigned long ulLength=0);
595 unsigned long GetNotes(
unsigned char *puchNotes);
618 bool SetPrivate(
unsigned char *puchPrivate,
unsigned long ulLength=0);
642 unsigned long GetPrivate(
unsigned char *puchNotes);
759 unsigned char *puchReportBuffer);
813 bool SetCName(
unsigned char *puchCName,
unsigned long ulLength=0);
837 unsigned long GetCName(
unsigned char *puchCName);
1257 return((ISDESReport *)
this);
1283 return((IGetSrcDescription *)
this);
unsigned long GetCName(unsigned char *puchCName)
CSourceDescription(ssrc_t ulSSRC=0, unsigned char *puchName=NULL, unsigned char *puchEmail=NULL, unsigned char *puchPhone=NULL, unsigned char *puchLocation=NULL, unsigned char *puchAppName=NULL, unsigned char *puchNotes=NULL, unsigned char *puchPrivate=NULL)
unsigned long m_ulEmailLength
Definition: SourceDescription.h:1086
interface unsigned long ulBufferSize
Definition: INetworkSource.h:54
unsigned long m_ulPrivateLength
Definition: SourceDescription.h:1197
unsigned char m_uchAppName[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1142
interface unsigned char unsigned char unsigned char unsigned char unsigned char unsigned char * puchPrivate
Definition: ISetSrcDescription.h:75
unsigned long m_ulNotesLength
Definition: SourceDescription.h:1175
unsigned long m_ulLocationLength
Definition: SourceDescription.h:1153
unsigned long TerminateNPad(unsigned char *puchReportBuffer, bool *pbPadded)
unsigned long GetEmail(unsigned char *puchEmail)
static CSourceDescription * GetLocalSDES(void)
unsigned char m_uchLocation[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1164
unsigned long GetPhone(unsigned char *puchPhone)
unsigned long FormatSDESReport(bool bHeader, long lContentMask, unsigned char *puchReportBuffer, unsigned long ulBufferSize)
static CSourceDescription * m_spoLocalSDES
Definition: SourceDescription.h:991
unsigned long m_ulAppNameLength
Definition: SourceDescription.h:1131
unsigned char m_uchNotes[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1186
unsigned char m_uchEmail[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1097
bool SetPrivate(unsigned char *puchPrivate, unsigned long ulLength=0)
ISDESReport * GetSDESInterface(void)
Definition: SourceDescription.h:1254
unsigned char m_uchCName[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1052
unsigned long m_ulContentMask
Definition: SourceDescription.h:1015
bool SetEmail(unsigned char *puchEmail, unsigned long ulLength=0)
bool SetName(unsigned char *puchCName, unsigned long ulLength=0)
unsigned long m_ulPhoneLength
Definition: SourceDescription.h:1109
bool SetNotes(unsigned char *puchNotes, unsigned long ulLength=0)
unsigned long GetPrivate(unsigned char *puchNotes)
unsigned long m_ulNameLength
Definition: SourceDescription.h:1063
#define ADD_RELEASE_CALL_ARGS(x)
Definition: RtcpConfig.h:74
unsigned long GetLocation(unsigned char *puchLocation)
void SetAllComponents(unsigned char *puchName=NULL, unsigned char *puchEmail=NULL, unsigned char *puchPhone=NULL, unsigned char *puchLocation=NULL, unsigned char *puchAppName=NULL, unsigned char *puchNotes=NULL, unsigned char *puchPrivate=NULL)
unsigned long m_ulCNameLength
Definition: SourceDescription.h:1040
virtual ssrc_t GetSSRC(void)
Definition: SourceDescription.h:1306
unsigned long GetAppName(unsigned char *puchAppName)
void GetAllComponents(unsigned char *puchName, unsigned char *puchEmail, unsigned char *puchPhone, unsigned char *puchLocation, unsigned char *puchAppName, unsigned char *puchNotes, unsigned char *puchPrivate)
interface long unsigned char * puchReportBuffer
Definition: ISDESReport.h:79
unsigned char m_uchPrivate[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1208
unsigned long ParseSDESReport(bool bHeader, unsigned char *puchReportBuffer)
unsigned long GetNotes(unsigned char *puchNotes)
interface unsigned char unsigned char unsigned char unsigned char * puchAppName
Definition: ISetSrcDescription.h:73
unsigned char m_uchPhone[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1120
#define DECLARE_IBASE_M
Definition: BaseClass.h:368
interface long lContentMask
Definition: ISDESReport.h:79
bool SetLocation(unsigned char *puchLocation, unsigned long ulLength=0)
unsigned long LoadFieldChanges(unsigned char *puchReportBuffer)
unsigned char m_uchName[MAX_SOURCE_LENGTH]
Definition: SourceDescription.h:1074
bool SetPhone(unsigned char *puchPhone, unsigned long ulLength=0)
uint32_t ssrc_t
Definition: RtcpConfig.h:62
bool FormulateCName(void)
unsigned long GetName(unsigned char *puchName)
interface unsigned char * puchEmail
Definition: ISetSrcDescription.h:70
Definition: BaseClass.h:118
IGetSrcDescription * GetAccessInterface(void)
Definition: SourceDescription.h:1279
unsigned long ExtractPadding(unsigned char *puchReportBuffer)
unsigned long ExtractFieldInfo(unsigned char *puchReportBuffer)
interface unsigned char unsigned char unsigned char * puchLocation
Definition: ISetSrcDescription.h:72
Definition: SourceDescription.h:48
interface unsigned char unsigned char unsigned char unsigned char unsigned char * puchNotes
Definition: ISetSrcDescription.h:74
bool SetCName(unsigned char *puchCName, unsigned long ulLength=0)
unsigned long GetChanges(void)
Definition: SourceDescription.h:1231
interface unsigned char unsigned char * puchPhone
Definition: ISetSrcDescription.h:71
unsigned long GetFieldChange(unsigned long ulChangeMask, unsigned long *pulFieldType, unsigned char *puchFieldBuffer)
bool SetAppName(unsigned char *puchAppName, unsigned long ulLength=0)
virtual void SetSSRC(ssrc_t ulSSRC)
~CSourceDescription(void)
bool m_bCNameSet
Definition: SourceDescription.h:1003
unsigned long LoadFieldInfo(unsigned char *puchReportBuffer, long lContentMask)
unsigned long m_ulChangeMask
Definition: SourceDescription.h:1029