SimpleVoipPacket
classRepresents a voice packet used by SimpleVoipSender / SimpleVoipReceiver
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 |
---|---|---|
totalLengthField | uint16_t |
length of total SimpleVoipPacket in bytes |
talkspurtID | unsigned int |
identifies the talkspurt |
talkspurtNumPackets | unsigned int |
number of all packets of current talkspurt |
packetID | unsigned int |
0..talkspurtNumPackets-1 |
voipTimestamp | simtime_t |
"mouth" timestamp of begin of voice in this packet |
voiceDuration | simtime_t |
duration of voice in this packet |
mutable | bool | |
complete | bool | |
correct | bool | |
properlyRepresented | bool | |
chunkLength | b | |
rawBin | string[] | |
rawHex | string[] | |
tags | RegionTagSet::cObjectRegionTag[] |
Source code
// // Represents a voice packet used by SimpleVoipSender / SimpleVoipReceiver // class SimpleVoipPacket extends FieldsChunk { uint16_t totalLengthField; // length of total SimpleVoipPacket in bytes unsigned int talkspurtID; // identifies the talkspurt unsigned int talkspurtNumPackets; // number of all packets of current talkspurt unsigned int packetID; // 0..talkspurtNumPackets-1 simtime_t voipTimestamp; // "mouth" timestamp of begin of voice in this packet simtime_t voiceDuration; // duration of voice in this packet }File: src/inet/applications/voip/SimpleVoipPacket.msg