TOC 
AVT Working GroupF. Andreasen
Internet-DraftD. Oran
Intended status: Standards TrackD. Wing
Expires: April 2, 2009Cisco Systems
 September 29, 2008


A No-Op Payload Format for RTP
draft-ietf-avt-rtp-no-op-05

Status of this Memo

By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress.”

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire on April 2, 2009.

Abstract

This document defines an no-op payload format for the Real-time Transport Protocol (RTP). This packet is not played out by receivers. It can be useful as a way to keep Network Address Translator (NAT) bindings and Firewall pinholes open. Other uses are discussed in the document.



Table of Contents

1.  Introduction
2.  Conventions Used in this Document
3.  RTP Payload Format for No-Op
    3.1.  Registration
    3.2.  Use of RTP Header Fields
    3.3.  Payload Format
    3.4.  Sender Operation
    3.5.  Mixer, Translator Operation
    3.6.  Receiver Operation
    3.7.  Indication of No-OP Capability using SDP
4.  Example SDP Offer/Answer
5.  Media Type Registration
    5.1.  audio/no-op
    5.2.  video/no-op
    5.3.  text/no-op
6.  Security Considerations
7.  IANA Considerations
8.  Acknowledgments
9.  References
    9.1.  Normative References
    9.2.  Informational References
§  Authors' Addresses
§  Intellectual Property and Copyright Statements




 TOC 

1.  Introduction

This memo defines a new RTP payload format called "no-op". This payload behaves like a normal RTP payload, except the RTP packet is not used to play out media.

This new payload format is useful for:

When an endpoint has a media stream marked as 'recvonly' or 'inactive' the endpoint is not supposed to send any media (i.e., RTP packets). However, to keep a NAT binding alive, the endpoint will need to periodically send packets over the RTP and RTCP ports. RTP No-Op is ideally suited to this. In comparison, if one participant in an audio multicast conference has a 'recvonly' or 'inactive' media stream yet occasionally sends comfort noise packets in order to keep its NAT binding open, these comfort noise packets are interpreted as audio packets by receivers and mixers which can cause undesirable behavior -- such as selection of the primary speaker or the playout of comfort noise when no audio should be played.

Unlike Comfort noise (Zopf, R., “Real-time Transport Protocol (RTP) Payload for Comfort Noise (CN),” September 2002.) [RFC3389], which is specific to voice RTP streams, RTP No-Op is applicable to any kind of RTP stream including video, audio, realtime text, or any other media types that would benefit from the capabilities listed above. This gives RTP No-Op an advantage as a NAT keepalive mechanism. Certain functions and RTP payload types can use RTP No-Op without re-inventing their own payload-specific NAT keepalive mechanism -- such as video muting, Clearmode (Kreuter, R., “RTP Payload Format for a 64 kbit/s Transparent Call,” April 2005.) [RFC4040], and text (Hellstrom, G. and P. Jones, “RTP Payload for Text Conversation,” June 2005.) [RFC4103].

Some audio codecs have their own 'silence' packets. However, some codecs only send such silence packets if the noise floor changes; G.729b (International Telecommunications Union, “G.729 Annex B,” November 1999.) [G729B] is an example of such a codec. RTP No-Op allows the RTP stack itself, rather than the codec, to send periodic packets as a keepalive mechanism.

Multiplexing RTP and RTCP over the same port [I‑D.ietf‑avt‑rtp‑and‑rtcp‑mux] (Perkins, C. and M. Westerlund, “Multiplexing RTP Data and Control Packets on a Single Port,” August 2007.) provides an separate keepalive mechanism which uses the periodic RTCP transmission to keep middleboxes aware of the flow.



 TOC 

2.  Conventions Used in this Document

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] (Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” March 1997.).



 TOC 

3.  RTP Payload Format for No-Op



 TOC 

3.1.  Registration

The RTP payload format is designated as "no-op" and the media types are "audio/no-op", "video/no-op", and "text/no-op". The default clock rate is 8000 Hz, but other rates MAY be used. In accordance with current practice, this payload format does not have a static payload type number, but uses a RTP payload type number established dynamically out-of-band, e.g., through SDP (Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” July 2006.) [RFC4566].



 TOC 

3.2.  Use of RTP Header Fields

Timestamp:
The RTP timestamp reflects the measurement point for the current packet. The receiver uses this timestamp to calculate jitter for RTCP sender and receiver reports per normal RTP procedures. Note: The jitter value should primarily be used as a means for comparing the reception quality between two users or two time-periods, not as an absolute measure.
Marker bit:
The RTP marker bit has no special significance for this payload type.


 TOC 

3.3.  Payload Format



The payload format is shown below.

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                           reserved                            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                      padding (OPTIONAL)                       |
   |                             ....                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Figure 1: Payload Format 

