INET Framework for OMNeT++/OMNEST
|
#include <VoIPStreamReceiver.h>
Public Member Functions | |
Connection () | |
void | addAudioStream (enum AVCodecID codec_id) |
void | openAudio (const char *fileName) |
void | writeAudioFrame (uint8_t *buf, int len) |
void | writeLostSamples (int sampleCount) |
void | closeAudio () |
Public Attributes | |
bool | offline = true |
uint16_t | seqNo = 0 |
uint32_t | timeStamp = 0 |
uint32_t | ssrc = 0 |
enum AVCodecID | codec = AV_CODEC_ID_NONE |
short | sampleBits = 0 |
int | sampleRate = 0 |
int | samplesPerPacket = 0 |
int | transmitBitrate = 0 |
simtime_t | lastPacketFinish |
AVFormatContext * | oc = nullptr |
AVOutputFormat * | fmt = nullptr |
AVStream * | audio_st = nullptr |
AVCodecContext * | decCtx = nullptr |
AVCodec * | pCodecDec = nullptr |
AudioOutFile | outFile |
L3Address | srcAddr |
int | srcPort = -1 |
L3Address | destAddr |
int | destPort = -1 |
void inet::VoIPStreamReceiver::Connection::addAudioStream | ( | enum AVCodecID | codec_id | ) |
void inet::VoIPStreamReceiver::Connection::closeAudio | ( | ) |
void inet::VoIPStreamReceiver::Connection::openAudio | ( | const char * | fileName | ) |
Referenced by inet::VoIPStreamReceiver::createConnection().
void inet::VoIPStreamReceiver::Connection::writeAudioFrame | ( | uint8_t * | buf, |
int | len | ||
) |
Referenced by inet::VoIPStreamReceiver::decodePacket().
void inet::VoIPStreamReceiver::Connection::writeLostSamples | ( | int | sampleCount | ) |
Referenced by inet::VoIPStreamReceiver::decodePacket().
AVStream* inet::VoIPStreamReceiver::Connection::audio_st = nullptr |
enum AVCodecID inet::VoIPStreamReceiver::Connection::codec = AV_CODEC_ID_NONE |
AVCodecContext* inet::VoIPStreamReceiver::Connection::decCtx = nullptr |
L3Address inet::VoIPStreamReceiver::Connection::destAddr |
int inet::VoIPStreamReceiver::Connection::destPort = -1 |
AVOutputFormat* inet::VoIPStreamReceiver::Connection::fmt = nullptr |
simtime_t inet::VoIPStreamReceiver::Connection::lastPacketFinish |
Referenced by inet::VoIPStreamReceiver::createConnection(), and inet::VoIPStreamReceiver::decodePacket().
AVFormatContext* inet::VoIPStreamReceiver::Connection::oc = nullptr |
bool inet::VoIPStreamReceiver::Connection::offline = true |
AudioOutFile inet::VoIPStreamReceiver::Connection::outFile |
Referenced by inet::VoIPStreamReceiver::closeConnection().
AVCodec* inet::VoIPStreamReceiver::Connection::pCodecDec = nullptr |
Referenced by inet::VoIPStreamReceiver::createConnection().
short inet::VoIPStreamReceiver::Connection::sampleBits = 0 |
int inet::VoIPStreamReceiver::Connection::sampleRate = 0 |
int inet::VoIPStreamReceiver::Connection::samplesPerPacket = 0 |
uint16_t inet::VoIPStreamReceiver::Connection::seqNo = 0 |
L3Address inet::VoIPStreamReceiver::Connection::srcAddr |
int inet::VoIPStreamReceiver::Connection::srcPort = -1 |
uint32_t inet::VoIPStreamReceiver::Connection::ssrc = 0 |
uint32_t inet::VoIPStreamReceiver::Connection::timeStamp = 0 |
int inet::VoIPStreamReceiver::Connection::transmitBitrate = 0 |