RealTimeVideoStreamingAppSegmentHeader¶
Namespace: simu5g
class RealTimeVideoStreamingAppSegmentHeader
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
class |
(no description) |
Fields¶
Name |
Type |
Description |
|---|---|---|
id |
int |
|
mutable |
bool |
|
complete |
bool |
|
correct |
bool |
|
properlyRepresented |
bool |
|
chunkLength |
b |
|
rawBin |
string[] |
|
rawHex |
string[] |
|
regionTags |
SharingRegionTagSet::TagBaseRegionTag[] |
|
type |
int |
|
headerLength |
int |
chunkLength = 4; |
payloadLength |
int |
size of the video data |
frameLength |
int |
length of the frame |
frameNumber |
unsigned long |
|
sequenceNumber |
unsigned long |
|
sessionId |
int |
|
isLastFragment |
bool |
marker to check if it is the last fragment of a frame |
isFragmented |
bool |
flag to see if the packet contains a fragment of the frame |
payloadTimestamp |
simtime_t |
|
pictureType |
uint8_t |
picture type of the frame the data in this packet belongs to. |
totalFrags |
int |
|
currentFrags |
int |
Properties¶
Name |
Value |
Description |
|---|---|---|
beforeChange |
handleChange() |
|
descriptor |
readonly |
|
existingClass |
||
packetData |
Source code¶
class RealTimeVideoStreamingAppSegmentHeader extends RealTimeVideoStreamingAppPacket
{
// chunkLength = 4;
int headerLength = 4;
int payloadLength; // size of the video data
int frameLength; // length of the frame
unsigned long frameNumber;
unsigned long sequenceNumber;
int sessionId;
bool isLastFragment = false; // marker to check if it is the last fragment of a frame
bool isFragmented = false; // flag to see if the packet contains a fragment of the frame
simtime_t payloadTimestamp;
uint8_t pictureType; // picture type of the frame the data in this packet belongs to.
int totalFrags;
int currentFrags;
}
File: src/simu5g/apps/mec/RealTimeVideoStreamingApp/packets/RTVideoStreamingPackets.msg