NED File src/inet/transportlayer/rtp/Rtcp.ned
Name | Type | Description |
---|---|---|
Rtcp | simple module |
RTCP end system. |
Source code
// // Copyright (C) Opensim Ltd. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program; if not, see <http://www.gnu.org/licenses/>. // package inet.transportlayer.rtp; // // 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); }