RTP Audio System
2.0.0
|
Audio Server. More...
#include <audioserver.h>
AudioServer::AudioServer | ( | QoSManagerInterface * | qosManager = NULL , |
const cardinal | maxPacketSize = 1500 , |
||
const bool | useSCTP = false |
||
) |
Constructor for new AudioServer.
qosManager | QoS manager. |
maxPacketSize | Maximum packet size. |
useSCTP | true to use SCTP instead of UDP; false otherwise. |
Destructor.
void AudioServer::appMessage | ( | RTCPAbstractServer::Client * | client, |
const char * | name, | ||
void * | data, | ||
const cardinal | dataLength | ||
) | [virtual] |
appMessage() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
bool AudioServer::checkClient | ( | RTCPAbstractServer::Client * | client | ) | [virtual] |
checkClient() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
void AudioServer::deleteClient | ( | RTCPAbstractServer::Client * | client, |
const DeleteReason | reason | ||
) | [virtual] |
deleteClient() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
bool AudioServer::getLossScalability | ( | ) | const [inline] |
Get loss scalibility setting.
cardinal AudioServer::getMaxPacketSize | ( | ) | const [inline] |
Get maximum packet size.
card32 AudioServer::getOurSSRC | ( | ) | const |
Get client SSRC.
void AudioServer::managementUpdate | ( | RTCPAbstractServer::Client * | client, |
User * | user | ||
) |
Update QoS/congestion management.
client | Client to do congestion for. |
user | User data. |
void * AudioServer::newClient | ( | RTCPAbstractServer::Client * | client, |
const char * | cname | ||
) | [virtual] |
newClient() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
void AudioServer::outOfMemoryWarning | ( | ) | [virtual] |
outOfMemoryWarning() implementation of RTCPAbstractServer.
Reimplemented from RTCPAbstractServer.
void AudioServer::receiverReport | ( | RTCPAbstractServer::Client * | client, |
RTCPReceptionReportBlock * | report, | ||
const cardinal | layer | ||
) | [virtual] |
receiverReport() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
void AudioServer::sdesMessage | ( | RTCPAbstractServer::Client * | client, |
const card8 | type, | ||
char * | data, | ||
const cardinal | length | ||
) | [virtual] |
sdesMessage() implementation of RTCPAbstractServer.
Implements RTCPAbstractServer.
void AudioServer::setLossScalability | ( | const bool | on | ) | [inline] |
Set loss scalibility setting.
on | true, if to set loss scalability on; false otherwise. |
cardinal AudioServer::setMaxPacketSize | ( | const cardinal | size | ) | [inline] |
Set maximum packet size.
size | Maximum packet size. |
void AudioServer::userCommand | ( | RTCPAbstractServer::Client * | client, |
User * | user, | ||
AudioClientAppPacket * | app | ||
) |
Execute commands given in AudioClientAppPacket.
client | Client. |
user | User. |
app | AudioClientApp message. |
bool AudioServer::LossScalability [private] |
cardinal AudioServer::MaxPacketSize [private] |
card32 AudioServer::OurSSRC [private] |
QoSManagerInterface* AudioServer::QoSMgr [private] |
std::multimap<const cardinal,User*> AudioServer::UserSet [private] |
Synchronizable AudioServer::UserSetSync [private] |
bool AudioServer::UseSCTP [private] |