The payload contains at least 4 bytes, the first 32 bits are reserved for future use. These bits SHOULD be set to 0. Receivers MUST ignore the value of these bits.

Additional padding bytes MAY be appended up to the ptime or maxptime value in SDP (see Section 3.7 (Indication of No-OP Capability using SDP)). These bytes MUST be ignored. Padding may be useful to generate RTP packets that are the same size as a normal media payload.



 TOC 

3.4.  Sender Operation

As discussed in the introduction, endpoints must occasionally send a packet to their RTP and RTCP peer to keep NAT and firewall bindings active, even if the media stream is marked 'recvonly' or 'inactive'. No matter if the media stream is marked 'recvonly', 'sendrecv', 'sendonly', or 'inactive', if approximately 20 seconds elapse with no packets transmitted from the RTP port (either RTP packets or non-RTP packets (e.g., STUN (Rosenberg, J., Mahy, R., Matthews, P., and D. Wing, “Session Traversal Utilities for (NAT) (STUN),” July 2008.) [I‑D.ietf‑behave‑rfc3489bis] packets), then an RTP No-Op packet SHOULD be sent.



 TOC 

3.5.  Mixer, Translator Operation

An RTP mixer or unicast-to-unicast RTP translator SHOULD forward RTP No-Op payload packets normally; if the input stream is made up of RTP No-Op packets only, a corresponding RTP No-Op packet SHOULD be generated. If the input stream consists of other packets than No-Op, then the No-Op packets SHOULD simply be discarded. A unicast-to-multicast RTP translator SHOULD replicate RTP No-Op payload packets normally.



 TOC 

3.6.  Receiver Operation

Upon receipt of an RTP packet with the No-Op payload format the receiver performs normal RTP receive operations on it -- incrementing the RTP receive counter, calculating jitter, and so on. The receiver then discards the packet -- it is not used to play out media.



 TOC 

3.7.  Indication of No-OP Capability using SDP

Senders and receivers may indicate support for the No-Op payload format, for example, by using the Session Description Protocol (Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” July 2006.) [RFC4566].

The default packetization interval for this payload type is 20ms but alternate values can be advertised in SDP using the ptime or maxptime attributes [RFC4566] (Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” July 2006.).



 TOC 

4.  Example SDP Offer/Answer

Offer:

      v=0
      o=alice 2890844526 2890844526 IN IP4 host.atlanta.example.com
      s=-
      c=IN IP4 host.atlanta.example.com
      t=0 0
      m=audio 49170 RTP/AVP 0 96
      a=rtpmap:0 PCMU/8000
      a=rtpmap:96 no-op/8000
      m=video 41372 RTP/AVP 31 96
      a=rtpmap:31 H261/90000
      a=rtpmap:96 no-op/90000

Answer:

      v=0
      o=bob 2808844564 2808844564 IN IP4 host.biloxi.example.com
      s=-
      c=IN IP4 host.biloxi.example.com
      t=0 0
      m=audio 59174 RTP/AVP 0 96
      a=rtpmap:0 PCMU/8000
      a=rtpmap:96 no-op/8000
      m=video 59170 RTP/AVP 32 96
      a=rtpmap:31 H261/90000
      a=rtpmap:96 no-op/90000


 TOC 

5.  Media Type Registration

This section registers media types for audio/no-op, video/no-op, and text/no-op, per [RFC4855] (Casner, S., “Media Type Registration of RTP Payload Formats,” February 2007.).



 TOC 

5.1.  audio/no-op

Media type name: audio

Subtype name: no-op

Required parameters: none

Optional parameters: none

Encoding considerations: This media type is framed and binary; see Section 4.8 in [RFC4288] (Freed, N. and J. Klensin, “Media Type Specifications and Registration Procedures,” December 2005.).

Security considerations: See Section 6 (Security Considerations), "Security Considerations", in this document.

Interoperability considerations: none

Published specification: This document.

Applications which use this media: The "no-op" application subtype is used to maintain network state or verify network connectivity, when a more traditional RTP payload type cannot be used.

Additional information: none.

Person and email address to contact for further information: Dan Wing <dwing@cisco.com>.

Intended usage: COMMON

Restrictions on usage: This media type depends on RTP framing and is only defined for transfer via RTP (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.) [RFC3550]. Transfer within other framing protocols is not defined at this time.

Author: Flemming Andreasen, David Oran, and Dan Wing

Change controller: IETF Audio/Video Transport working group delegated from the IESG.



 TOC 

5.2.  video/no-op

Media type name: video

Subtype name: no-op

Required parameters: none

Optional parameters: none

Encoding considerations: This media type is framed and binary; see Section 4.8 in [RFC4288] (Freed, N. and J. Klensin, “Media Type Specifications and Registration Procedures,” December 2005.).

Security considerations: See Section 6 (Security Considerations), "Security Considerations", in this document.

Interoperability considerations: none

Published specification: This document.

Applications which use this media: The "no-op" application subtype is used to maintain network state or verify network connectivity, when a more traditional RTP payload type cannot be used.

Additional information: none.

Person and email address to contact for further information: Dan Wing <dwing@cisco.com>.

Intended usage: COMMON

Restrictions on usage: This media type depends on RTP framing and is only defined for transfer via RTP (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.) [RFC3550]. Transfer within other framing protocols is not defined at this time.

Author: Flemming Andreasen, David Oran, and Dan Wing

Change controller: IETF Audio/Video Transport working group delegated from the IESG.



 TOC 

5.3.  text/no-op

Media type name: audio

Subtype name: no-op

Required parameters: none

Optional parameters: none

Encoding considerations: This media type is framed; see Section 4.8 in [RFC4288] (Freed, N. and J. Klensin, “Media Type Specifications and Registration Procedures,” December 2005.).

Security considerations: See Section 6 (Security Considerations), "Security Considerations", in this document.

Interoperability considerations: none

Published specification: This document.

Applications which use this media: The "no-op" application subtype is used to maintain network state or verify network connectivity, when a more traditional RTP payload type cannot be used.

Additional information: none.

Person and email address to contact for further information: Dan Wing <dwing@cisco.com>.

Intended usage: COMMON

Restrictions on usage: This media type depends on RTP framing and is only defined for transfer via RTP (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.) [RFC3550]. Transfer within other framing protocols is not defined at this time.

Author: Flemming Andreasen, David Oran, and Dan Wing

Change controller: IETF Audio/Video Transport working group delegated from the IESG.



 TOC 

6.  Security Considerations

There are no additional security considerations for this new RTP payload format; the RTP security considerations from RTP (Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” July 2003.) [RFC3550] apply.



 TOC 

7.  IANA Considerations

IANA is requested to make media type registrations as specified above in Section 5 (Media Type Registration)



 TOC 

8.  Acknowledgments

The authors thank Bob Biskner and Rajesh Kumar for their contributions to this specification.



 TOC 

9.  References



 TOC 

9.1. Normative References

[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels,” BCP 14, RFC 2119, March 1997 (TXT, HTML, XML).
[RFC3550] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, “RTP: A Transport Protocol for Real-Time Applications,” STD 64, RFC 3550, July 2003 (TXT, PS, PDF).
[RFC4566] Handley, M., Jacobson, V., and C. Perkins, “SDP: Session Description Protocol,” RFC 4566, July 2006 (TXT).
[RFC4855] Casner, S., “Media Type Registration of RTP Payload Formats,” RFC 4855, February 2007 (TXT).
[RFC4288] Freed, N. and J. Klensin, “Media Type Specifications and Registration Procedures,” BCP 13, RFC 4288, December 2005 (TXT).


 TOC 

9.2. Informational References

[I-D.ietf-behave-rfc3489bis] Rosenberg, J., Mahy, R., Matthews, P., and D. Wing, “Session Traversal Utilities for (NAT) (STUN),” draft-ietf-behave-rfc3489bis-18 (work in progress), July 2008 (TXT).
[RFC3389] Zopf, R., “Real-time Transport Protocol (RTP) Payload for Comfort Noise (CN),” RFC 3389, September 2002 (TXT).
[RFC4040] Kreuter, R., “RTP Payload Format for a 64 kbit/s Transparent Call,” RFC 4040, April 2005 (TXT).
[RFC4103] Hellstrom, G. and P. Jones, “RTP Payload for Text Conversation,” RFC 4103, June 2005 (TXT).
[I-D.ietf-avt-rtp-and-rtcp-mux] Perkins, C. and M. Westerlund, “Multiplexing RTP Data and Control Packets on a Single Port,” draft-ietf-avt-rtp-and-rtcp-mux-07 (work in progress), August 2007 (TXT).
[G729B] International Telecommunications Union, “G.729 Annex B,” November 1999.


 TOC 

Authors' Addresses

  Flemming Andreasen
  Cisco Systems, Inc.
  499 Thornall Street, 8th Floor
  Edison, NJ 08837
  USA
Email:  fandreas@cisco.com
  
  David Oran
  Cisco Systems, Inc.
  7 Ladyslipper Lane
  Acton, MA 01720
  USA
Email:  oran@cisco.com
  
  Dan Wing
  Cisco Systems, Inc.
  170 West Tasman Drive
  San Jose, CA 95134
  USA
Email:  dwing@cisco.com


 TOC 

Full Copyright Statement

Intellectual Property