#include <RTPAVProfileSampleBasedAudioReceiver.h>
Inheritance diagram for RTPAVProfileSampleBasedAudioReceiver:
Protected Member Functions | |
virtual void | processPacket (RTPPacket *packet) |
virtual void | openOutputFile (const char *fileName) |
virtual void | closeOutputFile () |
virtual void | insertSilence (simtime_t duration) |
Protected Attributes | |
AFfilehandle | _audioFile |
AFfilesetup | _fileSetup |
int | _samplingRate |
int | _sampleWidth |
int | _numberOfChannels |
|
Closes the output file stream. Reimplemented from RTPPayloadReceiver. |
|
When packets arrival late or have been lost, this method can be called to insert a silence period. It must be overwritten because in different audio formats different values for silence exist. Reimplemented in RTPAVProfilePayload10Receiver. |
|
This method is called by initialize and opens the output file stream. For most payload receivers this method works well, only when using a library for a payload type which provides an own open method it must be overwritten. Reimplemented from RTPPayloadReceiver. |
|
Writes contents of this RTPPacket into the output file. Must be overwritten by subclasses. Reimplemented from RTPPayloadReceiver. |
|
|
|
|
|
|
|
|
|
|