Namespace inet
VoipStreamPacket
classPacket type used by VoIPSourceApp and VoIPSinkApp
Extends
| Name | Type | Description |
|---|---|---|
| FieldsChunk | (unknown -- not in documented files) |
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 |
Packet operations (observed)
| action | module |
|---|---|
| insertAtFront | VoipStreamSender |
| peekAtFront | VoipStreamReceiver |
| popAtFront | VoipStreamReceiver |
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