MecRTVideoStreamingReceiver¶
Package: simu5g.apps.mec.RealTimeVideoStreamingApp
simple module MecRTVideoStreamingReceiver
Application that is dynamically instantiated on a MEC host upon request from a RtVideoStreamingSender application via a DeviceApp. It receives video frames sent by the UE and simulates a playout buffer. Moreover, it records statistics related to the quality of the received video stream. Note that the statistics are collected by the RtVideoStreamingSender application at the UE side.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
This is a MEC app that … TBC |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
mecAppId |
int |
||
mecAppIndex |
int |
||
mp1Address |
string |
“” |
|
mp1Port |
int |
10021 |
|
vimModule |
string |
“^.vim” |
Module references |
mecPlatformModule |
string |
“^.mecPlatform” |
|
serviceRegistryModule |
string |
“^.mecPlatform.serviceRegistry” |
|
requiredRam |
double |
Required resources |
|
requiredDisk |
double |
||
requiredCpu |
double |
||
timeToLive |
int |
-1 |
If not -1, set the TTL (IPv4) or Hop Limit (IPv6) field of sent packets to this value |
dscp |
int |
-1 |
If not -1, set the DSCP (IPv4/IPv6) field of sent packets to this value |
tos |
int |
-1 |
If not -1, set the Type of Service (IPv4) / Traffic Class (IPv6) field of sent packets to this value |
packetSize |
int |
10B |
|
localUePort |
int |
||
initialPlayoutDelay |
double |
150ms |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
MecRTVideoStreamingReceiver |
|
display |
i=block/app;is=s |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
mePlatformIn |
input |
||
mePlatformOut |
output |
||
socketIn |
input |
||
socketOut |
output |
Source code¶
//
// Application that is dynamically instantiated on a MEC host upon request
// from a ~RtVideoStreamingSender application via a ~DeviceApp.
// It receives video frames sent by the UE and simulates a playout buffer. Moreover, it records
// statistics related to the quality of the received video stream. Note that the statistics are
// collected by the ~RtVideoStreamingSender application at the UE side.
//
simple MecRTVideoStreamingReceiver extends MecAppBase
{
parameters:
@class(MecRTVideoStreamingReceiver);
@display("i=block/app;is=s");
int packetSize @unit(B) = default(10B);
int localUePort;
double initialPlayoutDelay @unit(s) = 150ms;
}
File: src/simu5g/apps/mec/RealTimeVideoStreamingApp/MecRTVideoStreamingReceiver.ned