Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RED Handling #147

Merged
merged 2 commits into from Mar 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 28 additions & 2 deletions double/draft-ietf-perc-double.md
Expand Up @@ -371,8 +371,34 @@ encrypted in repair mode packet.

## RED

TODO - Add text to explain how to use RED as described in Option A of
slides presented at IETF 99.
When using RED [@RFC2198] with double, the primary encoding MAY
contain RTP header extensions and CSRC identifiers but non primary
encodings can not.

The sender takes encrypted payloads from the cached packets to form
the RED payload. Any header extensions from the primary encoding are
copied to the RTP packet that will cary the RED payload and the other
RTP header information such as SSRC, SEQ, CSRC, etc are set to the
same as the primary payload. The RED RTP packet is then encrypted in
repair mode and sent.

The receiver decrypts the payload to find the RED payload. Note a
media relay can do this decryption as the packet was sent in repair
mode that only needs the hop-by-hop key. The RTP headers and header
extensions along with the primary payload and PT from inside the RED
payload are used to form the encrypted primary RTP packet which can
then be decrypted with double. The RTP headers (but not header
extensions or CSRC) along with PT from inside the RED payload are used
for from the non primary payloads. The time offset information in the
RED data MUST be used to adjust the sequence number in the RTP header
by using the timestamp offset and packet rate to find a sequence
number offset to adjust by. At this point the non primary packets can
be decrypted with double.

Note that Flex FEC [@I-D.ietf-payload-flexible-fec-scheme] is a
superset of the capabilities of RED. For most applications, FlexFEC
is a better choice than RED.


## FEC

Expand Down