VoipStreamPacket
classPacket type used by VoIPSourceApp and VoIPSinkApp
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
FieldsChunk | class | (no description) |
Fields
Name | Type | Description |
---|---|---|
headerLength | short |
from voipHeaderSize parameter |
type | VoipStreamPacketType | |
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 | |
mutable | bool | |
complete | bool | |
correct | bool | |
properlyRepresented | bool | |
chunkLength | b | |
rawBin | string[] | |
rawHex | string[] | |
tags | RegionTagSet::cObjectRegionTag[] |
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; }File: src/inet/applications/voipstream/VoipStreamPacket.msg