Package: inet.transportlayer.rtp
Rtcp
simple moduleRTCP end system.
Used in compound modules
| Name | Type | Description |
|---|---|---|
| RtpHost | compound module | (no description) |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| interfaceTableModule | string |
The path to the InterfaceTable module |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/control |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| rtpIn | input | ||
| udpIn | input | ||
| rtpOut | output | ||
| udpOut | output |
Signals
| Name | Type | Unit |
|---|---|---|
| packetReceived | cPacket |
Statistics
| Name | Title | Source | Record | Unit | Interpolation Mode |
|---|---|---|---|---|---|
| packetReceived | packets received | packetReceived | count, sum(packetBytes), vector(packetBytes) | none | |
| endToEndDelay | end-to-end delay | dataAge(packetReceived) | histogram, vector | s | none |
Scheduled messages (observed)
| msg | kind | ctrl | tags | msgname | context |
|---|---|---|---|---|---|
| omnetpp::cMessage | 0 | Interval |
Direct method calls (observed)
| call to | function | info |
|---|---|---|
| MessageDispatcher | inet::MessageDispatcher::arrived | arrived |
Incoming messages (observed)
| gate | msg | kind | ctrl | srcModule | tags |
|---|---|---|---|---|---|
| rtpIn | RtpInnerPacket | 0 | Rtp | ||
| udpIn | Packet | 0 (UdpStatusInd::UDP_I_DATA) | Udp | DscpInd, EcnInd, HopLimitInd, InterfaceInd, L3AddressInd, L4PortInd, NetworkProtocolInd, SocketInd, TosInd, TransportProtocolInd |
Outgoing messages (observed)
| gate | msg | kind | ctrl | destModule | tags |
|---|---|---|---|---|---|
| rtpOut | RtpInnerPacket | 0 | Rtp | ||
| udpOut | Packet | 0 (UdpCommandCode::UDP_C_DATA) | Udp | DispatchProtocolReq, L3AddressReq, L4PortReq, SocketReq | |
| udpOut | Request | 1 (UdpCommandCode::UDP_C_BIND) | UdpBindCommand | Udp | DispatchProtocolReq, SocketReq |
| udpOut | Request | 3 (UdpCommandCode::UDP_C_SETOPTION) | UdpJoinMulticastGroupsCommand | Udp | DispatchProtocolReq, SocketReq |
Packet operations (observed)
| chunkType | packetAction |
|---|---|
| peekData | |
| RtcpByePacket | insertAtBack |
| RtcpPacket | popAtFront |
| RtcpReceiverReportPacket | insertAtBack |
| RtcpSdesPacket | insertAtBack |
| RtcpSenderReportPacket | insertAtBack |
| RtpHeader | peekAtFront |
Shared Tagging operations (observed)
| tagType | tagAction |
|---|---|
| DispatchProtocolReq | addTagIfAbsent |
| L3AddressReq | addTagIfAbsent |
| L4PortReq | addTagIfAbsent |
| SocketReq | addTagIfAbsent |
Region Tagging operations (observed)
| tagType | tagAction |
|---|---|
| CreationTimeTag | getAllTags |
Tagging operations (observed)
| tagType | tagAction |
|---|---|
| inet::Ipv4InterfaceData | findTag |
Source code
// // RTCP end system. // simple Rtcp { parameters: string interfaceTableModule; // The path to the InterfaceTable module @display("i=block/control"); @signal[packetReceived](type=cPacket); @statistic[packetReceived](title="packets received"; source=packetReceived; record=count,"sum(packetBytes)","vector(packetBytes)"; interpolationmode=none); @statistic[endToEndDelay](title="end-to-end delay"; source="dataAge(packetReceived)"; unit=s; record=histogram,vector; interpolationmode=none); gates: input rtpIn @labels(RtpInnerPacket); input udpIn @labels(UdpControlInfo/up); output rtpOut @labels(RtpInnerPacket); output udpOut @labels(UdpControlInfo/down); }File: src/inet/transportlayer/rtp/Rtcp.ned