Packet VoIPStreamPacket

File: src/inet/applications/voipstream/VoIPStreamPacket.msg

Packet 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.

Fields:

Name Type Description
type int
codec int

FFmpeg identifier of the codec

sampleBits short
sampleRate int
transmitBitrate int
samplesPerPacket int
bytes ByteArray
seqNo uint16_t

packet sequence number

timeStamp uint32_t

increased with every packet

ssrc uint32_t

currently unused

Source code:

//
// Packet type used by VoIPSourceApp and VoIPSinkApp
//
packet VoIPStreamPacket
{
    int type @enum(VoIPStreamPacketType);

    int codec;  // FFmpeg identifier of the codec
    short sampleBits;
    int sampleRate;
    int transmitBitrate;
    int samplesPerPacket;
    ByteArray bytes;

    uint16_t seqNo; // packet sequence number
    uint32_t timeStamp; // increased with every packet
    uint32_t ssrc;  // currently unused
}