summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc6682.txt
blob: e6a79ca761e794a1d56b8f7fdd4dd8eca8920edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
Internet Engineering Task Force (IETF)                         M. Watson
Request for Comments: 6682                                       Netflix
Category: Standards Track                                 T. Stockhammer
ISSN: 2070-1721                                           Nomor Research
                                                                 M. Luby
                                                   Qualcomm Incorporated
                                                             August 2012


      RTP Payload Format for Raptor Forward Error Correction (FEC)

Abstract

   This document specifies an RTP payload format for the Forward Error
   Correction (FEC) repair data produced by the Raptor FEC Schemes.
   Raptor FEC Schemes are specified for use with the IETF FEC Framework
   that supports the transport of repair data over both UDP and RTP.
   This document specifies the payload format that is required for the
   use of RTP to carry Raptor repair flows.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by
   the Internet Engineering Steering Group (IESG).  Further
   information on Internet Standards is available in Section 2 of
   RFC 5741.

   Information about the current status of this document, any
   errata, and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc6682.

















Watson, et al.               Standards Track                    [Page 1]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


Copyright Notice

   Copyright (c) 2012 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1. Introduction ....................................................3
   2. Conventions, Definitions, and Acronyms ..........................3
   3. Media Format Background .........................................3
   4. Payload Format for FEC Repair Packets ...........................4
      4.1. RTP Header Usage ...........................................4
      4.2. Payload Header .............................................5
      4.3. Payload Data ...............................................5
   5. Congestion Control Considerations ...............................5
   6. Media Types .....................................................5
      6.1. Registration of the 'application/raptorfec' Media Type .....5
           6.1.1. Media Type Definition ...............................5
      6.2. Registration of the 'video/raptorfec' Media Type ...........7
           6.2.1. Media Type Definition ...............................7
      6.3. Registration of the 'audio/raptorfec' Media Type ...........8
           6.3.1. Media Type Definition ...............................8
      6.4. Registration of the 'text/raptorfec' Media Type ...........10
           6.4.1. Media Type Definition ..............................10
   7. Mapping to the Session Description Protocol (SDP) ..............12
   8. Offer/Answer Considerations ....................................12
   9. Declarative SDP Considerations .................................13
   10. Repair Flow Generation and Recovery Procedures ................13
      10.1. Overview .................................................13
      10.2. Repair Packet Construction ...............................14
      10.3. Usage of RTCP ............................................14
      10.4. Source Packet Reconstruction .............................14
   11. Session Description Protocol (SDP) Example ....................14
   12. IANA Considerations ...........................................15
   13. Security Considerations .......................................15
   14. References ....................................................16
      14.1. Normative References .....................................16
      14.2. Informative References ...................................17



Watson, et al.               Standards Track                    [Page 2]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


