VoipStreamPacket¶
Namespace: inet
class VoipStreamPacket
Packet type used by VoIPSourceApp and VoIPSinkApp
Usage diagram¶
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
||
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
||
headerLength |
short |
from voipHeaderSize parameter |
type |
||
codec |
int |
FFmpeg identifier of the codec |
sampleBits |
short |
|
sampleRate |
int |
|
transmitBitrate |
int |
|
samplesPerPacket |
int |
|
seqNo |
uint16_t |
packet sequence number |
timeStamp |
uint32_t |
increased with every packet |
ssrc |
uint32_t |
currently unused |
dataLength |
uint16_t |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
//
// Packet type used by VoIPSourceApp and VoIPSinkApp
//
class VoipStreamPacket extends FieldsChunk
{
short headerLength = 0; // from voipHeaderSize parameter
VoipStreamPacketType type;
int codec; // FFmpeg identifier of the codec
short sampleBits;
int sampleRate;
int transmitBitrate;
int samplesPerPacket;
uint16_t seqNo; // packet sequence number
uint32_t timeStamp; // increased with every packet
uint32_t ssrc; // currently unused
uint16_t dataLength;
}