Packet SimpleVoIPPacket

File: src/inet/applications/voip/SimpleVoIPPacket.msg

C++ definition

Represents a voice packet used by SimpleVoIPSender / SimpleVoIPReceiver

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.

Fields:

Name Type Description
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

Source code:

//
// Represents a voice packet used by SimpleVoIPSender / SimpleVoIPReceiver 
//
packet SimpleVoIPPacket
{
    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
}