3986.net
小网站 大容量 大智慧
相关标签
当前位置:首页 >> IT/计算机 >>

英文文献和中文翻译{RTP-实时软件传输协议}


RTP: A Transport Applications 1 Introduction

Protocol

for

Real-Time

This memorandum specifies the real-time transport protocol (RTP), which provides end-to-end delivery services for data with real-time characteristics, such as interactive audio and video. Those services include payload type identification, sequence numbering, times tamping and delivery monitoring. Applications typically run RTP on top of UDP to make use of its multiplexing and checksum services; both protocols contribute parts of the transport protocol functionality. However, RTP may be used with other suitable underlying network or transport protocols (see Section 10). RTP supports data transfer to multiple destinations using multicast distribution if provided by the underlying network. Note that RTP itself does not provide any mechanism to ensure timely delivery or provide other quality-of-service guarantees, but relies on lower-layer services to do so. It does not guarantee delivery or prevent out-of-order delivery, nor does it assume that the underlying network is reliable and delivers packets in sequence. The sequence numbers included in RTP allow the receiver to reconstruct the sender's packet sequence, but sequence numbers might also be used to determine the proper location of a packet, for example in video decoding, without necessarily decoding packets in sequence. While RTP is primarily designed to satisfy the needs of multiparticipant multimedia conferences, it is not limited to that particular application. Storage of continuous data, interactive distributed simulation, active badge, and control and measurement applications may also find RTP applicable.

This document defines RTP, consisting of two closely-linked parts: [1]. The real-time transport protocol (RTP), to carry data that has real-time properties. [2]. The RTP control protocol (RTCP), to monitor the quality of service and to convey information about the participants in an on-going session. The latter aspect of RTCP may be sufficient for "loosely controlled" sessions, i.e., where there is no explicit membership control and set-up, but it is not necessarily intended to support all of an application's control communication requirements. This functionality may be fully or partially subsumed by a separate session control protocol, which is beyond the scope of this document. RTP represents a new style of protocol following the principles of application level framing and integrated layer processing proposed by Clark and Tennenhouse [1]. That is, RTP is intended to be malleable to provide the information required by a particular application and will often be integrated into the application processing rather than being implemented as a separate layer. RTP is a protocol framework that is deliberately not complete. This document specifies those functions expected to be common across all the applications for which RTP would be appropriate. Unlike conventional protocols in which additional functions might be accommodated by making the protocol more general or by adding an option mechanism that would require parsing, RTP is intended to be tailored through modifications and/or additions to the headers as needed. Examples are given in Sections 5.3 and 6.3.3. Therefore, in addition to this document, a complete specification of RTP for a particular application will require one or more

companion documents (see Section 12): [1]. A profile specification document, which defines a set of payload type codes and their mapping to payload formats (e.g., media encodings). A profile may also define extensions or modifications to RTP that are specific to a particular class of applications. Typically an application will operate under only one profile. A profile for audio and video data may be found in the companion RFC TBD. [2]. Payload format specification documents, which define how a particular payload, such as an audio or video encoding, is to be carried in RTP. A discussion of real-time services and algorithms for their implementation as well as background discussion on some of the RTP design decisions can be found in [2]. Several RTP applications, both experimental and commercial, have already been implemented from draft specifications. These applications include audio and video tools along with diagnostic tools such as traffic monitors. Users of these tools number in the thousands. However, the current Internet cannot yet support the full potential demand for real-time services. High-bandwidth services using RTP, such as video, can potentially seriously degrade the quality of service of other network services. Thus, implementors should take appropriate precautions to limit accidental bandwidth usage. Application documentation should clearly outline the limitations and possible operational impact of high-bandwidth real- time services on the Internet and other network services.

2 RTP Use Scenarios

The following sections describe some aspects of the use of RTP. The examples were chosen to illustrate the basic operation of applications using RTP, not to limit what RTP may be used for. In these examples, RTP is carried on top of IP and UDP, and follows the conventions established by the profile for audio and video specified in the companion Internet-Draft draft-ietf-avt-profile

2.1 Simple Multicast Audio Conference
A working group of the IETF meets to discuss the latest protocol draft, using the IP multicast services of the Internet for voice communications. Through some allocation mechanism the working group chair obtains a multicast group address and pair of ports. One port is used for audio data, and the other is used for control (RTCP) packets. This address and port information is distributed to the intended participants. If privacy is desired, the data and control packets may be encrypted as specified in Section 9.1, in which case an encryption key must also be generated and distributed. The exact details of these allocation and distribution mechanisms are beyond the scope of RTP. The audio conferencing application used by each conference participant sends audio data in small chunks of, say, 20 ms duration. Each chunk of audio data is preceded by an RTP header; RTP header and data are in turn contained in a UDP packet. The RTP header indicates what type of audio encoding (such as PCM, ADPCM or LPC) is contained in each packet so that senders can change the encoding during a conference, for example, to accommodate a new participant that is connected through a low-bandwidth link or react to indications of network congestion. The Internet, like other packet networks, occasionally loses and

reorders packets and delays them by variable amounts of time. To cope with these impairments, the RTP header contains timing information and a sequence number that allow the receivers to reconstruct the timing produced by the source, so that in this example, chunks of audio are contiguously played out the speaker every 20 ms. This timing reconstruction is performed separately for each source of RTP packets in the conference. The sequence number can also be used by the receiver to estimate how many packets are being lost. Since members of the working group join and leave during the conference, it is useful to know who is participating at any moment and how well they are receiving the audio data. For that purpose, each instance of the audio application in the conference periodically multicasts a reception report plus the name of its user on the RTCP (control) port. The reception report indicates how well the current speaker is being received and may be used to control adaptive encodings. In addition to the user name, other identifying information may also be included subject to control bandwidth limits. A site sends the RTCP BYE packet (Section 6.5) when it leaves the conference.

2.2 Audio and Video Conference
If both audio and video media are used in a conference, they are transmitted as separate RTP sessions RTCP packets are transmitted for each medium using two different UDP port pairs and/or multicast addresses. There is no direct coupling at the RTP level between the audio and video sessions, except that a user participating in both sessions should use the same distinguished (canonical) name in the RTCP packets for both so that the sessions can be associated. One motivation for this separation is to allow some participants in the conference to receive only one medium if they choose. Further

explanation is given in Section 5.2. Despite the separation, synchronized playback of a source's audio and video can be achieved using timing information carried in the RTCP packets for both sessions.

2.3 Mixers and Translators
So far, we have assumed that all sites want to receive media data in the same format. However, this may not always be appropriate. Consider the case where participants in one area are connected through a low-speed link to the majority of the conference participants who enjoy high-speed network access. Instead of forcing everyone to use a lower-bandwidth, reduced-quality audio encoding, an RTP-level relay called a mixer may be placed near the low-bandwidth area. This mixer resynchronizes incoming audio packets to reconstruct the constant 20 ms spacing generated by the sender, mixes these reconstructed audio streams into a single stream, translates the audio encoding to a lower-bandwidth one and forwards the lower- bandwidth packet stream across the low-speed link. These packets might be unicast to a single recipient or multicast on a different address to multiple recipients. The RTP header includes a means for mixers to identify the sources that contributed to a mixed packet so that correct talker indication can be provided at the receivers. Some of the intended participants in the audio conference may be connected with high bandwidth links but might not be directly reachable via IP multicast. For example, they might be behind an application-level firewall that will not let any IP packets pass. For these sites, mixing may not be necessary, in which case another type of RTP-level relay called a translator may be used. Two translators

are installed, one on either side of the firewall, with the outside one funneling all multicast packets received through a secure connection to the translator inside the firewall. The translator inside the firewall sends them again as multicast packets to a multicast group restricted to the site's internal network. Mixers and translators may be designed for a variety of purposes. An example is a video mixer that scales the images of individual people in separate video streams and composites them into one video stream to simulate a group scene. Other examples of translation include the connection of a group of hosts speaking only IP/UDP to a group of hosts that understand only ST-II, or the packet-by-packet encoding translation of video streams from individual sources without resynchronization or mixing. Details of the operation of mixers and translators are given in Section 7.

中文翻译

RTP-----------实时软件传输协议 实时软件传输协议
1 介绍

实时传输协议 RTP, 可以对于那些具有实时特征的数据, 比如 交互式的音频、视频提供端到端的传输服务。提供的服务包括对 传输数据类型的鉴别,顺序的排列以及传输时间及过程的监控。 一般应用程序运行 RTP 多与 UDP 来实现多路传输和 checksum 的服 务,虽然两种协议都提供了传输功能,但是 RTP 可以用在某些与 之相适配的底层网络和传输协议中。RTP 可以在网络的允许下利 用多点传送功能向多个目标发送数据。 但是要注意到,RTP 本身不能对传输的及时性及传输的质量 提供保证,这些是依靠它的下层服务来实现的。它也不能保证在 传输过程中传输顺序都是有序的,就像他不能确定基层的网络是 可靠的,其在网络上传送的包是按顺序的一样。RTP 中对包都进 行了编号,那样就允许接受者重建包的顺序,而且这些编码可以 用来测定包所在的位子,比如一个视频,完全依次进行编码是没 有必要的。 RTP 最初设计是为了满足多人视频会议,但现在已经不仅仅 局限在这个方面了,数据的连续存储,互动的分布式模拟,以及 控制和测量部门都能找 RTP 的身影。 本文对 RTP 的定义包括两个方面: [1].实时传输协议,用来传输具有实时特征的数据; [2].实施传输控制协议 RTCP, 用来监测服务的质量以及传达某个 正在进行的会议中各个成员的信息。对于 RTCP 第二个方面的应 用,在一些不是非常严格的会议我们已经得到了应用:一般这些 会议没有复杂的成员控制和建立,那么对所有应用程序控制的交 流是没有必要的。这种情况也许会被部分或者全部的包含在一个 独立的会议控制中,这个已经超出了本文的讨论范围。 RTP 是继应用层框架原理以后新的协议类型,他整合层的处 理。也就是说 RTP 对于一个应用程序所要求得信息处理已经不再

是作为一个单独的层去进行,而是随着整合进该程序的进行过程 中,同时处理。RTP 有意成为一个不完整的协议框架。本文阐述 这些功能,希望在那些适合 RTP 的应用程序中 RTP 能得到充分的 发挥。而不像一些传统的协议那样,需要通过推广或者是机构的 授权来增加附加功能。此外,如果想要知道对于某一个特定程序 的 RTP 的描述,你可以在一些相关的书中寻找(见 12 章) : [1].一个概括地说明文档,定义一系列载荷类型编码和相对应的 载荷格式。同时也说明了在某些特定的类型的应用程序中 RTP 的 扩展和修改。以及各一个具有代表性的应用程序的炒作过程。一 个为视频和音频数据做的概要说明可以在 RFC TBD 里找到。 [2].在和类型的描述文档,定义了一个特定的载荷,比如音频和 视频编码是如何通过 RTP 来传输的。 对于实时服务的讨论,对于 RTP 设计及其运行时所遵循的算 法和背景的讨论我们可以在第二节找到。 一些 RTP 程序,不管是试验性质的还是商业性质的从设计阶 段上升到了实践阶段。这些程序包括音频和视频工具以及一些诊 断工具比如交通监视器。这些工具的用户数量已有成千上万。但 是现在的英特网还无法支持实时服务全部潜在的需求,利用 RTP 的高速宽带服务,比如视频,将会严重的降低网络其他服务的质 量。所以,执行者应该采取合适的防范措施来限制那些次要的宽 带利用。应用程序文件会清楚的略述这些限制以及在英特网和其 他网络服务中高速宽带的实时服务可能会带来的影响。

2 RTP 使用环境
这个章节我们将讨论 RTP 的使用方面。我们将会通过实例 来说明使用 RTP 程序的一些基本操作,但不限制使用的是什么样 的 RTP。在这些举例中,RTP 运载于 IP 和 UDP 之上,在其之后是

一些为了视频和音频而已经确立的协议,这些协议可以在同类书 籍中找到。

2.1 简单的多点音频会议
一个工作组要讨论一个最近的工作草案,他们可以通过英特 网的多点服务来进行语音交流。通过一些机制分配,工作组组长 获得一个多点传送的地址以及两个端口,一个是用来传输语音数 据,一个是用来控制包的传输,这个地址同时也被分送到每个成 员那里。 如果有保密的需要, 数据及控制包可以被加密 (详见 9.1 章) 当然这样的话解密钥匙也必须要发布出去, , 关于机制的具体 分布与安排不在 RTP 的讨论范围之内。 参加音频会议的人以包的形式传输语音数据, 平均 20 毫秒一 个。每个包有一个 RTP 报头。RTP 报头及其数据依次放入 UDP 包 中。RTP 报头用来说音频编码的类型(比如 PCM ,ADPCM, LPC), 这样的方式可以让数据发送者在会议中改变编码方式, 这样的话, 我们可以单独的为一个低速会议成员安排接入方式,同时我们也 可以对网络的拥堵做出反应。 英特网,和其他的封宝试的网络一样,有时候会丢失包或者 发生不可预知的时间延迟,为了处理这种情况,RTP 报头包含了 一个时间信息,和一个序列号码,那样就允许接受者重新排序, 在这个例子中,音频包每隔 20 毫秒发出一个,会议中对于这些 RTP 包时序的重组一直在独立的进行着。序列号码还可以用来估 计有多少包在传输中丢失了。 鉴于工作组成员会在开会时进入或者离开,那么清楚的知道 到底谁在参加会议以及到底他们接受的音频数据质量如何是很有 用的。 于是每一个远程应用程序会定时的往 RTCP 发送一个接收报 告,报告里会附上他们的名字。这个报告会指出现在对于讲话者 数据接收如何从而用来控制合适的编码。除了用户的名字之外,