1.  Introduction

   The FEC Framework [RFC6363] defines a general framework for the use
   of Forward Error Correction in association with arbitrary packet
   flows, including flows over UDP and RTP [RFC3550].  Forward Error
   Correction operates by generating redundant data packets ("repair
   data") that can be sent independently from the original flow.  At a
   receiver, the original flow can be reconstructed provided a
   sufficient set of redundant data packets and possibly original data
   packets are received.

   The FEC Framework provides for independence between application
   protocols and FEC codes.  The use of a particular FEC code within the
   framework is defined by means of a FEC Scheme, which may then be used
   with any application protocol compliant to the framework.

   Repair data flows may be sent directly over a transport protocol,
   such as UDP, or they may be encapsulated within specialized
   transports for multimedia, such as RTP.

   This document defines the RTP payload format for the Raptor FEC
   Schemes defined in [RFC6681].

2.  Conventions, Definitions, and Acronyms

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

3.  Media Format Background

   The Raptor and RaptorQ codes are efficient block-based fountain
   codes, meaning that from any group of source packets (or 'source
   block'), one can generate an arbitrary number of repair packets.  The
   Raptor and RaptorQ codes have the property that the original group of
   source symbols can be recovered with a very high probability from any
   set of symbols (source and repair) only slightly greater in number
   than the original number of source symbols.  The RaptorQ code
   additionally has the property that the probability that the original
   group of source symbols can be recovered from a set of symbols
   (source and repair) equal in number to the original number of source
   symbols is in many cases also very high.

   [RFC6681] defines six FEC Schemes for the use of the Raptor and
   RaptorQ codes with arbitrary packet flows.  The first two schemes are
   fully applicable to arbitrary packet flows (using Raptor and RaptorQ
   respectively).  The third and fourth schemes are slightly optimized
   versions of the first two schemes, which are applicable in



Watson, et al.               Standards Track                    [Page 3]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   applications with relatively small block sizes.  The fifth and sixth
   schemes are variants of the third and fourth schemes, which are
   applicable to a single source flow that already has some kind of
   identifiable sequence number.  The presence of a sequence number in
   the source flow allows for backwards-compatible operation (the source
   flows do not need to be modified in order to apply FEC).  In this
   case, in the language of the FEC Framework, there is no need for an
   explicit FEC Source Payload ID; therefore, it is not included in the
   packets.

   This document specifies the payload format for RTP repair flows and
   can be used with any of the FEC Schemes defined in [RFC6681].

4.  Payload Format for FEC Repair Packets

4.1.  RTP Header Usage

   Header fields SHALL be set according to the rules of [RFC3550].  In
   addition, the following rules and definitions apply for the RTP
   headers used with FEC repair packets:

   o  Marker bit: The marker bit SHALL be set to 1 for the last
      protection RTP packet sent for each source block, and otherwise
      set to 0.

   o  Payload Type (PT): The payload type codes SHALL be assigned
      dynamically through non-RTP means.  If the Session Description
      Protocol (SDP) is used for signaling, the rules in Section 7
      apply.

   o  Timestamp: This field contains the time at which the packet is
      transmitted.  The time SHOULD be as close as possible to the
      packet's actual time of transmission.  The timestamp value has no
      use in the actual FEC protection process.  However,
      implementations SHOULD supply a value that can be used for packet-
      arrival timing or jitter calculations.  The timestamp rate is
      specified using the "rate" media type parameter defined in Section
      6.  The operator SHALL select a "rate" larger than 1000 Hz to
      provide sufficient resolution to the Real-Time Transport Control
      Protocol (RTCP) operations, and the operator SHOULD select the
      rate that matches the rate of the protected source RTP stream.

   o  Synchronization Source (SSRC): The SSRC values MUST be set
      according to [RFC3550].  The SSRC value of the RTP repair flow
      MUST be different from the SSRC value of the protected source
      flow.





Watson, et al.               Standards Track                    [Page 4]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


4.2.  Payload Header

   There is no payload header in this payload format.

4.3.  Payload Data

   Procedures and data formats for the use of Raptor Forward Error
   Correction in a FECFRAME context are fully defined in [RFC6363] and
   [RFC6681] and are not duplicated here.  The procedures of those
   documents apply in order to generate repair data streams to be
   carried by the payload formats defined in this document.

   The RTP Payload SHALL contain a Repair FEC Payload ID as defined in
   [RFC6363] and [RFC6681].

5.  Congestion Control Considerations

   See [RFC6363].

6.  Media Types

6.1.  Registration of the 'application/raptorfec' Media Type

   This RTP payload format is identified using the
   'application/raptorfec' media type that is registered in accordance
   with [RFC4855] and uses the template of [RFC4288].

6.1.1.  Media Type Definition

   Type name: application

   Subtype name: raptorfec

   Required parameters:

   o  rate: The RTP timestamp (clock) rate.  The RTP timestamp (clock)
      rate is specified in Hz and the format is unsigned integer.

   o  raptor-scheme-id: The value of this parameter is the FEC Scheme ID
      for the specific Raptor FEC Scheme that will be used as defined in
      [RFC6681].

   o  Kmax: The value of this parameter is the FEC Framework
      Configuration Information element, Maximum Source Block Length
      (MSBL), as defined in [RFC6681], encoded as a unsigned integer.
      For specific requirements for this value, refer to [RFC6681].





Watson, et al.               Standards Track                    [Page 5]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   o  T: The value of this parameter is the FEC Framework Configuration
      Information element, encoding symbol size, as defined in
      [RFC6681], encoded as a unsigned integer.  For specific
      requirements for this value, refer to [RFC6681].

   o  repair-window: The maximum time that spans the source packets and
      the corresponding repair packets.  The size of the repair window
      is specified in microseconds and the format is unsigned integer.

   Optional parameters:

   o  P: The value of this parameter is the FEC Framework Configuration
      Information element, Payload ID Format, as defined in [RFC6681].
      The default value of this parameter (when it does not appear
      explicitly) is 'A'.

   Encoding considerations: This media type is framed and binary; see
   Section 4.8 in [RFC4288]

   Security considerations: Please see the security considerations in
   [RFC6363].

   Interoperability considerations:

   Published specification: [RFC6681]

   Applications that use this media type: Real-time multimedia
   applications like video streaming, audio streaming, and video
   conferencing.

   Additional information:

   Magic number(s): <none defined>

   File extension(s): <none defined>

   Macintosh file type code(s): <none defined>

   Person & email address to contact for further information:
   Thomas Stockhammer, stockhammer@nomor.de

   Intended usage: COMMON

   Restrictions on usage: This media type depends on RTP framing, and
   hence is only defined for transfer via RTP [RFC3550].  Transport
   within other framing protocols is not defined at this time.

   Author: Thomas Stockhammer, Nomor Research



Watson, et al.               Standards Track                    [Page 6]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   Change controller: IETF PAYLOAD working group delegated from the
   IESG.

6.2.  Registration of the 'video/raptorfec' Media Type

   This RTP payload format is identified using the 'video/raptorfec'
   media type that is registered in accordance with [RFC4855] and uses
   the template of [RFC4288].

6.2.1.  Media Type Definition

   Type name: video

   Subtype name: raptorfec

   Required parameters:

   o  rate: The RTP timestamp (clock) rate.  The RTP timestamp (clock)
      rate is specified in Hz and the format is unsigned integer.

   o  raptor-scheme-id: The value of this parameter is the FEC Scheme ID
      for the specific Raptor FEC Scheme that will be used as defined in
      [RFC6681].

   o  Kmax: The value of this parameter is the FEC Framework
      Configuration Information element, MSBL, as defined in [RFC6681],
      encoded as a unsigned integer.  For specific requirements for this
      value, refer to [RFC6681].

   o  T: The value of this parameter is the FEC Framework Configuration
      Information element, encoding symbol size, as defined in
      [RFC6681], encoded as a unsigned integer.  For specific
      requirements for this value, refer to [RFC6681].

   o  repair-window: The maximum time that spans the source packets and
      the corresponding repair packets.  The size of the repair window
      is specified in microseconds, and the format is unsigned integer.

   Optional parameters:

   o  P: The value of this parameter is the FEC Framework Configuration
      Information element, Payload ID Format, as defined in [RFC6681].
      The default value of this parameter (when it does not appear
      explicitly) is 'A'.

   Encoding considerations: This media type is framed and binary; see
   Section 4.8 in [RFC4288].




Watson, et al.               Standards Track                    [Page 7]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   Security considerations: Please see the security considerations in
   [RFC6363].

   Interoperability considerations:

   Published specification: [RFC6681]

   Applications that use this media type: Real-time multimedia
   applications like video streaming, audio streaming, and video
   conferencing.

   Additional information:

   Magic number(s): <none defined>

   File extension(s): <none defined>

   Macintosh file type code(s): <none defined>

   Person & email address to contact for further information:
   Thomas Stockhammer, stockhammer@nomor.de

   Intended usage: COMMON

   Restrictions on usage: This media type depends on RTP framing, and
   hence is only defined for transfer via RTP [RFC3550].  Transport
   within other framing protocols is not defined at this time.

   Author: Thomas Stockhammer, Nomor Research.

   Change controller: IETF PAYLOAD working group delegated from the
   IESG.

6.3.  Registration of the 'audio/raptorfec' Media Type

   This RTP payload format is identified using the 'audio/raptorfec'
   media type that is registered in accordance with [RFC4855] and uses
   the template of [RFC4288].

6.3.1.  Media Type Definition

   Type name: audio

   Subtype name: raptorfec







Watson, et al.               Standards Track                    [Page 8]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   Required parameters:

   o  rate: The RTP timestamp (clock) rate.  The RTP timestamp (clock)
      rate is specified in Hz and the format is unsigned integer.

   o  raptor-scheme-id: The value of this parameter is the FEC Scheme ID
      for the specific Raptor FEC Scheme that will be used as defined in
      [RFC6681].

   o  Kmax: The value of this parameter is the FEC Framework
      Configuration Information element, MSBL, as defined in [RFC6681],
      encoded as a unsigned integer.  For specific requirements for this
      value, refer to [RFC6681].

   o  T: The value of this parameter is the FEC Framework Configuration
      Information element, encoding symbol size, as defined in
      [RFC6681], encoded as a unsigned integer.  For specific
      requirements for this value, refer to [RFC6681].

   o  repair-window: The maximum time that spans the source packets and
      the corresponding repair packets.  The size of the repair window
      is specified in microseconds and the format is unsigned integer.

   Optional parameters:

   o  P: The value of this parameter is the FEC Framework Configuration
      Information element, Payload ID Format, as defined in [RFC6681].
      The default value of this parameter (when it does not appear
      explicitly) is 'A'.

   Encoding considerations: This media type is framed and binary; see
   Section 4.8 in [RFC4288].

   Security considerations: Please see the security considerations in
   [RFC6363].

   Interoperability considerations:

   Published specification: [RFC6681]

   Applications that use this media type: Real-time multimedia
   applications like video streaming, audio streaming, and video
   conferencing.

   Additional information:

   Magic number(s): <none defined>




Watson, et al.               Standards Track                    [Page 9]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   File extension(s): <none defined>

   Macintosh file type code(s): <none defined>

   Person & email address to contact for further information:
   Thomas Stockhammer, stockhammer@nomor.de

   Intended usage: COMMON

   Restrictions on usage: This media type depends on RTP framing, and
   hence is only defined for transfer via RTP [RFC3550].  Transport
   within other framing protocols is not defined at this time.

   Author: Thomas Stockhammer, Nomor Research.

   Change controller: IETF PAYLOAD working group delegated from the
   IESG.

6.4.  Registration of the 'text/raptorfec' Media Type

   This RTP payload format is identified using the 'text/raptorfec'
   media type that is registered in accordance with [RFC4855] and uses
   the template of [RFC4288].

6.4.1.  Media Type Definition

   Type name: text

   Subtype name: raptorfec

   Required parameters:

   o  rate: The RTP timestamp (clock) rate.  The RTP timestamp (clock)
      rate is specified in Hz and the format is unsigned integer.

   o  raptor-scheme-id: The value of this parameter is the FEC Scheme ID
      for the specific Raptor FEC Scheme that will be used as defined in
      [RFC6681].

   o  Kmax: The value of this parameter is the FEC Framework
      Configuration Information element, MSBL, as defined in [RFC6681],
      encoded as a unsigned integer.  For specific requirements for this
      value, refer to [RFC6681].

   o  T: The value of this parameter is the FEC Framework Configuration
      Information element, encoding symbol size, as defined in
      [RFC6681], encoded as a unsigned integer.  For specific
      requirements for this value, refer to [RFC6681].



Watson, et al.               Standards Track                   [Page 10]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   o  repair-window: The maximum time that spans the source packets and
      the corresponding repair packets.  The size of the repair window
      is specified in microseconds and the format is unsigned integer.

   Optional parameters:

   o  P: The value of this parameter is the FEC Framework Configuration
      Information element, Payload ID Format, as defined in [RFC6681].
      The default value of this parameter (when it does not appear
      explicitly) is 'A'.

   Encoding considerations: This media type is framed and binary; see
   Section 4.8 in [RFC4288].

   Security considerations: Please see the security considerations in
   [RFC6363].

   Interoperability considerations:

   Published specification: [RFC6681]

   Applications that use this media type: Real-time multimedia
   applications like video streaming, audio streaming, and video
   conferencing.

   Additional information:

   Magic number(s): <none defined>

   File extension(s): <none defined>

   Macintosh file type code(s): <none defined>

   Person & email address to contact for further information:
   Thomas Stockhammer, stockhammer@nomor.de

   Intended usage: COMMON

   Restrictions on usage: This media type depends on RTP framing, and
   hence is only defined for transfer via RTP [RFC3550].  Transport
   within other framing protocols is not defined at this time.

   Author: Thomas Stockhammer, Nomor Research.

   Change controller: IETF PAYLOAD working group delegated from the
   IESG.





Watson, et al.               Standards Track                   [Page 11]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


7.  Mapping to the Session Description Protocol (SDP)

   Applications that are using RTP transport commonly use the Session
   Description Protocol (SDP) [RFC4566] to describe their RTP sessions.
   The information that is used to specify the media types in an RTP
   session has specific mappings to the fields in an SDP description.
   Note that if an application does not use SDP to describe the RTP
   sessions, an appropriate mapping must be defined and used to specify
   the media types and their parameters for the control/description
   protocol employed by the application.

   The mapping of the above defined payload format media type and its
   parameters SHALL be done according to Section 3 of [RFC4855],
   following the suggestion therein regarding the mapping of payload-
   format-specific parameters into the "a=fmtp" field.

   When the RTP payload formats defined in this document are used, the
   media type parameters defined above MUST use the media types in this
   document and MUST NOT use those specified in [RFC6364].

8.  Offer/Answer Considerations

   When offering Raptor FEC over RTP using SDP in an Offer/Answer model
   [RFC3264], the following considerations apply:

   o  Each combination of the Kmax and T parameters produces different
      FEC data and is not compatible with any other combination.  A
      sender application MAY desire to provide multiple offers with
      different sets of Kmax and T values, which is possible as long as
      the parameter values are valid.  The receiver SHOULD normally
      choose the offer with the largest value of the product of Kmax and
      T that it supports.

   o  The size of the repair window is related to the maximum delay
      between the transmission of a source packet and the associated
      repair packet.  This directly impacts the buffering requirement on
      the receiver side and the receiver must consider this when
      choosing an offer.

   o  When the P parameter is not present, the receiver MUST use FEC
      Payload ID Format A.  In an answer that selects an offer in which
      the P parameter was omitted, the P parameter MUST either be
      omitted, or included with value "A".








Watson, et al.               Standards Track                   [Page 12]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


9.  Declarative SDP Considerations

   In declarative usage, like SDP in the Real-Time Streaming Protocol
   (RTSP) [RFC2326] or the Session Announcement Protocol (SAP)
   [RFC2974], the following considerations apply:

   o  The payload format configuration parameters are all declarative
      and a participant MUST use the configuration that is provided for
      the session.

   o  More than one configuration MAY be provided (if desired) by
      declaring multiple RTP payload types.  In this case, the receivers
      should choose the repair session that is best for them.

10.  Repair Flow Generation and Recovery Procedures

10.1.  Overview

   This document only specifies repair flow construction when the repair
   packets are delivered with RTP.  Source packet construction is
   covered in [RFC6681].  This section provides an overview on how to
   generate a repair flow, including the repair packets and how to
   reconstruct missing source packets from a set of available source and
   repair packets.  Detailed algorithms for the generation of Raptor and
   RaptorQ symbols are provided in [RFC5053] and [RFC6330],
   respectively.

   As per the FEC Framework document [RFC6363], the FEC Framework
   Configuration Information includes, among others, the identification
   of the repair flow(s) and the source flow(s).  Methods to convey FEC
   Framework Configuration Information are provided in [FEC-SIG].
   Specifically, the reader is referred to the SDP elements document
   [RFC6364], which describes the usage of the 'SDP' encoding format as
   an example encoding format for FEC Framework Configuration
   Information.

   For the generation of a repair flow:

   o  repair packets SHALL be constructed according to Section 10.2, and

   o  RTCP SHALL be used according to Section 10.3.

   For the reconstruction of a source packet of a source RTP session at
   the receiver, based on the availability of a source RTP session and a
   repair RTP session, the procedures in Section 10.4 may be used.






Watson, et al.               Standards Track                   [Page 13]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


10.2.  Repair Packet Construction

   The construction of the repair packet is fully specified in Section
   4.  A repair packet is constructed by the concatenation of

   o  an RTP header as specified in Section 4.1, and

   o  payload data as defined in Section 4.3.

   Repair Packet Construction may make use of the Sender Operation for
   RTP repair flows as specified in see [RFC6363], Section 4.2.

10.3.  Usage of RTCP

   RTCP SHALL be used according to [RFC3550].  If the repair RTP session
   is sent in a separate RTP session, the two sessions MUST be
   associated using RTCP CNAME (Canonical Name).

10.4.  Source Packet Reconstruction

   Source Packet Reconstruction may make use of the receiver operation
   for the case of RTP repair flows as specified in [RFC6363], Section
   4.3.  Depending on the FEC Scheme using the ones defined in
   [RFC6681], the appropriate source blocks are formed.  If enough data
   for decoding any or all of the missing source payloads in the source
   block has been received, the respective FEC decoding procedures are
   applied.

   In case the FEC Scheme uses Raptor codes as defined in [RFC5053],
   then the Example FEC Decoder, as specified in [RFC5053], Section 5.5,
   may be used.

   In case the FEC Scheme uses RaptorQ codes as defined in [RFC6330],
   then the Example FEC Decoder, as specified in [RFC6330], Section 5.4,
   may be used.

11.  Session Description Protocol (SDP) Example

   This section provides an SDP [RFC4566] example.  Assume we have one
   source video stream (mid:S1) and one FEC repair stream (mid:R1).  The
   'group' attribute and the FEC grouping semantics defined in [RFC5888]
   and [RFC5956], respectively, are used to associate source and repair
   flows.  We form one FEC group with the "a=group:FEC S1 R1" line.  The
   source and repair streams are sent to the same port on different
   multicast groups.  The repair window is set to 200 ms.






Watson, et al.               Standards Track                   [Page 14]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   v=0
   o=ali 1122334455 1122334466 IN IP4 fec.example.com
   s=Raptor RTP FEC Example
   t=0 0
   a=group:FEC-FR S1 R1
   m=video 30000 RTP/AVP 100
   c=IN IP4 233.252.0.1/127
   a=rtpmap:100 MP2T/90000
   a=fec-source-flow: id=0
   a=mid:S1
   m=application 30000 RTP/AVP 110
   c=IN IP4 233.252.0.2/127
   a=rtpmap:110 raptorfec/90000
   a=fmtp:110 raptor-scheme-id=1; Kmax=8192; T=128;
           P=A; repair-window=200000
   a=mid:R1

12.  IANA Considerations

   IANA has registered 'application/raptorfec' as specified in Section
   6.1.1, 'video/raptorfec' as specified in Section 6.2.1,
   'audio/raptorfec' as specified in Section 6.3.1, and 'text/raptorfec'
   as specified in Section 6.4.1.  The media type has also been added to
   the IANA registry for "RTP Payload Format media types"
   (http://www.iana.org/assignments/rtp-parameters).

13.  Security Considerations

   Security Considerations related to the use of the FEC Framework are
   addressed in [RFC6363].  These considerations apply in full to users
   of the RTP payload formats defined in this document, since these are
   defined in terms of the FEC Framework.

   No further security considerations related specifically to the Raptor
   FEC Schemes defined in [RFC6681] have been identified.

   RTP packets using the payload format defined in this specification
   are subject to the security considerations discussed in the RTP
   specification [RFC3550] and in any applicable RTP profile.  The main
   security considerations for the RTP packet carrying the RTP payload
   format defined within this memo are confidentiality, integrity, and
   source authenticity.  Confidentiality is achieved by encrypting the
   RTP payload.  Integrity of the RTP packets is achieved through a
   suitable cryptographic integrity protection mechanism.  Such a
   cryptographic system can also allow the authentication of the source
   of the payload.  A suitable security mechanism for this RTP payload
   format should provide confidentiality, integrity protection, and at
   least source authentication capable of determining if an RTP packet



Watson, et al.               Standards Track                   [Page 15]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   is from a member of the RTP session.  Note that the appropriate
   mechanism to provide security to RTP and payloads following this memo
   MAY vary.  It is dependent on the application, transport, and
   signaling protocol employed.  Therefore, a single mechanism is not
   sufficient; although, if suitable, using the Secure Real-Time
   Transport Protocol (SRTP) [RFC3711] is RECOMMENDED.  Other mechanisms
   that may be used are IPsec [RFC4301] and Transport Layer Security
   (TLS) [RFC5246] (RTP over TCP); other alternatives exist.

14.  References

14.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC3550]  Schulzrinne, H., Casner, S., Frederick, R., and V.
              Jacobson, "RTP: A Transport Protocol for Real-Time
              Applications", STD 64, RFC 3550, July 2003.

   [RFC4288]  Freed, N. and J. Klensin, "Media Type Specifications and
              Registration Procedures", BCP 13, RFC 4288, December 2005.

   [RFC4855]  Casner, S., "Media Type Registration of RTP Payload
              Formats", RFC 4855, February 2007.

   [RFC6363]  Watson, M., Begen, A., and V. Roca, "Forward Error
              Correction (FEC) Framework", RFC 6363, October 2011.

   [RFC6364]  Begen, A., "Session Description Protocol Elements for the
              Forward Error Correction (FEC) Framework", RFC 6364,
              October 2011.

   [RFC6681]  Watson, M., Stockhammer, T., and M. Luby, "Raptor Forward
              Error Correction (FEC) Schemes for FECFRAME", RFC 6681,
              August 2012.

   [RFC4566]  Handley, M., Jacobson, V., and C. Perkins, "SDP: Session
              Description Protocol", RFC 4566, July 2006.

   [RFC3264]  Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model
              with Session Description Protocol (SDP)", RFC 3264, June
              2002.

   [RFC3711]  Baugher, M., McGrew, D., Naslund, M., Carrara, E., and K.
              Norrman, "The Secure Real-time Transport Protocol (SRTP)",
              RFC 3711, March 2004.




Watson, et al.               Standards Track                   [Page 16]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


   [RFC4301]  Kent, S. and K. Seo, "Security Architecture for the
              Internet Protocol", RFC 4301, December 2005.

   [RFC5246]  Dierks, T. and E. Rescorla, "The Transport Layer Security
              (TLS) Protocol Version 1.2", RFC 5246, August 2008.

   [RFC5053]  Luby, M., Shokrollahi, A., Watson, M., and T. Stockhammer,
              "Raptor Forward Error Correction Scheme for Object
              Delivery", RFC 5053, October 2007.

   [RFC6330]  Luby, M., Shokrollahi, A., Watson, M., Stockhammer, T.,
              and L. Minder, "RaptorQ Forward Error Correction Scheme
              for Object Delivery", RFC 6330, August 2011.

14.2.  Informative References

   [RFC2326]  Schulzrinne, H., Rao, A., and R. Lanphier, "Real Time
              Streaming Protocol (RTSP)", RFC 2326, April 1998.

   [RFC2974]  Handley, M., Perkins, C., and E. Whelan, "Session
              Announcement Protocol", RFC 2974, October 2000.

   [RFC5888]  Camarillo, G. and H. Schulzrinne, "The Session Description
              Protocol (SDP) Grouping Framework", RFC 5888, June 2010.

   [RFC5956]  Begen, A., "Forward Error Correction Grouping Semantics in
              the Session Description Protocol", RFC 5956, September
              2010.

   [FEC-SIG]  Asati, R., "Methods to convey FEC Framework Configuration
              Information", Work in Progress, February 2012.




















Watson, et al.               Standards Track                   [Page 17]
^L
RFC 6682              RTP Payload Format for Raptor          August 2012


Authors' Addresses

   Mark Watson
   Netflix
   100 Winchester Circle
   Los Gatos, CA 95032
   United States

   EMail: watsonm@netflix.com


   Thomas Stockhammer
   Nomor Research
   Brecherspitzstrasse 8
   Munich 81541
   Germany

   EMail: stockhammer@nomor.de


   Michael Luby
   Qualcomm Research Berkeley
   2030 Addison Street
   Berkeley, CA 94704
   United States

   EMail: luby@qualcomm.com
























Watson, et al.               Standards Track                   [Page 18]
^L