view Side-By-Side changes
Network Working Group G. Hellstrom Internet Draft Omnitor AB<draft-ietf-avt-rfc2793bis-08.txt><draft-ietf-avt-rfc2793bis-09.txt> P. Jones Expires:JanuaryFebruary 2005 Cisco Systems, Inc.JulyAugust 2004 RTP Payload for Text Conversation Status of this Memo By submitting this Internet-Draft, we certify that any applicable patent or other IPR claims of which we are aware have been disclosed, and any of which we become aware will be disclosed, in accordance with RFC 3668 (BCP 79). By submitting this Internet-Draft, we accept the provisions of Section 3 of RFC 3667 (BCP 78). 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 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 document is a submission of the IETF AVT WG. Comments should be directed to the AVT WG mailing list, avt@ietf.org. Abstract This memo describes how to carry real time text conversation session contents in RTP packets. Text conversation session contents are specified in ITU-T Recommendation T.140.Two payload formats are described.One payload format is described for transmitting text on a separate RTP session dedicated for the transmission oftext, and one for transmitting audio and text data within one single RTP session.text. This RTP payload description recommends a method to include redundant text from already transmitted packets in order to reduce the risk of text loss caused by packet loss. Hellstrom & Jones Expires -JanuaryFebruary 2005 [Page 1] Internet-Draft RTP Payload for Text ConversationJulyAugust 2004 Table of Contents 1. Introduction...................................................3 2. Conventions used in this document..............................4 3. Usage of RTP...................................................4 3.1 Motivations and rationale..................................4 3.2 Payload Format for Transmission of text/t140Data..........5Data..........4 3.3Payload Format for Transmission of audio/t140c Data........5 3.4The"T140block"............................................5 3.5"T140block"............................................4 3.4 Synchronization of Text with Other Media...................53.6 Synchronization considerations for the audio/t140c format..6 3.73.5 RTP packetheader..........................................7header..........................................5 4. Protection against loss ofdata................................7data................................6 4.1 Payload Format when usingRedundancy.......................8Redundancy.......................6 4.2 Using redundancy with the text/t140format.................8 4.3 Using redundancy with the audio/t140c format...............9format.................6 5. RecommendedProcedure..........................................9Procedure..........................................7 5.1 Recommended BasicProcedure...............................10Procedure................................7 5.2 Transmission before and after"Silent Periods"............10"Idle Periods"...............8 5.3 Detection of Lost TextPackets............................11Packets.............................8 5.4 Compensation for Packets Out ofOrder.....................12Order......................9 6. Parameter for Character TransmissionRate.....................12Rate......................9 7.Examples......................................................13Examples......................................................10 7.1 RTP Packetization Examples for the text/t140format.......13format.......10 7.2RTP Packetization Examples for the audio/t140c format.....15 7.3SDPExamples..............................................16Examples..............................................12 8. SecurityConsiderations.......................................17Considerations.......................................12 8.1Confidentiality...........................................17Confidentiality...........................................13 8.2Integrity.................................................17Integrity.................................................13 8.3 Sourceauthentication.....................................17authentication.....................................13 9. CongestionConsiderations.....................................18Considerations.....................................13 10. IANAconsiderations..........................................19considerations..........................................15 10.1 Registration of MIME Media Typetext/t140................19text/t140................15 10.2Registration of MIME Media Type audio/t140c..............20 10.3SDP mapping of MIMEparameters...........................21 10.4parameters...........................16 10.3 Offer/AnswerConsideration...............................21Consideration...............................16 11. Authors'Addresses...........................................22Addresses...........................................16 12.Acknowledgements.............................................22Acknowledgements.............................................17 13. NormativeReferences.........................................22References.........................................17 14. InformativeReferences.......................................23References.......................................18 15. Intellectual PropertyStatement..............................23Statement..............................18 16. CopyrightStatement..........................................24 Hellstrom & Jones Expires - January 2005 [Page 2] Internet-Draft RTP Payload for Text Conversation July 2004Statement..........................................18 [Notes to RFC Editor: 1. All references to RFC XXXX are to be replaced by references to the RFC number of this memo, when published. 2. All references to RFC YYYY [9] are to be replaced by references to the document that registers the text/red MIME type.] Hellstrom & Jones Expires - February 2005 [Page 2] Internet-Draft RTP Payload for Text Conversation August 2004 1. Introduction This document definestwoa payloadtypestype for carrying text conversation session contents in RTP [2] packets. Text conversation session contents are specified in ITU-T Recommendation T.140 [1]. Text conversation is used alone or in connection to other conversational facilities such as video and voice, to form multimedia conversation services. Text in multimedia conversation sessions is sent character-by-character as soon as it is available, or with a small delay for buffering. The text is intended to be entered by human users from a keyboard, handwriting recognition, voice recognition or any other input method. The rate of character entry is usually at a level of a few characters per second or less. In general, only one or a few new characters are expected to be transmitted with each packet. Small blocks of text may be prepared by the user and pasted into the user interface for transmission during the conversation, occasionally causing packets to carry more payload. T.140 specifies that text and other T.140 elements must be transmitted in ISO 10646-1[5] code with UTF-8 [6] transformation. That makes it easy to implement internationally useful applications and to handle the text in modern information technology environments. The payload of an RTP packet following this specification consists of text encoded according to T.140 without any additional framing. A common case will be a single ISO 10646 character, UTF-8 encoded. T.140 requires the transport channel to provide characters without duplication and in original order. Text conversation users expect that text will be delivered with no or a low level of lost information. Therefore a mechanism based on RTP is specified here. It gives text arrival in correct order, without duplication, and with detection and indication of loss. It also includes an optional possibility to repeat data for redundancy to lower the risk of loss. Since packet overhead is usually much larger than the T.140 contents, the increase in bandwidth with the use of redundancy is minimal. By using RTP for text transmission in a multimedia conversation application, uniform handling of text and other media can be achieved in, as examples, conferencing systems, firewalls, andHellstrom & Jones Expires - January 2005 [Page 3] Internet-Draft RTP Payload for Text Conversation July 2004network translation devices. This, in turn, eases the design and increases the possibility for prompt and proper media delivery. This document obsoletes RFC 2793 [16]. The text clarifies ambiguities in RFC 2793, improves on the specific implementation Hellstrom & Jones Expires - February 2005 [Page 3] Internet-Draft RTP Payload for Text Conversation August 2004 requirements learned through developmentexperience,experience and gives explicit usageexamples, and introduces a method of transporting text interleaved with voice within the same RTP session.examples. 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 RFC 2119 [4]. 3. Usage of RTPTwoThe payloadformatsformat for real-time text transmission with RTP [2]aredescribed in thismemo, onememo is intended for general text conversationuse,use and called text/t140 after its MIMEregistration, and another for use between PSTN gateways called audio/t140c.registration. 3.1 Motivations and rationale The text/t140 format is intended to be used for text transmitted on a separate RTP session dedicated for the transmission of text and not shared with other media.Devices implementing payloads according to this memo MUST support text/t140.The text/t140 formatSHALLMAY be used for any non-gatewayapplication. It MAY also be used between transitapplication as well as in gateways. It MAY be used simultaneously with other media streams, transmitted as a separate RTP session, as required in real time multimedia applications. The text/t140 format specified in this memo is compatible with its earlier definition in RFC2793. It is just refined, with the main intention to minimize interoperability problems and encourage good reliability and functionality. By specifying text transmission as a text medium, many good effects are gained. Routing, device selection, invocation of transcoding, selection of quality of service parameters and other high and low level functions are depending on each medium being explicitly specified.The audio/t140c3.2 Payload Format for Transmission of text/t140 Data A text/t140 conversation RTP payloadspecification is intendedformat consists of one and only one block of T.140 data, referred toallow gateways thatas a "T140block" (see section 3.3). There areinterconnecting two PSTN networksno additional headers specific tointerleave, through a singlethis payload format. The fields in the RTPsession, audio andheader are set as defined in section 3.5. 3.3 The "T140block" T.140 textdata received on the PSTN circuit. Thisiscomparable to the way in which DTMF is extracted and transmitted within an RTP session [15]. Hellstrom & Jones Expires - January 2005 [Page 4] Internet-Draft RTP Payload for Text Conversation July 2004 The audio/t140c format is OPTIONAL and SHALL NOT be used for other applications than PSTN gateway applications. In such applications, a specific profiling document MAY make it REQUIRED for a specific application. The reason to prefer to use audio/t140c could be for gateway application where the ports is a limited and scarce resource. 3.2 Payload Format for Transmission of text/t140 Data A text/t140 conversation RTP payload format consists of one and only one block of T.140 data, referred to as a "T140block" (see section 3.4). There are no additional headers specific to this payload format. The fields in the RTP header are set as defined in section 3.7. 3.3 Payload Format for Transmission of audio/t140c Data An audio/t140c conversation RTP payload format consists of a 16-bit "T140block counter" carried in network byte order (see RFC 791 [12] Annex B), followed by one and only one "T140block" (see section 3.4). The fields in the RTP header are set as defined in section 3.7. The T140block counter MUST be initialized to zero the first time that a packet containing a T140block is transmitted and MUST be incremented by 1 each time that a new block is transmitted. Once the counter reaches the value 0xFFFF, the counter is reset to 0 the next time the counter is incremented. This T140block counter is used to detect lost blocks and to avoid duplication of blocks. For the purposes of readability, the remainder of this document only refers to the T140block without making explicit reference to the T140block counter. Readers should understand that when using the audio/t140c format, the T140block counter MUST always precede the actual T140block, including redundant data transmissions. 3.4 The "T140block" T.140 text is UTF-8 coded as specifiedUTF-8 coded as specified in T.140 with no extra framing. The T140block contains one or more T.140 code elements as specified in [1]. Most T.140 code elements are single ISO 10646 [5] characters, but some are multiple character sequences. EachcharacterHellstrom & Jones Expires - February 2005 [Page 4] Internet-Draft RTP Payload for Text Conversation August 2004 character is UTF-8 encoded [6] into one or more octets. Each block MUST contain an integral number of UTF-8 encoded characters regardless of the number of octets per character. Any composite character sequence (CCS) SHOULD be placed within one block.3.53.4 Synchronization of Text with Other MediaHellstrom & Jones Expires - January 2005 [Page 5] Internet-Draft RTP Payload for Text Conversation July 2004Usually, each medium in a session utilizes a separate RTP stream. As such, if synchronization of the text and other media packets is important, the streams MUST be associated when the sessions are established and the streams MUST share the same reference clock (refer to the description of the timestamp field as it relates to synchronization in section 5.1 of RFC3550).3550 [2]). Association of RTP streams can be done through the CNAME field of RTCP SDES function. It is dependent on the particular application and is outside the scope of this document.3.6 Synchronization considerations for the audio/t140c format. When audio/t140c is used, it is generally transmitted as interleaved packets between voice packets or other kinds of audio packets3.5 RTP packet header Each RTP packet starts with a fixed RTP header. The following fields of theintention to create one common audio signal in the receiving equipment to be usedRTP fixed header are specified foralternating betweenT.140 textand voice.streams: Payload Type (PT): Theaudio/t140cassignment of an RTP payload type isthen used to play out audio signals accordingspecific toa PSTN textphone coding method (usually a modem). One should observethe RTPtimestamps of the voice, text, or other audio packets in order to reproduce the stream correctly when playing out the audio. Note also,profile under which this payload format is used. For profiles thatincoming text from a PSTN circuit might be at a higher bit-rate thanuse dynamic payload type number assignment, this payload format can beplayed out on an egress PSTN circuit. As such, it is possible that, on the egress side, a gateway may not complete the play out ofidentified by thetext packets before itMIME type "text/t140" (see section 10). If redundancy istimeused per RFC 2198, another payload type number needs toplay the next voice packet. Given that this application is primarilybe provided for thebenefit of usersredundancy format. The MIME type for identifying RFC 2198 is available in RFC YYYY [9]. Sequence number: The definition ofPSTN textphone devices, itsequence numbers isstrongly RECOMMENDED that all receivedavailable in RFC 3550 [2]. When transmitting textpackets be properly reproduced onusing theegress gateway before considering any other subsequent audio packets. If necessary, voicepayload format for text/t140, it is used for detection of packet loss andother audiopacketsshouldout of order, and can bediscardedused inorder to properly reproducethe process of retrieval of redundant text, reordering of textsignals onand marking missing text. Timestamp: The RTP Timestamp encodes thePSTN circuit, even ifapproximate instance of entry of the primary textpackets arrive late. The PSTN textphone users commonly use turn-taking indicatorsin thetext stream, so it can be expected that as long as text is transmitted, it is valid text and should be given priority over voice. Note that the usual RTP semantics apply with regards to switching payload formats within an RTP session.packet. Asender MAY switch between "audio/t140c" and some other format within an RTP session, butclock frequency of 1000 Hz MUST be used. Sequential packets MUST NOTsend overlapping data using two different audio formats within an RTP session. This doesuse the same timestamp. Since packets do notprohibit an implementation from being split into two logical partsrepresent any constant duration, the timestamp cannot be used tosend overlapping data, each part usingdirectly infer packet loss. M-bit: The M-bit MUST be included. The first packet in adifferent SSRC and sending its own RTPsession, andRTCP (suchthe first packet after anend point will appear to othersidle period, SHOULD be distinguished by setting the marker bit in thesession as two participants with different SSRC, butRTP data header to one. The marker bit in all other packets MUST be set to zero. The reception of thesame RTCP SDES CNAME). Further detailsmarker bit MAY be used for refined methods for detection of loss. Hellstrom & Jones Expires -JanuaryFebruary 2005 [Page6]5] Internet-Draft RTP Payload for Text ConversationJulyAugust 2004around using multiple payloads in an RTP session can4. Protection against loss of data Consideration must befound in RFC 3550 [2]. 3.7 RTP packet header Each RTP packet starts with a fixed RTP header. The following fieldsdevoted to keeping loss ofthe RTP fixed header are specified for T.140textstreams: Payload Type (PT):caused by packet loss within acceptable limits. (See ITU-T F.703 [17]) Theassignment of an RTP payload typedefault method that MUST be used when no other method isspecific to the RTP profile under which this payload formatexplicitly selected isused. For profiles that use dynamic payload type number assignment,redundancy in accordance with RFC 2198 [3]. When thispayload format can be identified bymethod is used, theMIME types "text/t140"original text and"audio/t140c" (see section 10). Iftwo redundant generations SHOULD be transmitted if the application or end-to-end conditions do not call for other levels of redundancyis usedto be used. Forward Error Correction mechanisms as per RFC2198, another payload type number needs2733 [8] or any other mechanism with the purpose of increasing the reliability of text transmission MAY be used as an alternative or complement to redundancy. Text data MAY beprovided forsent without additional protection if end-to-end network conditions allow theredundancy format. MIME types for identifying RFC 2198 are availabletext quality requirements specified inRFC 3555 and RFC YYYY [9]. Sequence number: The definition of sequence numbers is availableITU-T F.703 [17] to be met inRFC 3550 [2].all anticipated load conditions. 4.1 Payload Format when using Redundancy Whentransmitting textusing the payload formatfor text/t140, it is used for detection of packet loss and packets out of order, and can be used inwith redundant data, theprocess of retrievaltransmitter may select a number ofredundant text, reorderingT140block generations to retransmit in each packet. A higher number introduces better protection against loss of textand marking missing text. Character loss is detected through the T140block counter when usingbut marginally increases theaudio/t140c payload format. Timestamp:data rate. The RTPTimestamp encodes the approximate instanceheader is followed by one or more redundant data block headers, one for each redundant data block to be included. Each ofentrythese headers provides the timestamp offset and length of theprimary text incorresponding data block plus a payload type number indicating thepacket. A clock frequency of 1000 Hz MUST be used forpayload format text/t140.For audio/t140c,After theclock frequency MAY be set to any value,redundant data block headers follows the redundant data fields carrying T140blocks from previous packets, andSHOULD be set tofinally thesame value asnew (primary) T140block forany audio packets in the same RTP stream in order to avoid RTPthis packet. Redundant data that would need a timestamprate switching. The value SHOULD be set by out of band mechanisms. Sequential packetsoffset higher than 16383 due to its age at transmission MUST NOTusebe included in transmitted packets. 4.2 Using redundancy with thesame timestamp.text/t140 format. Sincepackets do not represent any constant duration,text is transmitted only when there is text to transmit, the timestampcannot beis not used todirectly infer packet loss. M-bit: The M-bit MUST be included. The first packet inidentify asession, and the first packet after an idle period, SHOULD be distinguished by setting the marker bit in the RTP data headerlost packet. Rather, missing sequence numbers are used toone. The marker bit in all otherdetect lost text packetsMUSTat reception. Also, since sequence numbers are not provided in the redundant header, some additional rules must besetfollowed tozero. The reception ofallow themarker bit MAY be used for refined methods for detection of loss. 4. Protection against loss ofredundant data corresponding to missing primary dataConsideration must be devotedtokeeping loss of text caused by packet loss within acceptable limits. (See ITU-T F.700 Annex 3. [17]) The default method that MUSTbeused when no other method is explicitly selected is redundancy in accordance with RFC 2198 [3].merged Hellstrom & Jones Expires -JanuaryFebruary 2005 [Page7]6] Internet-Draft RTP Payload for Text ConversationJulyAugust 2004When this method is used,properly into theoriginal text and twostream of primary data T140blocks. They are: - Each redundantgenerations SHOULD be transmitted ifdata block MUST contain theapplication or end-to-end conditions do not call for other levels of redundancy to be used. Other protection methods MAY be used. Forward Error Correction mechanismssame data asper RFC 2733 [8] or any other mechanism with the purpose of increasing the reliability of text transmission MAY be useda T140block previously transmitted asan alternative or complement to redundancy. If end-to-end network conditions allow, textprimary data. - The redundant dataMAYMUST besent without additional protection. 4.1 Payload Format when using Redundancy When using the formatplaced in age order with most recent redundantdata, the transmitter may select a number ofT140blockgenerations to retransmit in each packet. A higher number introduces better protection against loss of text but marginally increases the data rate. The RTP header is followed by one or more redundant data block headers, one for each redundant data block to be included. Each of these headers provides the timestamp offset and length of the corresponding data block plus a payload type number indicating the payload format text/t140 or audio/t140c. After the redundant data block headers follows the redundant data fields carrying T140blocks from previous packets, and finally the new (primary) T140block for this packet. The exact payload format is slightly different for the text/t140 format and for the audio/t140c format. Redundant data that would need a timestamp offset higher than 16383 due to its age at transmission MUST NOT be included in transmitted packets. 4.2 Using redundancy with the text/t140 format. Since text is transmitted only when there is text to transmit, the timestamp is not used to identify a lost packet. Rather, missing sequence numbers are used to detect lost text packets at reception. Also, since sequence numbers are not provided in the redundant header, some additional rules must be followed to allow the redundant data corresponding to missing primary data to be merged properly into the stream of primary data T140blocks when using the text/t140 payload format. They are: - Each redundant data block MUST contain the same data as a T140block previously transmitted as primary data. - The redundant data MUST be placed in age order with most recent redundant T140block lastlast in the redundancy area.Hellstrom & Jones Expires - January 2005 [Page 8] Internet-Draft RTP Payload for Text Conversation July 2004- All T140blocks from the oldest desired generation up through the generation immediately preceding the new (primary) T140block MUST be included. These rules allow the sequence numbers for the redundant T140blocks to be inferred by counting backwards from the sequence number in the RTP header. The result will be that all the text in the payload will be contiguous and in order. If there is a gap in the received RTP sequencenumbers for text/t140,numbers, and redundant T140blocks are available in a subsequent packet, the sequence numbers for the redundant T140blocks should be inferred by counting backwards from the sequence number in the RTP header for that packet. If there are redundant T140blocks with sequence numbers matching those that are missing, the redundant T140blocks may be substituted for the missing T140blocks.4.3 Using redundancy with the audio/t140c format Since sequence numbers are not provided in the redundant header and since the sequence number space is shared by all audio payload types within an RTP session, a sequence number in the form of a T140block counter is added to the T140block for transmission. This allows the redundant T140block data corresponding to missing primary data to be retrieved and used properly into the stream of received T140block data when using the audio/t140c payload format. All non-empty redundant data block MUST contain the same data as a T140block previously transmitted as primary data, and be identified with a T140block counter equating to the original T140block counter for that T140block. The T140block counters preceding the text in the T140block, enables the ordering by the receiver. If there is a gap in the T140block counter value of received audio/t140c packets, and if there are redundant T140blocks with T140block counters matching those that are missing, the redundant T140blocks may be substituted for the missing T140blocks. The value of the length field in the redundant header indicates the length of the concatenated T140block counter and the T140block.5. Recommended Procedure This section contains RECOMMENDED procedures for usage of the payload format. Based on the information in the received packets, the receiver can: - reorder text received out of order. - mark where text is missing because of packet loss. - compensate for lost packets by using redundant data.Hellstrom & Jones Expires - January 2005 [Page 9] Internet-Draft RTP Payload for Text Conversation July 20045.1 Recommended Basic Procedure Packets are transmitted when there is valid T.140 data to transmit. T.140 specifies that T.140 data MAY be buffered for transmission with a maximum buffering time of 500 ms. A buffering time of 300 ms is RECOMMENDED, when the application or end-to-end network conditions are not known to require another value. If no new data is available for a longer period than the buffering time, the transmission process is in an idle period. When new text is available for transmission after an idle period, it is RECOMMENDED to send it as soon as possible. After this transmission, it is RECOMMENDED to buffer T.140 data in buffering time intervals, until next idle period. This is done in order to Hellstrom & Jones Expires - February 2005 [Page 7] Internet-Draft RTP Payload for Text Conversation August 2004 keep the maximum bit rate usage for text at a reasonable level. The buffering time MUST be selected so that text users will perceive a real time text flow. 5.2 Transmission before and after"Silent"Idle Periods". When valid T.140 data has been sent and no new T.140 data is available for transmission after the selected buffering time, an empty T140block SHOULD be transmitted. This situation is regarded to be the beginning of an idle period. The procedure is recommended in order to more rapidly detect potentially missing text before an idleperiod or when the audio stream switches from the transmission of audio/t140c to some other form of audio.period. An empty T140block contains nodata, neither T.140 data nor a T140block counter.data. When redundancy is used, transmission continues with a packet at every transmission timer expiration and insertion of an empty T.140block as primary, until the last non-empty T140block has been transmitted as primary and as redundant data with all intended generations of redundancy. The last packet before an idle period will contain only one non-empty T140block as redundant data, while the remainder of the redundancy packet will contain empty T140blocks.When using the text/t140 payload format, anyAny empty T140block that is sent as primary data MUST be included as redundant T140blocks in subsequent packets just as normal text T140blocks would be, unless the empty T140block is too old to be transmitted. This is done so that sequence number inference for the redundant T140blocks will be correct, as explained in section 4.2.Hellstrom & Jones Expires - January 2005 [Page 10] Internet-Draft RTP Payload for Text Conversation July 2004 When usingAfter an idle period, theaudio/t140c payload format, empty T140blocks sent as primary data SHOULD NOT be included as redundant T140blocks, as it would simply be a waste of bandwidth to send them and it would introduce a risk of false detection of loss. After an idle period, the transmittertransmitter SHOULD set the M-bit to one in the first packet with new text. 5.3 Detection of Lost Text Packets Packet loss for text/t140 packets MAY be detected by observing gaps in the sequence numbers of RTP packets received by the receiver. Withaudio/t140c, however, packets following a text packet might be audio packets of a format other than audio/t140c, so from observing sequence number gaps it is not possible to tell what medium was lost. Rather, receivers detect the loss of an audio/t140c packet by observing the value of the T140block counter in a subsequent audio/t140c packet. Withtext/t140 the loss of packets is usually detected by comparison of the sequence of RTP packets as they arrive. Any discrepancy MAY be used to indicate loss. The highest RTP sequence number received may also be compared with that in RTCP reports, as an additional check for loss of the last packet before an idle period. Missing data SHOULD be marked by insertion of a missing text marker in the received stream for each missing T140block, as specified in ITU-T T.140 Addendum 1 [1]. Since empty T140blocks are transmitted in the beginning of an idle period, there is a slight risk of falsely marking loss of text, Hellstrom & Jones Expires - February 2005 [Page 8] Internet-Draft RTP Payload for Text Conversation August 2004 when only an empty T140block was lost and when using text/t140. Procedures based on detection of the packet with the M-bit set to one MAY be used to reduce the risk for introducing false markers of loss.False detection will be avoided when using audio/t140c by observing the value of the T140block counter value.If redundancy is used with the text/t140 format, and a packet is received with fewer redundancy levels than normally in the session, it SHOULD be treated as if one empty T140block has been received for each excluded level in the received packet. This is because the only occasion when a T140block is excluded from transmission is when it is an empty T140block that has become too old to be transmitted. If two successive packets have the same number of redundant generations, it SHOULD be treated as the general redundancy level for the session. Change of the general redundancy level SHOULD only be done after an idle period.Hellstrom & Jones Expires - January 2005 [Page 11] Internet-Draft RTP Payload for Text Conversation July 2004The text/t140 format relies on use of the sequence number in the RTP packet header for detection of loss and is therefore not suitable for an application where it needs to be alternating with other payloads in the same RTP stream. It would be complicated and unreliable to try to detect loss of data at the edges of the shifts between t140 text and other stream contents. It is therefore RECOMMENDED to be the only payload type in the RTP stream. 5.4 Compensation for Packets Out of Order For protection against packets arriving out of order, the following procedure MAY be implemented in the receiver. If analysis of a received packet reveals a gap in the sequence and no redundant data is available to fill that gap, the received packet SHOULD be kept in a buffer to allow time for the missing packet(s) to arrive. It is RECOMMENDED that the waiting time be limited to 1 second. If a packet with a T140block belonging to the gap arrives before the waiting time expires, this T140block is inserted into the gap and then consecutive T140blocks from the leading edge of the gap may be consumed. Any T140block which does not arrive before the time limit expires should be treated as lost and a missing text marker inserted ( see section 5.3 ). 6. Parameter for Character Transmission Rate In some cases, it is necessary to limit the rate at which characters are transmitted. For example, when a PSTN gateway is interworking between an IP device and a PSTN textphone, it may be necessary to limit the character rate from the IP device in order to avoid throwing away characters in case of buffer overflow at the PSTN gateway. Hellstrom & Jones Expires - February 2005 [Page 9] Internet-Draft RTP Payload for Text Conversation August 2004 To control the character transmission rate, the MIME parameter "cps" in the "fmtp" attribute [7] is defined (see section 10 ). It is used in SDP with the following syntax: a=fmtp:<format> cps=<integer> The <format> field is populated with the payload type that is used for text. The <integer> field contains an integer representing the maximum number of characters that may be received per second. The value shall be used as a mean value over any 10 second interval. The default value is 30. Examples of use in SDP are found in section7.3. Hellstrom & Jones Expires - January 2005 [Page 12] Internet-Draft RTP Payload for Text Conversation July 20047.2. In receipt of this parameter, devices MUST adhere to the request by transmitting characters at a rate at or below the specified <integer> value. Note that this parameter was not defined in RFC 2793 [16]. Therefore implementations of the text/t140 format may be in use that do not recognize and act according to this parameter. Receivers of text/t140 SHALL therefore be designed so that they can handle temporary reception of characters at a higher rate than this parameter specifies, so that malfunction because of buffer overflow is avoidedfor text conversation with human input. 7. Examples 7.1 RTP Packetization Examples for the text/t140 format. Below is an example of a text/t140 RTP packet without redundancy. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M| T140 PT | sequence number | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp (1000Hz) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | T.140 encoded data | + +---------------+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Below is an example of a text/t140 RTP packet with one redundant T140block. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M| "RED" PT | sequence number of primary | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp of primary encoding "P" | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| T140 PT | timestamp offset of "R" | "R" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| T140 PT | "R" T.140 encoded redundant data | +-+-+-+-+-+-+-+-+ +---------------+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+ | "P" T.140 encoded primary data | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Below is an example of an RTP packet with one redundant T140block Hellstrom & Jones Expires - January 2005 [Page 13] Internet-Draft RTP Payload for Text Conversation July 2004 using text/t140 payload format. The primary data block is empty, which is the case when transmitting a packet for the sole purpose of forcing the redundant data to be transmitted in the absence of any new data. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M| "RED" PT | sequence number of primary | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp of primary encoding "P" | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| T140 PT | timestamp offset of "R" | "R" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| T140 PT | "R" T.140 encoded redundant data | +-+-+-+-+-+-+-+-+ +---------------+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ As a follow-on to the previous example, the example below shows the next RTP packet in the sequence which does contain a real T140block when using the text/t140 payload format. Note that the empty block is present in the redundant transmissions offor text conversation with human input. 7. Examples 7.1 RTP Packetization Examples for the text/t140payloadformat.ThisBelow is an exampleshows 2 levels of redundancy and one primary data block. The valueofthe "R2 block length" would be set to zero in order to represent the empty T140block.a text/t140 RTP packet without redundancy. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M|"RED"T140 PT | sequence numberof primary| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestampof primary encoding "P"(1000Hz) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|1| T140 PT | timestamp offset of "R2" | "R2" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| T140 PT | timestamp offset of "R1" | "R1" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| T140 PT|"R1"T.140 encodedredundantdata |+-+-+-+-+-+-+-+-++ +---------------+| | |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+ | "P" T.140 encoded primary data | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Hellstrom & Jones Expires - January 2005 [Page 14] Internet-Draft RTP Payload for Text Conversation July 2004 7.2 RTP Packetization Examples for the audio/t140c formatBelow is an example ofan audio/t140ca text/t140 RTP packetwithout redundancy.with one redundant T140block. 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M|T140c"RED" PT | sequence number of primary | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp(8000Hz)of primary encoding "P" | Hellstrom & Jones Expires - February 2005 [Page 10] Internet-Draft RTP Payload for Text Conversation August 2004 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1| T140 PT |T140block countertimestamp offset of "R" | "R" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| T140 PT | "R" T.140 encoded redundant data |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+ +---------------+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+ | "P" T.140 encoded primary data | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Below is an example of an RTP packet with one redundant T140block usingaudio/t140ctext/t140 payload format. The primary data block is empty, which is the case when transmitting a packet for the sole purpose of forcing the redundant data to be transmitted in the absence of any new data.Note that since this is the audio/t140c payload format, the redundant block of T.140 data is immediately preceded with a T140block counter.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M| "RED" PT | sequence number of primary | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp of primary encoding "P" | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1|T140cT140 PT | timestamp offset of "R" | "R" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0|T140cT140 PT | "R"T140block counter | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | "R"T.140 encoded redundant data |++-+-+-+-+-+-+-+-+ +---------------+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ As a follow-on to the previous example, the example below shows the next RTP packet in the sequence which does contain anewreal T140block when using theaudio/t140ctext/t140 payload format. Note that the empty block is present in the redundant transmissions of the text/t140 payload format. This examplehasshows 2 levels of redundancy andone primary data block. Since the previous primary block was empty, no redundantone primary datais included for thatblock.This is because when usingThe value of the "R2 block length" would be set to zero in order to represent the empty T140block. Hellstrom & Jones Expires -JanuaryFebruary 2005 [Page15]11] Internet-Draft RTP Payload for Text ConversationJulyAugust 2004audio/t140c payload format, any previously transmitted "empty" T140blocks are NOT included as redundant data in subsequent packets.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |V=2|P|X| CC=0 |M| "RED" PT | sequence number of primary | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | timestamp of primary encoding "P" | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | synchronization source (SSRC) identifier | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1|T140cT140 PT | timestamp offset of"R1""R2" |"R1""R2" block length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|0| T140c|1| T140 PT | timestamp offset of "R1"T140block counter| "R1" block length |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ++-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |0| T140 PT | "R1" T.140 encoded redundant data |++-+-+-+-+-+-+-+-+ +---------------+ | |"P" T140block | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|counter+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+ | "P" T.140 encoded primary data |+-+-+-+-+-+-+-+-+ + | | + +---------------+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 7.3+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 7.2 SDP Examples Below is an example of SDP describing RTP text transport on port 11000: m=text 11000 RTP/AVP 98 a=rtpmap:98 t140/1000 Below is an example of SDP similar to the above example, but also utilizing RFC 2198 to provide the recommended two levels of redundancy for the text packets: m=text 11000 RTP/AVP 98 100 a=rtpmap:98 t140/1000 a=rtpmap:100 red/1000 a=fmtp:100 98/98/98Below is an example of SDP describing RTP text interleaved with G.711 audio packets within the same RTP session from port 7200 and at a maximum text rate of 6 characters per second: Hellstrom & Jones Expires - January 2005 [Page 16] Internet-Draft RTP Payload for Text Conversation July 2004 m=audio 7200 RTP/AVP 0 98 a=rtpmap:98 t140c/8000 a=fmtp:98 cps=6 Below is an example using RFC 2198 to provide the recommended two levels of redundancy to the text packets in an RTP session with interleaving text and G.711 at a text rate no faster than 20 characters per second: m=audio 7200 RTP/AVP 0 98 100 a=rtpmap:98 t140c/8000 a=fmtp:98 cps=20 a=rtpmap:100 red/8000 a=fmtp:100 98/98/98Note - While these examples utilize the RTP/AVP profile, it is not intended to limit the scope of this memo to use with only that profile. Rather, any appropriate profile may be used in conjunction with this memo. 8. Security Considerations All of the security considerations from section 14 of RFC 3550 [2] apply. Hellstrom & Jones Expires - February 2005 [Page 12] Internet-Draft RTP Payload for Text Conversation August 2004 8.1 Confidentiality Since the intention of the described payload format is to carry text in a text conversation, security measures in the form of encryption are of importance. The amount of data in a text conversation session is low and therefore any encryption method MAY be selected and applied to T.140 session contents or to the whole RTP packets. SRTP [14] provides a suitable method for ensuring confidentiality. 8.2 Integrity It may be desirable to protect the text contents of an RTP stream against manipulation. SRTP [14] provides methods for providing integrity that MAY be applied. 8.3 Source authentication Measures to make sure that the source of text is the intended one can be accomplished by a combination of methods. Text streams are usually used in a multimedia control environment. Security measures for authentication are available and SHOULD be applied in the registration and session establishment procedures, so that the identity of the sender of the text stream is reliably associated with the person or device setting up the session. OnceHellstrom & Jones Expires - January 2005 [Page 17] Internet-Draft RTP Payload for Text Conversation July 2004established, SRTP [14] mechanisms MAY be applied to ascertain that the source is maintained the same during the session. 9. Congestion Considerations The congestion considerations from section 10 of RFC 3550 [2], section 6 of RFC 2198 [3] and any used profile, e.g. the section about congestion in chapter 2 of RFC 3551 [11] apply with the following application specific considerations. Automated systems MUST NOT use this format to send large amounts of text at a rate significantly above that which a human user could enter. Even if the network load from users of text conversation is usually very low, for best-effort networks an application MUST monitor the packet loss rate and take appropriate actions to reduce its sending rate if this application sends at higher rate than what TCP would achieve over the same path. The reason is that this application, due to its recommended usage of two or more redundancy levels, is very robust against packet loss. At the same time, due to the low bit-rate of text conversations, if one considers the discussion in RFC 3714 [13], this application will experience very high packet loss rates before it needs to perform any reduction in the sending rate. Hellstrom & Jones Expires - February 2005 [Page 13] Internet-Draft RTP Payload for Text Conversation August 2004 If the application needs to reduce its sending rate, it SHOULD NOT reduce the number of redundancy levels below the default amount specified in section 4. Instead, the following actions are RECOMMENDED in order of priority: - Increase the shortest time between transmissions described in section 5.1 from the recommended 300 ms to 500 ms that is the highest value allowable according to T.140. - Limit the maximum rate of characters transmitted. - Increase the shortest time between transmissions to a higher value, not higher than 5 seconds. This will cause unpleasant delays in transmission, beyond what is allowed according to T.140, but text will still be conveyed in the session with some usability. - Exclude participants from the session. Please note that if the reduction in bit-rate achieved through the above measures are not sufficient, the only remaining action is to terminate the session. As guidance, some load figures are providedhere. Hellstrom & Jones Expires - January 2005 [Page 18] Internet-Draft RTP Payload for Text Conversation July 2004here as examples based on use of IPv4, including the load from IP, UDP and RTP headers without compression. -Experience tells that a common mean character transmission rate during a complete PSTN text telephony session in reality is around 2 characters per second. -A maximum performance of 20 characters per second is enough even for voice to text applications. -With the (unusually high) load of 20 characters per second, in a language that make use of three octets UTF-8 characters,no header compression,two redundant levels and 300 ms between transmissions, the maximum load of this application is 3300 bits/s. -When the restrictions mentioned above are applied, limiting transmission to 10 characters per second, using 5 s between transmissions, the maximum load of this application in a language that uses one octet per UTF-8 character is 300 bits/s. Note also, that this payload can be used in a congested situation as a last resort to maintain some contact when audio and video media need to be stopped. The availability of one low bit-rate stream for text in such adverse situations may be crucial for maintaining some communication in a critical situation. Hellstrom & Jones Expires - February 2005 [Page 14] Internet-Draft RTP Payload for Text Conversation August 2004 10. IANA considerations This document definestwoone RTPpayloadspayload format named "t140" and"t140c" and twoan associated MIMEtypes, "text/t140" and "audio/t140c",type "text/t140", to be registered by IANA. 10.1 Registration of MIME Media Type text/t140 MIME media type name: text MIME subtype name: t140 Required parameters: rate: The RTPtimestamp clock rate, which is equal to the sampling rate. The only valid value is 1000. Optional parameters: cps: The maximum number of characters that may be received per second. The deafult value is 30. Encoding considerations: T.140 text can be transmitted with RTP as specified in RFC XXXX. Security considerations: See section 8 of RFC XXXX. Interoperability considerations: This format is the same as specified in RFC2793. For RFC2793 the "cps=" parameter was not defined. Therefore there may be implementations that do not Hellstrom & Jones Expires - January 2005 [Page 19] Internet-Draft RTP Payload for Text Conversation July 2004 consider this parameter. Receivers need to take that into account. Published specification: ITU-T T.140 Recommendation. RFC XXXX. Applications which use this media type: Text communication terminals and text conferencing tools. Additional information: This type is only defined for transfer via RTP. Magic number(s): None File extension(s): None Macintosh File Type Code(s): None Person & email address to contact for further information: Gunnar Hellstrom E-mail: gunnar.hellstrom@omnitor.se Intended usage: COMMON Author / Change controller: Gunnar Hellstrom | IETF avt WG gunnar.hellstrom@omnitor.se | 10.2 Registration of MIME Media Type audio/t140c MIME media type name: audio MIME subtype name: t140c Required parameters: rate: The RTP timestamp clock rate, which is equal to the sampling rate. This parameter SHOULD have the same value as for any audio codec packets interleaved in the same RTP stream.timestamp clock rate, which is equal to the sampling rate. The only valid value is 1000. Optional parameters: cps: The maximum number of characters that may be received per second. The deafult value is 30. Encoding considerations: T.140 text can be transmitted with RTP as specified in RFC XXXX. Security considerations: See section 8 of RFC XXXX. Interoperability considerations:NoneThis format is the same as specified in RFC2793. For RFC2793 the "cps=" parameter was not defined. Therefore there may be implementations that do not consider this parameter. Receivers need to take that into account. Published specification: ITU-T T.140 Recommendation. RFC XXXX.Hellstrom & Jones Expires - January 2005 [Page 20] Internet-Draft RTP Payload for Text Conversation July 2004Applications which use this media type: Text communicationsystemsterminals and text conferencingtools that transmit text associated with audio and within the same RTP session as the audio, such as PSTN gateways that transmit audio and text signals between two PSTN textphone users over an IP network.tools. Additional information: This type is only defined for transfer via RTP. Magic number(s): None File extension(s): None Macintosh File Type Code(s): None Person & email address to contact for further information:Paul E. JonesGunnar Hellstrom E-mail:paulej@packetizer.comgunnar.hellstrom@omnitor.se Intended usage: COMMON Author / Change controller:Paul E. JonesGunnar Hellstrom | IETF avt WGpaulej@packetizer.comHellstrom & Jones Expires - February 2005 [Page 15] Internet-Draft RTP Payload for Text Conversation August 2004 gunnar.hellstrom@omnitor.se |10.310.2 SDP mapping of MIME parameters The information carried in the MIME media type specification has a specific mapping to fields in the Session Description Protocol (SDP) [7], which is commonly used to describe RTP sessions. When SDP is used to specify sessions employing the text/t140or audio/t140cformat, the mapping is as follows: - The MIME type("text")("text" ) goes in SDP "m=" as the media name. - The MIME subtype (payload format name) goes in SDP "a=rtpmap" as the encoding name. The RTP clock rate in "a=rtpmap" MUST be 1000 for text/t140.For audio/t140c, the clock rate MAY be set to any value, and SHOULD be set to the same value as for any audio packets in the same RTP stream.- The parameter "cps" goes in SDP "a=fmtp" attribute. - When the payload type is used with redundancy according to RFC 2198, the level of redundancy is shown by the number of elements in the slash-separated payload type list in the "fmtp" parameter of the redundancy declaration as defined in RFC YYYY [9] and RFC 2198 [3].10.410.3 Offer/Answer ConsiderationHellstrom & Jones Expires - January 2005 [Page 21] Internet-Draft RTP Payload for Text Conversation July 2004In order to achieve interoperability within the framework of the offer/answer model [10], the following consideration should be made: - The "cps" parameter is declarative. Both sides may provide a value, which is independent of the other side. 11. Authors' Addresses Gunnar Hellstrom Omnitor AB Renathvagen 2 SE-121 37 Johanneshov Sweden Phone: +46 708 204 288 / +46 8 556 002 03 Fax: +46 8 556 002 06 E-mail: gunnar.hellstrom@omnitor.se Paul E. Jones Cisco Systems, Inc. 7025 Kit Creek Rd. Research Triangle Park, NC 27709 USA Phone: +1 919 392 6948 Hellstrom & Jones Expires - February 2005 [Page 16] Internet-Draft RTP Payload for Text Conversation August 2004 E-mail: paulej@packetizer.com 12. Acknowledgements The authors want to thank Stephen Casner, Magnus Westerlund and Colin Perkins for valuable support with reviews and advice on creation of this document, to Mickey Nasiri at Ericsson Mobile Communication for providing the development environment, Michele Mizarro for verification of the usability of the payload format for its intended purpose, and Andreas Piirimets for editingsupport.support and validation. 13. Normative References [1] ITU-T Recommendation T.140 (1998) - Text conversation protocol for multimedia application, with amendment 1, (2000). [2] Schulzrinne, H., Casner, S., Frederick, R. and V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications", RFC 3550, July 2003. [3] Perkins, C., Kouvelas, I., Hardman, V., Handley, M. and J. Bolot, "RTP Payload for Redundant Audio Data", RFC 2198, September 1997. [4] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.Hellstrom & Jones Expires - January 2005 [Page 22] Internet-Draft RTP Payload for Text Conversation July 2004[5] ISO/IEC 10646-1: (1993), Universal Multiple Octet Coded Character Set. [6] Yergeau, F., "UTF-8, a transformation format of ISO 10646", RFC 3629, December 2003. [7] Handley, M., Jacobson, V., "SDP: Session Description Protocol", RFC 2327, April 1998. [8] Rosenberg, J., Schulzrinne, H., "An RTP Payload Format for Generic Forward Error Correction", RFC 2733, December 1999. [9] Jones, P. , "Registration of the text/red MIME Sub-Type", draft-ietf-avt-text-red, RFC YYYY, 2004. [10] Rosenberg, J., Schulzrinne, H., "An Offer/Answer Model with the Session Description Protocol (SDP)", RFC 3264, June 2002. [11] Schultzrinne, J., Perkins, C., "RTP Profile for Audio and Video Conference with Minimal Control", RFC 3551, July 2003. [12] Postel, J.,"Internet Protocol", RFC 791, 1981. Hellstrom & Jones Expires - February 2005 [Page 17] Internet-Draft RTP Payload for Text Conversation August 2004 14. Informative References [13] Floyd, S., Kempf, J., IAB Concerns Regarding Congestion Control for Voice Traffic in the Internet, RFC 3714,March 2004 [14] Baugher, McGrew, Carrara, Naslund, Norrman, The Secure Real- Time Transport Protocol (SRTP), RFC 3711, March 2004. [15] Schulzrinne, H., Petrack, S., "RTP Payload for DTMF Digits, Telephony Tones and Telephony Signals", RFC 2833, May 2000. [16] Hellstrom, G., "RTP Payload for text conversation.", RFC2793, 2000 [17] ITU-T RecommendationF.700, Annex 3. Framework Recommendation for multimedia services,F.703, Multimedia Conversational Services, Nov 2000. 15. Intellectual Property Statement The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the IETF's procedures with respect to rights in IETF Documents can be found in RFC 3667 (BCP 78) and RFC 3668 (BCP 79).Hellstrom & Jones Expires - January 2005 [Page 23] Internet-Draft RTP Payload for Text Conversation July 2004Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. 16. Copyright Statement Copyright (C) The Internet Society (2004). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. Disclaimer of Validity Hellstrom & Jones Expires - February 2005 [Page 18] Internet-Draft RTP Payload for Text Conversation August 2004 This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Hellstrom & Jones Expires -JanuaryFebruary 2005 [Page24]19] ----