我们还会用到其他的鉴别信息来控制款待限制。一个节点会发送 一个“BYE”包(见 6.5 章)当他离开的时候。

2.2 音频和视频会议
如果在一个会议中同时要用到视频和音频的话,他们在传输 的过程中, 用的是互相独立的 RTP 层, 两种媒体的 RTCP 包也是用 不同的 UDP 端口或者是不同的多点传送地址。 在音频和视频两个层之间没有直接的连接。除非是一个成员 要以同一个规范化的名字参加两个会议层,这种情况下连个层会 被连在一起。 把两种媒体分割开来可以使会议成员自由的选择一种或两种 媒体。尽管是分割的,但是通过 RTCP 包中的时间信息,我们完全 可以是两种媒体同步起来。

2.3 混频和翻译
到目前为止, 我们一直假定所有的网站都是接受相同类型的 媒体数据,但事实上,这种假定是不合理的。考虑到有些成员, 以低速网络接入一个大部分成员是高速网络的会议中,我们可以 在低速网络的区域放一个混频器那样我们就不用要求每一个成员 都要以低速,低质的音频方式接入了。这个混频器重新同步音频 包, 以恒定的 20 毫秒的间隔重建发送者的音频信号。 把这些改造 过的音频流混合成一个单独的流,这样就把这些音频编码转化成 了适用于低速宽带面下低速连接的数据包流。这些包可以被断点 传送给一个用户也可以被多点传送给不同用户的不同地址。RTP 报头包含了混合器的方法,这样即使包被混合了,接受者还是可 以正确的确认谁在发言。 音频会议中,一些用户虽然是通过高速宽带连接,但他们有 可能依然不可以直接通过 IP 被多点传送。 比如, 他们运行了一个 应用层的防火墙,就会阻止任何 IP 包通过。对于这些站点,混频

可能会失败, 这种情况下我们可以利用另一个方法,翻译。 防火墙 的两端都装上翻译器,这样防火墙的两端好像形成了一个相连的 漏斗,多点传送包,就可以安全的从外面传到里面,然后防火墙 内部的翻译器再一次对网络内部进行多点传送。


推荐相关:

FPGA图像处理中英文对照外文翻译文献_计算机软件及应用...通过 USB2.0 传输协议执行传输。FPGA 控制器是基于 ...当一个程序 需要实时处理, 如视频或电视信号的处理...


毕业设计说明书英文文献中文翻译 学生姓名: 魏生栋...0706054151 电子计算机科学技术 软件工程 武瑞娟 指导...最后,可以利用对文件传输协议 (FTP) 的内置支持。...


五分钟搞定 5000 字-外文文献翻译三大利器在科研过程中阅读翻译外文文献是一个非常重要的环节, 许多领域高水 平的文献都是外文文献,借鉴一些外文文献翻译的经验是...


英文文献和中文翻译{RTP-实... 12页 2财富值 经典...用有关历史和实时的分析,可自动的在问题发生前将其...(3) 连续存储管理器 许多媒体软件商支持 RMAN。...


英文文献和中文翻译_专业资料。一切都是对象的英文文献...但 Java 是一种更纯粹的面向对象程序设计语言”。 ...©2014 Baidu 使用百度前必读 | 文库协议...


缺血性脑中风英文文献中文翻译_医学_高等教育_教育专区。Predictive value of ...第4,前 瞻性研究应该揭示如果修订的NIHSS版本中的不成熟协议如:如 意识水平,...


英文文献翻译-_院校资料_高等教育_教育专区。英文文献...运用SPSS软件寻找他们之间的相 互关系 (Version 10)...年毕业论文—中文翻译 07 环境工程(1)班 三毛 5 ...


Server(中文翻译)_计算机软件及应用_IT/计算机_专业...3 苹果可靠的UDP 苹果可靠的UDP是为RTP协议设计的...华中农业大学楚天学院本科毕业论文(设计)外文翻译 图...


毕设之英文文献翻译中文_信息通信_工程科技_...图像的相似语义可以有效地进行传送,并且能够实现 更...©2016 Baidu 使用百度前必读 | 文库协议 | 广告...


粗品中分离标准的程序。一个纯化柱层析(二氧化硅),用氯仿-醋酸乙酯(4 : 1) ...英文文献中文翻译 14页 免费©2014 Baidu 使用百度前必读 | 文库协议...

网站首页 | 网站地图
3986 3986.net
文档资料库内容来自网络,如有侵犯请联系客服。zhit325@qq.com