(Video Settings)
(Video Settings)
Riga 52: Riga 52:
 
In order to fed Chromium browser with this video sequence difference approaches can be used.
 
In order to fed Chromium browser with this video sequence difference approaches can be used.
 
#The Linux kernel module [https://github.com/umlaeute/v4l2loopback v4l2loopback] can be used to create a virtual webcam device which cyclically repeats the video test sequence.  
 
#The Linux kernel module [https://github.com/umlaeute/v4l2loopback v4l2loopback] can be used to create a virtual webcam device which cyclically repeats the video test sequence.  
 
+
#The  video test sequence can be directly fed to Chromium using the flag ''--use-file-for-fake-video-capture''. Other useful flags for testing are available here:
https://webrtc.org/testing/
+
*https://webrtc.org/testing/
  
 
Chromium encodes the raw video source with the VP8/9  video encoder. The implementation of H264/5 is not ready yet. The video encoder limits the dynamics of sending bitrate in the range [50,2000]kbps.
 
Chromium encodes the raw video source with the VP8/9  video encoder. The implementation of H264/5 is not ready yet. The video encoder limits the dynamics of sending bitrate in the range [50,2000]kbps.
  
 
== TCP Settings ==
 
== TCP Settings ==

Revisione 16:03, 31 Mag 2016

Experimental settings employed to evaluate the Google Congestion Control for WebRTC

This web page provides the guideline and some scripts required to reproduce the experiments to evaluate the Google Congestion Control (GCC) for WebRTC. It can be used to reproduce the results obtained in the papers published in the context of the Google Faculty Research Award 2014 reported here.

Figure 1 shows an example of the experimental testbed topology. Two nodes, connected through an Ethernet cable, are used to run instances of the Chromium browsers, where GCC is installed, to generate WebRTC traffic and IPerf-like applications to generate concurrent TCP traffic. The experiments are orchestrated by the Controller that sends ssh commands to automatically start the WebRTC calls, start the TCP traffic and set the bottleneck parameters.

Experimental Testbed
Figure 1: Experimental Testbed Example

WAN Link Emulation

This repository contains the scripts used to emulate a WAN bottleneck link which in Figure 1 is shown on Node 1:

The bottleneck link queue can be governed by Drop Tail queue, AQM algorithms or flow queuing schedulers.These scripts employ iproute2 package and the NetEm Linux module. With tc “traffic control” is possible to set the queuing discipline, limit the link capacity and much more. The NetEm linux module can be employed to set the propagation delay.

Chromium Settings

The Google Congestion Control algorithm is implemented in Google Chrome browser which is daily updated. To carry out the experimental investigation with the version of GCC according to the results that the reader wants to reproduce, we recommend to Download and Compile the open source Chromium browser:

The reader can work with the appropriate release version number since they are tagged in the git repository.

Google Congestion Control Settings

The implementation of the GCC can be found in two main directories of the git repository:

1. Remote Bitrate Estimator
This directory contains the delay-based controller implementation in the form of three main classes:
1. Over Use Detector: (overuse_estimator.cc) which estimates the one-way delay variation between the incoming packets with a Kalman filter;
2. Over Use Estimator: (overuse_detector.cc) which compares the one way delay variation with a threshold and generates a signal that reports the status of the network (over-used, normal, under-used);
3. Rate Control: (aimd_rate_control.cc) which uses this signal to drive a finite state machine that computes the sending bitrate
2. Bitrate Controller
This directory contains the loss-based controller implementation:
1. Bandwidth Estimation: (send_side_bandwidth_estimation.cc) which computes the sending bitrate based on the fraction loss reported in RTCP packets

Relevant metrics , such as sending bitrate, RTT, packets losses, can be measured by employing different approaches. Here we cite some:

  1. Extracting the matrics in the form of traces from the Chromium source code after re-compilation. For example video bitrate can be extracted here.
  2. Using the Javascript getstats() API. An example is provided here. This approach does not require re-compilation.
  3. Using linux tool. For example tcpdump to measure the sending bitrate, ping to measure the RTT. This guideline instead explains how to use wireshark to capture and analyze the RTP stream.

Web Server Settings

In order to establish WebRTC calls among the Chromium browsers running on Nodes of Figure 1, a Web server is required. In particular the Web server provides the HTML pages that handles the signaling between the peers using the WebRTC JavaScript API.

To this purpose we have used the video chat demo app which can be installed locally following this guide:

Video Settings

The same video sequence is used to enforce experiments reproducibility. We have used “Four People” 7 YUV test sequence which can be found here:

In order to fed Chromium browser with this video sequence difference approaches can be used.

  1. The Linux kernel module v4l2loopback can be used to create a virtual webcam device which cyclically repeats the video test sequence.
  2. The video test sequence can be directly fed to Chromium using the flag --use-file-for-fake-video-capture. Other useful flags for testing are available here:

Chromium encodes the raw video source with the VP8/9 video encoder. The implementation of H264/5 is not ready yet. The video encoder limits the dynamics of sending bitrate in the range [50,2000]kbps.

TCP Settings

Experimental settings employed to evaluate the Google Congestion Control for WebRTC[edit]

This web page provides the guideline and some scripts required to reproduce the experiments to evaluate the Google Congestion Control (GCC) for WebRTC. It can be used to reproduce the results obtained in the papers published in the context of the Google Faculty Research Award 2014 reported here.

Figure 1 shows an example of the experimental testbed topology. Two nodes, connected through an Ethernet cable, are used to run instances of the Chromium browsers, where GCC is installed, to generate WebRTC traffic and IPerf-like applications to generate concurrent TCP traffic. The experiments are orchestrated by the Controller that sends ssh commands to automatically start the WebRTC calls, start the TCP traffic and set the bottleneck parameters.

Experimental Testbed
Figure 1: Experimental Testbed Example

WAN Link Emulation[edit]

This repository contains the scripts used to emulate a WAN bottleneck link which in Figure 1 is shown on Node 1:

The bottleneck link queue can be governed by Drop Tail queue, AQM algorithms or flow queuing schedulers.These scripts employ iproute2 package and the NetEm Linux module. With tc “traffic control” is possible to set the queuing discipline, limit the link capacity and much more. The NetEm linux module can be employed to set the propagation delay.

Chromium Settings[edit]

The Google Congestion Control algorithm is implemented in Google Chrome browser which is daily updated. To carry out the experimental investigation with the version of GCC according to the results that the reader wants to reproduce, we recommend to Download and Compile the open source Chromium browser:

The reader can work with the appropriate release version number since they are tagged in the git repository.

Google Congestion Control Settings[edit]

The implementation of the GCC can be found in two main directories of the git repository:

1. Remote Bitrate Estimator
This directory contains the delay-based controller implementation in the form of three main classes:
1. Over Use Detector: (overuse_estimator.cc) which estimates the one-way delay variation between the incoming packets with a Kalman filter;
2. Over Use Estimator: (overuse_detector.cc) which compares the one way delay variation with a threshold and generates a signal that reports the status of the network (over-used, normal, under-used);
3. Rate Control: (aimd_rate_control.cc) which uses this signal to drive a finite state machine that computes the sending bitrate
2. Bitrate Controller
This directory contains the loss-based controller implementation:
1. Bandwidth Estimation: (send_side_bandwidth_estimation.cc) which computes the sending bitrate based on the fraction loss reported in RTCP packets

Relevant metrics , such as sending bitrate, RTT, packets losses, can be measured by employing different approaches. Here we cite some:

  1. Extracting the matrics in the form of traces from the Chromium source code after re-compilation. For example video bitrate can be extracted here.
  2. Using the Javascript getstats() API. An example is provided here. This approach does not require re-compilation.
  3. Using linux tool. For example tcpdump to measure the sending bitrate, ping to measure the RTT. This guideline instead explains how to use wireshark to capture and analyze the RTP stream.

Web Server Settings[edit]

In order to establish WebRTC calls among the Chromium browsers running on Nodes of Figure 1, a Web server is required. In particular the Web server provides the HTML pages that handles the signaling between the peers using the WebRTC JavaScript API.

To this purpose we have used the video chat demo app which can be installed locally following this guide:

Video Settings[edit]

The same video sequence is used to enforce experiments reproducibility. We have used “Four People” 7 YUV test sequence which can be found here:

In order to fed Chromium browser with this video sequence difference approaches can be used.

  1. The Linux kernel module v4l2loopback can be used to create a virtual webcam device which cyclically repeats the video test sequence.

https://webrtc.org/testing/

Chromium encodes the raw video source with the VP8/9 video encoder. The implementation of H264/5 is not ready yet. The video encoder limits the dynamics of sending bitrate in the range [50,2000]kbps.

TCP Settings[edit]