RFC 8865
T.140 Real-Time Text Conversation over WebRTC Data Channels
RFC 8865: T.140 Real-Time Text Conversation over WebRTC Data Channels π
Okay bestie, this one's from January 2021 and it's a Standards Track document from the IETF β¨ It was written by C. Holmberg of Ericsson and G. HellstrΓΆm (Gunnar HellstrΓΆm, Accessible Communication) π. It updates RFC 8373 and doesn't obsolete anything π¦. The ISSN is 2070-1721. Its job is to show how a WebRTC data channel can carry real-time text, and how SDP offer/answer negotiates one of those channels, called a T.140 data channel πΈ
Abstract β¨
This document specifies how a Web Real-Time Communication (WebRTC) data channel can be used as a transport mechanism for real-time text using the ITU-T Protocol for multimedia application text conversation (Recommendation ITU-T T.140) and how the Session Description Protocol (SDP) offer/answer mechanism can be used to negotiate such a data channel, referred to as a T.140 data channel. This document updates RFC 8373 to specify its use with WebRTC data channels.
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 7841.
Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc8865.
Copyright Notice π₯
Copyright (c) 2021 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 (https://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
2. Conventions
3. WebRTC Data Channel Considerations
4. SDP Considerations
4.1. Use of the 'dcmap' Attribute
4.2. Use of the 'dcsa' Attribute
4.2.1. Maximum Character Transmission Rate
4.2.2. Real-Time Text Conversation Languages
4.2.3. Real-Time Text Direction
4.3. Examples
5. T.140 Considerations
5.1. Session-Layer Functions
5.2. Data Encoding and Sending
5.3. Data Buffering
5.4. Loss of T140blocks
5.5. Multi-party Considerations
6. Gateway Considerations
7. Update to RFC 8373
8. Security Considerations
9. IANA Considerations
9.1. Subprotocol Identifier "t140"
9.2. SDP 'fmtp' Attribute
9.3. SDP Language Attributes
9.4. SDP Media Direction Attributes
10. References
10.1. Normative References
10.2. Informative References
Acknowledgements
Authors' Addresses
1. Introduction πΈ
Okay so the ITU-T Protocol for multimedia application text conversation (Recommendation ITU-T T.140) [T140] defines a protocol for text conversation, which is also known as real-time text. On IP networks, the transport is the "RTP Payload for Text Conversation" mechanism [RFC4103], which is built on the Real-time Transport Protocol (RTP) [RFC3550].
This document specifies how a Web Real-Time Communication (WebRTC) data channel [RFC8831] can be used as a transport mechanism for T.140, and how the Session Description Protocol (SDP) offer/answer mechanism for data channels [RFC8864] can be used to negotiate such a data channel.
In this document, a T.140 data channel refers to a WebRTC data channel for which the instantiated subprotocol is "t140" and where the channel is negotiated using the SDP offer/answer mechanism [RFC8864].
π NOTE: Why use a WebRTC data channel instead of RTP-based transport [RFC4103]? It's motivated by use case "U-C 5: Real-time text chat during an audio and/or video call with an individual or with multiple people in a conference". You can find that in Section 3.2 of [RFC8831]. Iconic reasoning π
The brief notation "T.140" is used as a name for the text conversation protocol according to [T140].
Real-time text is meant to be typed by human users on a keyboard, through handwriting recognition, voice recognition, or any other input method. The rate of character entry is usually a few characters per second or less π
Here's the map of the doc: Section 3 defines the generic data channel properties for a T.140 data channel, and Section 4 defines how they are conveyed in an SDP 'dcmap' attribute. This document defines how to negotiate a T.140 data channel using the SDP offer/answer mechanism [RFC8864]. The generic T.140 and gateway considerations defined in Sections 3, 5, and 6 of this document can also be applied when a T.140 data channel is established using another mechanism (for example, the mechanism defined in [RFC8832]). Section 5 of [RFC8864] defines the mapping between the SDP 'dcmap' attribute parameters and the protocol parameters used in [RFC8832] π§
This document updates [RFC8373] by defining how the SDP 'hlang-send' and 'hlang-recv' attributes are used for the "application/webrtc-datachannel" media type.
2. Conventions π
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.
Translation: those capital words are the strict ones, so they carry real weight π Lowercase ones are just regular English.
3. WebRTC Data Channel Considerations π¦
The following WebRTC data channel property values [RFC8831] apply to a T.140 data channel:
+--------------------------+-----------------+
| Subprotocol Identifier | t140 |
+--------------------------+-----------------+
| Transmission reliability | reliable |
+--------------------------+-----------------+
| Transmission order | in-order |
+--------------------------+-----------------+
| Label | See Section 4.1 |
+--------------------------+-----------------+
Table 1
π NOTE: T.140 needs the transport channel to deliver real-time text without duplication and in its original order. So T.140 doesn't define reliable, ordered transmission at the application layer. With RTP-based transport, the RTP sequence number catches packet loss and out-of-order packets, and a redundancy mechanism gets the T.140 data delivered reliably. A WebRTC data channel already has reliable, in-order transmission [RFC8831], so the T.140 data channel doesn't need a redundancy mechanism or any application-level loss and out-of-order detection. The latency of the T.140 data channel is also considered good enough for what T.140 needs π
4. SDP Considerations π
The generic SDP considerations for negotiating a WebRTC data channel are defined in [RFC8864], including the SDP offer/answer procedures [RFC3264]. This section and its subsections define the SDP considerations that are specific to a T.140 data channel. That's identified by the 'subprotocol' attribute parameter with a "t140" parameter value in the 'dcmap' attribute π
4.1. Use of the 'dcmap' Attribute π
An offerer and answerer MUST, in each offer and answer, include an SDP 'dcmap' attribute [RFC8864] in the SDP media description ("m=" section) [RFC4566] that describes the Stream Control Transmission Protocol (SCTP) association [RFC4960] used to realize the T.140 data channel.
The offerer and answerer MUST include the 'subprotocol' attribute parameter, with a "t140" parameter value, in the 'dcmap' attribute.
The offerer and answerer MAY include the 'priority' attribute parameter and the 'label' attribute parameter in the 'dcmap' attribute value, as specified in [RFC8864].
π NOTE: As specified in [RFC8831], when a data channel is negotiated using the mechanism defined in [RFC8832], the 'label' attribute parameter value has to be the same in both directions. That rule applies to data channels negotiated with the mechanism in this document too π«Ά
The offerer and answerer MUST NOT include the 'max-retr' or 'max-time' attribute parameter in the 'dcmap' attribute. If either of those attribute parameters is received in an offer, the answerer MUST reject the offer. If either of those attribute parameters is received in an answer, the offerer MUST NOT accept the answer. Instead, the answerer MUST take appropriate actions, for example, by sending a new offer without a T.140 data channel or by terminating the session. No retransmission limits here, babe π
If the 'ordered' attribute parameter is included in the 'dcmap' attribute, it MUST be assigned the value 'true'.
Below is an example of the 'dcmap' attribute for a T.140 data channel with stream id=3 and without any label:
a=dcmap:3 subprotocol="t140"
4.2. Use of the 'dcsa' Attribute πΈ
An offerer and answerer can, in each offer and answer, include one or more SDP 'dcsa' attributes [RFC8864] in the "m=" section describing the SCTP association used to realize the T.140 data channel.
If an offerer or answerer receives a 'dcsa' attribute that contains an SDP attribute whose usage has not been defined for a T.140 data channel, the offerer or answerer should ignore the 'dcsa' attribute, following the rules in Section 6.7 of [RFC8864]. Ignore it and keep vibing β¨
4.2.1. Maximum Character Transmission Rate
Okay so the dcsa attribute can carry the SDP fmtp attribute π
, and that's how you signal a maximum character transmission rate [RFC4103] π¦. The cps parameter says how fast the endpoint that includes it can receive text, and the value is a mean in characters per second over any 10-second interval β¨. It's giving "average over a window" energy, bestie π«Ά.
If the fmtp attribute is included, the format attribute parameter value MUST be set to t140 π.
If there's no fmtp attribute with a cps parameter, the default value of 30 applies [RFC4103] πΈ.
The offerer and answerer MAY modify the cps parameter value in subsequent offers and answers π.
This document doesn't define any other use of the fmtp attribute for a T.140 channel π. So if an offerer or answerer gets a dcsa attribute with an fmtp attribute that isn't set up by the procedure above, the offerer or answerer MUST ignore the dcsa attribute. Not me ignoring the vibe check π.
NOTE: The cps parameter is especially useful when a T.140 data channel endpoint is acting as a gateway (Section 6) and is interworking with a T.140 transport mechanism that has limits on how many characters can be sent per second β.
If an endpoint gets text faster than it can handle, for example because the sending endpoint doesn't support the cps parameter, it SHOULD do one of two things π₯. Option one: tell the sender it isn't willing to receive more text, using the direction attributes (Section 4.2.3) π
ββοΈ. Option two: use a flow-control mechanism to slow the rate down π’. Hmm, but in some apps, like emergency services, getting a human back into the conversation ASAP is what matters most π¨. So it might be better to just discard the overflow, insert a mark for loss [T140ad1], and keep processing the received text as fast as possible β‘.
NOTE: When this spec was written, the standardized API for WebRTC data channels didn't support flow control π. If that ever changes, a receiving endpoint could use it to slow down how fast text arrives from the sender π.
4.2.2. Real-Time Text Conversation Languages
dcsa attributes can carry the SDP hlang-send and hlang-recv attributes [RFC8373] to negotiate the language for the real-time text conversation πβ¨.
For a T.140 data channel, the modality is "written" [RFC8373] ππ.
4.2.3. Real-Time Text Direction
dcsa attributes can carry the SDP sendonly, recvonly, sendrecv, and inactive attributes [RFC4566] to negotiate which direction text can go in during a real-time text conversation ππ¦.
NOTE: A WebRTC data channel is always bidirectional π«’. The dcsa attribute only changes which direction implementations are allowed to transmit text on a T.140 data channel. That's the whole tea β.
The offer/answer rules for the direction attributes are based on the unicast stream rules in [RFC3264], as explained below π§ . Just know the rules only apply to the direction attributes, okay? π
Session-level direction attributes [RFC4566] have no impact on a T.140 data channel π ββοΈ.
4.2.3.1. Generating an Offer
If the offerer wants to both send and receive text on a T.140 data channel, it SHOULD mark the data channel as sendrecv with a sendrecv attribute inside a dcsa attribute π. If the offerer doesn't explicitly mark the data channel, an implicit sendrecv attribute inside a dcsa attribute gets applied by default π.
If the offerer only wants to send text on a T.140 data channel, it MUST mark the data channel as sendonly with a sendonly attribute inside a dcsa attribute π€.
If the offerer only wants to receive text on a T.140 data channel, it MUST mark the data channel as recvonly with a recvonly attribute inside a dcsa attribute π₯.
If the offerer wants to neither send nor receive text on a T.140 data channel, it MUST mark the data channel as inactive with an inactive attribute inside a dcsa attribute π΄.
If the offerer has marked a data channel as sendrecv (or didn't explicitly mark it) or recvonly, it MUST be ready to receive T.140 data as soon as the state of the T.140 data channel allows it πβ¨.
4.2.3.2. Generating an Answer
When the answerer accepts an offer and marks the direction of the text in the answer, the direction is based on the marking (or the lack of explicit marking) in the offer π.
If the offerer either explicitly marked the data channel as sendrecv or didn't mark it at all, the answerer SHOULD mark the data channel as sendrecv, sendonly, recvonly, or inactive with a sendrecv, sendonly, recvonly, or inactive attribute, respectively, inside a dcsa attribute ποΈ. If the answerer doesn't explicitly mark the data channel, an implicit sendrecv attribute inside a dcsa attribute gets applied by default π«.
If the offerer marked the data channel as sendonly, the answerer MUST mark the data channel as recvonly or inactive with a recvonly or inactive attribute, respectively, inside a dcsa attribute π.
If the offerer marked the data channel as recvonly, the answerer MUST mark the data channel as sendonly or inactive with a sendonly or inactive attribute, respectively, inside a dcsa attribute π·.
If the offerer marked the data channel as inactive, the answerer MUST mark the data channel as inactive with an inactive attribute inside a dcsa attribute π.
If the answerer has marked a data channel as sendrecv or recvonly, it MUST be ready to receive data as soon as the state of the T.140 data channel allows transmission of data π.
4.2.3.3. Offerer Receiving an Answer
When the offerer gets an answer and the answerer has marked a data channel as sendrecv (or didn't mark it at all) or recvonly, the offerer can start sending T.140 data as soon as the state of the T.140 data channel allows it π. If the answerer has marked the data channel as inactive or sendonly, the offerer MUST NOT send any T.140 data π«.
If the answerer hasn't marked the direction of a T.140 data channel following the procedures above, it is RECOMMENDED that the offerer NOT treat that as an error. Instead, it should assume the answerer might both send and receive T.140 data on the data channel π€·ββοΈπ.
4.2.3.4. Modifying the Text Direction
If an endpoint wants to change a previously negotiated text direction in an ongoing session, it MUST start an offer that indicates the new direction, following the rules in Section 4.2.3.1 π. If the answerer accepts the offer, it follows the procedures in Section 4.2.3.2 π«Ά.
4.3. Examples
Here's an example of an "m=" section of an offer for a T.140 data channel offering real-time text conversation in Spanish and Esperanto πͺπΈπͺπ΄, plus the "m=" section in the matching answer accepting Esperanto π. The maximum character transmission rate is set to 20 π―. Since the offerer and answerer haven't explicitly set the real-time text direction, the default direction "sendrecv" applies π .
Offer:
m=application 911 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP6 2001:db8::3
a=max-message-size:1000
a=sctp-port 5000
a=setup:actpass
a=dcmap:2 label="ACME customer service";subprotocol="t140"
a=dcsa:2 fmtp:t140 cps=20
a=dcsa:2 hlang-send:es eo
a=dcsa:2 hlang-recv:es eo
Answer:
m=application 2004 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP6 2001:db8::1
a=max-message-size:1000
a=sctp-port 6000
a=setup:passive
a=dcmap:2 label="ACME customer service";subprotocol="t140"
a=dcsa:2 fmtp:t140 cps=20
a=dcsa:2 hlang-send:eo
a=dcsa:2 hlang-recv:eo
Here's another example, an "m=" section of an offer for a T.140 data channel where the offerer only wants to receive real-time text π, plus the "m=" section in the answer saying the answerer will only send real-time text π€. No maximum character transmission rate is indicated, and no language preference is indicated either π.
Offer:
m=application 1400 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP6 2001:db8::3
a=max-message-size:1000
a=sctp-port 5000
a=setup:actpass
a=dcmap:2 label="ACME customer service";subprotocol="t140"
a=dcsa:2 recvonly
Answer:
m=application 2400 UDP/DTLS/SCTP webrtc-datachannel
c=IN IP6 2001:db8::1
a=max-message-size:1000
a=sctp-port 6000
a=setup:passive
a=dcmap:2 label="ACME customer service";subprotocol="t140"
a=dcsa:2 sendonly
5. T.140 Considerations β¨
5.1. Session-Layer Functions
Section 6.1 of [T140] describes the generic T.140 session control functions at a high level, in a way that doesn't depend on the signaling protocol π§ . Here's how those functions work when you're using a T.140 data channel π.
Prepare session: An endpoint can show it supports T.140 data channels using signaling-specific means (for example, SIP OPTIONS [RFC3261]) or by indicating support in an offer or answer (Section 4) πΈ.
Initiate session: An offer is used to request setting up a T.140 data channel (Section 4) π¨.
Accept session: An answer is used to accept a request to set up a T.140 data channel (Section 4) β .
Deny session: An answer is used to reject a request to set up a T.140 data channel, using the generic procedures for rejecting a data channel [RFC8864] π ββοΈ.
Disconnect session: An offer or answer is used to disable a T.140 data channel that was already set up, using the generic procedures for closing a data channel [RFC8864] π.
Data: Data is sent on an established T.140 data channel (Section 5.2) π¦.
5.2. Data Encoding and Sending
T.140 text is encoded and framed as T140blocks [RFC4103] π.
Each T140block is sent on the SCTP stream [RFC4960] used to realize the T.140 data channel, using standard T.140 transmission procedures [T140] π. One or more T140blocks can go in a single SCTP user message [RFC4960] π¦. Unlike RTP-based transport for real-time text [RFC4103], T.140 data channels don't use redundant transmission of text π ββοΈ. That's because the T.140 data channel gets robust transmission by using the "reliable" mode of the data channel πβ¨.
Data-sending procedures conform to [T140] π .
See Section 8 of [T140] for coding details π€.
NOTE: The T.140 coding details include optional control codes for controlling presentation, and these may not be supported by the presentation level of the receiving application π. The receiving application is expected to handle these T.140 control codes appropriately (for example, ignore and skip them) even if their effect on the presentation isn't supported π«Ά.
5.3. Data Buffering π«§
okay so [T140] talks about buffering, and bestie, it's a total overhead-saver π The max transmission interval for T140blocks coming out of the buffer is 500 ms, as long as there's text waiting to go π
Buffering MAY also be used for staying within the maximum character transmission rate (Section 4.2). β¨
Your app has to balance smooth flow with low latency when it picks a transmission interval, because real-time text chat is all about the vibes πΈ It is RECOMMENDED to use the default transmission interval of 300 ms [RFC4103] for T.140 data channels π If your use case really needs low latency, lower values are an option, but you'll pay for it in extra overhead, so weigh that in π¦
5.4. Loss of T140blocks π
okay, the sad part first: if there's a network failure or congestion, T.140 data channels can fail and get torn down π If that happens but the session is still alive, it is RECOMMENDED that implementations try to reestablish the T.140 data channels π«Ά
Here's the tea π΅ A T.140 data channel has no way for the receiver to tell which T140blocks are retransmitted after the channel comes back, so the sending endpoint MUST NOT retransmit T140blocks, no exceptions π ββοΈ On the flip side, a receiver SHOULD tell the user that the channel was reestablished and some text might have gone missing π This MAY be done by inserting the missing text markers [T140ad1] or in any other way that's obvious to the user π§
NOTE: If the SCTP association [RFC4960] used to realize the T.140 data channel fails and gets torn down, it needs to be reestablished before the T.140 data channel can be reestablished. After the T.140 data channel is reestablished, the procedures defined in this section apply, regardless of whether only the T.140 data channel or the whole SCTP association got torn down.
5.5. Multi-party Considerations π―ββοΈ
If your implementation needs to handle multi-party scenarios, you need multiple simultaneous T.140 data channels, one for each remote party π This is still true even when everyone talks through a centralized conference server, and that's because, unlike RTP media, WebRTC data channels and the T.140 protocol can't indicate where T.140 data came from π€ The 'label' attribute parameter in the SDP 'dcmap' attribute (Section 4.1) can be used by the offerer to add extra info about each T.140 data channel, which helps implementations tell them apart π·οΈ
NOTE: Future extensions to T.140 or the T140block might permit the indication of the source of T.140 data, in which case it might be possible to use a single T.140 data channel to transport data from multiple remote sources. The usage of a single T.140 data channel, without any protocol extensions, would require the conference server to only forward real-time text from one source at any given time and, for example, include human-readable text labels in the real-time text stream that indicate the source whenever the conference server switches the source. This would allow the receiver to present real-time text from different sources separately. The procedures for such a mechanism are outside the scope of this document.
6. Gateway Considerations π
There are a bunch of real-time text transports and protocols out there for both packet-switched and circuit-switched networks β¨ Lots of them are built on the ITU-T T.140 protocol at the application and presentation levels [T140] π§ At the time of writing this document, some mechanisms are no longer used because the technologies they relied on have been obsoleted, while others are still going strong π
When you're interworking between T.140 data channels and real-time text in other transports and protocols, there are several things to think about π At the time of writing this document, the most common IP-based real-time text transport is the RTP-based mechanism defined in [RFC4103]. This document doesn't define a complete interworking solution, but the list below gives some guidance and things to keep in mind when you design a gateway between T.140 data channels and RTP-based T.140 transport π¦
- For each T.140 data channel, there is an RTP stream for real-time text [RFC4103]. Redundancy is declared and used on the RTP stream by default. There is no redundancy on the T.140 data channel, but the reliable property [RFC8864] is set on it.
- During a normal text flow, T140blocks received from one network are forwarded towards the other network. Keepalive traffic is handled by lower layers on the T.140 data channel. A gateway might have to extract keepalives from incoming RTP streams and MAY generate keepalives on outgoing RTP streams.
- If the gateway detects or suspects loss of data on the RTP stream, and the lost data has not been retrieved using a redundancy mechanism, the gateway SHOULD insert the T.140 missing text marker [T140ad1] in the data sent on the outgoing T.140 data channel.
- If the gateway detects that the T.140 data channel has failed and got torn down, once the data channel has been reestablished the gateway SHOULD insert the T.140 missing text marker [T140ad1] in the data sent on the outgoing RTP stream if it detects or suspects that data sent by the remote T.140 data channel endpoint was lost.
- If the gateway detects that the T.140 data channel has failed and got torn down, once the data channel has been reestablished the gateway SHOULD insert the T.140 missing text marker [T140ad1] in the data sent on the outgoing T.140 data channel if it detects or suspects that data sent or to be sent on the T.140 data channel was lost during the failure.
- The gateway MUST indicate the same text transmission direction (Section 4.2.3) on the T.140 data channel and the RTP stream.
NOTE: In order for the gateway to insert a missing text marker or perform other actions that require that the gateway have access to the T.140 data, the T.140 data cannot be encrypted end to end between the T.140 data channel endpoint and the RTP endpoint. At the time of writing this document, no mechanism to provide such end-to-end encryption is defined.
NOTE: The guidance and considerations above are for two-party connections. At the time of writing this specification, a multi-party solution for RTP-based T.140 transport had not yet been specified. Once such a solution is specified, it might have an impact on the above interworking guidance and considerations.
7. Update to RFC 8373 π
This document updates [RFC8373] by defining how the SDP hlang-send and hlang-recv attributes are used for the "application/webrtc-datachannel" media type π
SDP offerers and answerers MUST NOT include the attributes directly in the "m=" section associated with the "application/webrtc-datachannel" media type π« Instead, the attributes MUST be associated with individual data channels, using the SDP 'dcsa' attribute π― A specification that defines a subprotocol that uses the attributes MUST specify the modality for that subprotocol, or how to retrieve the modality if the subprotocol supports multiple modalities π The subprotocol is indicated using the SDP 'dcmap' attribute π·οΈ
8. Security Considerations π
The generic WebRTC security considerations are defined in [RFC8826] and [RFC8827] π‘οΈ
The generic security considerations for WebRTC data channels are defined in [RFC8831]. Data channels are always encrypted by design, so the T.140 data channels will also be encrypted π
The generic security considerations for negotiating data channels using the SDP offer/answer mechanism are defined in [RFC8864]. There are no additional security considerations specific to T.140 data channels π
When you're interworking between T.140 data channels and RTP-based T.140 transport [RFC4103], the gateway has to be able to access the T.140 data in order to insert a missing text marker or perform other actions. That means the T.140 data cannot be encrypted end to end between the T.140 data channel endpoint and the RTP endpoint. π¨
9. IANA Considerations π
9.1. Subprotocol Identifier "t140" π·οΈ
Per this document, the subprotocol identifier "t140" has been added to the "WebSocket Subprotocol Name Registry" as follows:
Subprotocol Identifier: t140
Subprotocol Common Name: ITU-T T.140 Real-Time Text
Subprotocol Definition: RFC 8865
Reference: RFC 8865
9.2. SDP 'fmtp' Attribute π
This document defines the usage of the SDP 'fmtp' attribute, if this attribute is included in an SDP 'dcsa' attribute associated with a T.140 real-time text session over a WebRTC data channel. The usage is defined in Section 4.2.1. β¨
The usage level "dcsa (t140)" has been added to the registration of the SDP 'fmtp' attribute in the "Session Description Protocol (SDP) Parameters" registry as follows:
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: fmtp
Usage level: dcsa (t140)
Purpose: Indicate format parameters for a T.140 data channel, such
as maximum character transmission rates.
Reference: RFC 8865
9.3. SDP Language Attributes π
This document modifies the usage of the SDP 'hlang-send' and 'hlang-recv' attributes, if these attributes are included in SDP 'dcsa' attributes associated with a T.140 data channel. The modified usage is described in Section 4.2.2. π
The usage level "dcsa (t140)" has been added to the registration of the SDP 'hlang-send' attribute in the "Session Description Protocol (SDP) Parameters" registry as follows:
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: hlang-send
Usage level: dcsa (t140)
Purpose: Negotiate the language to be used on a T.140 data channel.
Reference: RFC 8865
The usage level "dcsa (t140)" has been added to the registration of the SDP 'hlang-recv' attribute in the "Session Description Protocol (SDP) Parameters" registry as follows:
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: hlang-recv
Usage level: dcsa (t140)
Purpose: Negotiate the language to be used on a T.140 data channel.
Reference: RFC 8865
9.4. SDP Media Direction Attributes β¨
okay so this section is about the direction attributes, sendonly, recvonly, sendrecv, and inactive π
. They only get the special treatment when they show up inside an SDP dcsa attribute tied to a T.140 data channel. That modified usage is explained in Section 4.2.3, so go check it out π¦
The IANA registry for SDP Parameters gets a new usage level, dcsa (t140), added to each of the four attributes. It's the same entry each time, just with a different attribute name, so here they all are π
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: sendonly
Usage level: dcsa (t140)
Purpose: Negotiate the direction in which real-time text can be sent
on a T.140 data channel.
Reference: RFC 8865
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: recvonly
Usage level: dcsa (t140)
Purpose: Negotiate the direction in which real-time text can be sent
on a T.140 data channel.
Reference: RFC 8865
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: sendrecv
Usage level: dcsa (t140)
Purpose: Negotiate the direction in which real-time text can be sent
on a T.140 data channel.
Reference: RFC 8865
Contact name: IESG
Contact email: iesg@ietf.org
Attribute name: inactive
Usage level: dcsa (t140)
Purpose: Negotiate the direction in which real-time text can be sent
on a T.140 data channel.
Reference: RFC 8865
10. References π
10.1. Normative References π₯
[RFC2119]Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997,<https://www.rfc-editor.org/info/rfc2119>.[RFC3264]Rosenberg, J. and H. Schulzrinne, "An Offer/Answer Model with Session Description Protocol (SDP)", RFC 3264, DOI 10.17487/RFC3264, June 2002,<https://www.rfc-editor.org/info/rfc3264>.[RFC4103]Hellstrom, G. and P. Jones, "RTP Payload for Text Conversation", RFC 4103, DOI 10.17487/RFC4103, June 2005,<https://www.rfc-editor.org/info/rfc4103>.[RFC4566]Handley, M., Jacobson, V., and C. Perkins, "SDP: Session Description Protocol", RFC 4566, DOI 10.17487/RFC4566, July 2006,<https://www.rfc-editor.org/info/rfc4566>.[RFC4960]Stewart, R., Ed., "Stream Control Transmission Protocol", RFC 4960, DOI 10.17487/RFC4960, September 2007,<https://www.rfc-editor.org/info/rfc4960>.[RFC8174]Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017,<https://www.rfc-editor.org/info/rfc8174>.[RFC8373]Gellens, R., "Negotiating Human Language in Real-Time Communications", RFC 8373, DOI 10.17487/RFC8373, May 2018,<https://www.rfc-editor.org/info/rfc8373>.[RFC8826]Rescorla, E., "Security Considerations for WebRTC", RFC 8826, DOI 10.17487/RFC8826, January 2021,<https://www.rfc-editor.org/info/rfc8826>.[RFC8827]Rescorla, E., "WebRTC Security Architecture", RFC 8827, DOI 10.17487/RFC8827, January 2021,<https://www.rfc-editor.org/info/rfc8827>.[RFC8831]Jesup, R., Loreto, S., and M. TΓΌxen, "WebRTC Data Channels", RFC 8831, DOI 10.17487/RFC8831, January 2021,<https://www.rfc-editor.org/info/rfc8831>.[RFC8864]Drage, K., Makaraju, M., Ejzak, R., Marcon, J., and R. Even, Ed., "Negotiation Data Channels Using the Session Description Protocol (SDP)", RFC 8864, DOI 10.17487/RFC8864, January 2021,<https://www.rfc-editor.org/info/rfc8864>.[T140]ITU-T, "Protocol for multimedia application text conversation", Recommendation ITU-T T.140, February 1998,<https://www.itu.int/rec/T-REC-T.140-199802-I/en>.[T140ad1]ITU-T, "Recommendation ITU-T.140 Addendum 1 (02/2000), Protocol for multimedia application text conversation", February 2000,<https://www.itu.int/rec/T-REC-T.140-200002-I!Add1/en>.
10.2. Informative References πΈ
[RFC3261]Rosenberg, J., Schulzrinne, H., Camarillo, G., Johnston, A., Peterson, J., Sparks, R., Handley, M., and E. Schooler, "SIP: Session Initiation Protocol", RFC 3261, DOI 10.17487/RFC3261, June 2002,<https://www.rfc-editor.org/info/rfc3261>.[RFC3550]Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, "RTP: A Transport Protocol for Real-Time Applications", STD 64, RFC 3550, DOI 10.17487/RFC3550, July 2003,<https://www.rfc-editor.org/info/rfc3550>.[RFC8832]Jesup, R., Loreto, S., and M. TΓΌxen, "WebRTC Data Channel Establishment Protocol", RFC 8832, DOI 10.17487/RFC8832, January 2021,<https://www.rfc-editor.org/info/rfc8832>.
Acknowledgements π«Ά
This document is based on an earlier Internet-Draft edited by Keith Drage, Juergen Stoetzer-Bradler, and Albrecht Schwarz. Big thanks to them, honestly iconic π
Thomas Belling gave useful comments on the initial (pre-submission) version of the current document, and Paul Kyzivat and Bernard Aboba commented on the document too π
Authors' Addresses π
Christer Holmberg
Ericsson
Hirsalantie 11
FI-02420 Jorvas
Finland
Email: christer.holmberg@ericsson.com
Gunnar HellstrΓΆm
Gunnar HellstrΓΆm Accessible Communication
Esplanaden 30
SE-136 70 VendelsΓΆ
Sweden
Email: gunnar.hellstrom@ghaccess.se
π¦ where this page comes from
- ietf: rfc8865 2021-01
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms