Skip to content

cesar-ilharco/rmcat_evaluation

Repository files navigation

rmcat_evaluation

RMCAT Simulation Framework in Python


INTRODUCTION:

Real-time transport protocol Media Congestion Avoidance Techniques (RMCAT) is an effort from IETF:
https://datatracker.ietf.org/wg/rmcat/charter/

RMCAT have set a milestone to submit a RTC congestion control algorithm to IESG for Proposed Standard, in October 2016.

A RMCAT simulation framework is implemented in C++ in the Chromium WebRTC repository:
https://chromium.googlesource.com/?format=HTML


OBJECTIVES:

This repository provides a python RMCAT simulation framework that is easy to read, modify and run. With this framework you can test a congestion control algorithm without building the Chromium repository. While this repository is by no means intended to replace the Chromium WebRTC simulation framework, it can facilitate testing for new congestion control algorithms and modifications of the existing ones.


ABOUT:

A Packet Creator generates packets, with a pace determined by the sending bitrate and the packet size.
A Link Simulator computes the arrival time for a packet based on its send time, its payload size, the one way path delay (minimum end-to-end trip time), the link capacity and a randomized jitter, modeled as a truncated right sided Gaussian distribution. Moreover, a limited bottleneck queuing size will trigger packet loss whenever the queuing time goes above the limit.

Network-Assisted Dynamic Adaptation (NADA) is a congestion control algorithm for real-time media applications. It is implemented in this repository according to: https://tools.ietf.org/html/draft-zhu-rmcat-nada-06 (Work in progress)

A modified operation mode is implemented as an attempt to improve its performance.

NADA was also implemented in the Chromium WebRTC simulation framework:
https://chromium.googlesource.com/external/webrtc/+/master/webrtc/modules/remote_bitrate_estimator/test/estimators/nada.h


HOW TO USE:

Calling main.py will execute the RMCAT Evaluation test 5.1, available on:
https://tools.ietf.org/html/draft-ietf-rmcat-eval-test-02#section-5.1

The following optional parameters are accepted, regardless their order.
--modified_sender | -ms for modified sender operation mode.
--modified_filter | -mf to use min filter on NADA receiver.
--jitter_intensity | -j v with v in {0, 1, 2}

Compatible with python 2.7 and 3.5

e.g. python3 main.py -ms -mf -j 2


RTC : Real Time Communication
RTP : Real-time Transport Protocol
RMCAT : RTP Media Congestion Avoidance Techniques
IETF : Internet Engineering Task Force
IESG : Internet Engineering Steering Group
NADA : Network-Assisted Dynamic Adaptation

About

RMCAT Simulation Framework in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages