Skip to content
Anton Roman edited this page Nov 24, 2021 · 5 revisions

ECN-aware WebRTC demo

Project goal

This project is aimed at implementing a functional WebRTC demo with Pion Webrtc stack and Janus Gateway

Main steps to get WebRTC stacks ECN-aware

1. Getting ECN info from the wire

1.1 Tentative roadmap to achieve ECN-awareness in the stack:

The following steps were defined as needed in the inital discussions:

  1. Detect if the network is ECN-aware.
  2. Get the ECN bits from the incoming RTP flows.
  3. Apply aggregation algortihm to CE marks before sending the event to upper layers.
  4. Sending of congestion notifications to upper layers.

1.2 Implementation proposal

2. Sending the congestion feedback to the sender

2.1 RTCP approaches

RFC8888 seems the right approach to send the congestion feedback information as RTCP.

2.3 Out-of-band notifications

3. Using the congestion feedback to adjust the sending bitrate

3.1 Integration of congestion events in BWE algorithms.

3.2 Actions at application-level

Clone this wiki locally