RealTimeVideoStreamingAppSegmentHeader

Namespace simu5g

RealTimeVideoStreamingAppSegmentHeader

class

(no description)

Extends

Name Type Description
RealTimeVideoStreamingAppPacket (unknown -- not in documented files)

Fields

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

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/apps/mec/RealTimeVideoStreamingApp/packets/RTVideoStreamingPackets.msg