Familie: | Netzwerkprotokoll |
---|---|
Einsatzgebiet: | Transport von Medien-Streams |
Port: | beliebiger freier, gerader Port ab 1024 |
Standard: | RFC 3550 (RTP: A Transport Protocol for Real-Time Applications), 2003 |
Das Real-Time Transport Protocol (RTP) ist ein Protokoll zur kontinuierlichen Übertragung von audiovisuellen Daten (Streams) über IP-basierte Netzwerke. Das Protokoll wurde erstmals 1996 im RFC 1889 standardisiert. 2003 wurde es durch RFC 3550 abgelöst.
Es dient dazu, Multimedia-Datenströme (Audio, Video, Text etc.) über Netzwerke zu transportieren, d. h. die Daten zu kodieren, zu paketieren und zu versenden. RTP ist ein Paket-basiertes Protokoll und wird normalerweise über UDP betrieben. RTP kann sowohl für Unicast-Verbindungen als auch für Multicast-Kommunikation im Internet eingesetzt werden. Das RealTime Control Protocol (RTCP) arbeitet mit RTP zusammen und dient der Aushandlung und Einhaltung von Quality-of-Service-Parametern (QoS).
Es findet Anwendung in vielen Bereichen, u. a. wird es bei den IP-Telefonie-Standards H.323 und SIP dazu verwendet, die Audio- und Videoströme des Gespräches zu übertragen.
Die Funktion von RTP besteht hauptsächlich in der Übertragung von Datenströmen, die Echtzeit benötigen, während das Real-Time Streaming Protocol (RTSP) der Steuerung und Kontrolle der Datenübertragung dient.
Das Datagram Congestion Control Protocol (DCCP) ist ein aktueller Ansatz, um auch für Medienströme auf RTP/UDP-Basis Staukontrolle zu ermöglichen.
Architektur Bearbeiten
RTP-Header Bearbeiten
Byte 0 | Byte 1 | Byte 2 | Byte 3 | ||||||||||||||||||||||||||||
Bit 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bit 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bit 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Bit 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
V=2 | P | X | CC | M | PT | Sequence Number | |||||||||||||||||||||||||
Timestamp (in sample rate units) | |||||||||||||||||||||||||||||||
Synchronization Source (SSRC) identifier | |||||||||||||||||||||||||||||||
Contributing Source (CSRC) identifiers (optional) | |||||||||||||||||||||||||||||||
Header Extension (optional) |
Payloadnr. | Codec | Audio/Video | Abtastrate | Audiokanäle | RFC |
---|---|---|---|---|---|
0 | PCMU | A | 8 kHz | 1 | 3551 |
3 | GSM | A | 8 kHz | 1 | 3551 |
4 | G723 | A | 8 kHz | 1 | 3551 |
5 | DVI4 | A | 8 kHz | 1 | 3551 |
6 | DVI4 | A | 16 kHz | 1 | 3551 |
7 | LPC | A | 8 kHz | 1 | 3551 |
8 | PCMA | A | 8 kHz | 1 | 3551 |
9 | G.722 | A | 8 kHz | 1 | 3551 |
10 | L16 | A | 44,1 kHz | 2 | 3551 |
11 | L16 | A | 44,1 kHz | 1 | 3551 |
12 | QCELP | A | 8 kHz | 1 | 3551 |
13 | CN | A | 8 kHz | 1 | 3389 |
14 | MPA | A | 90 kHz | 1 | 3551, 2250 |
15 | G.728 | A | 8 kHz | 1 | 3551 |
16 | DVI4 | A | 11,025 kHz | 1 | |
17 | DVI4 | A | 22,05 kHz | 1 | |
18 | G.729 | A | 8 kHz | 1 | 3551 |
25 | CelB | V | 90 kHz | 3551, 2029 | |
26 | JPEG | V | 90 kHz | 3551, 2435 | |
28 | nv | V | 90 kHz | 3551 | |
31 | H.261 | V | 90 kHz | 3551, 2032 | |
32 | MPV | V | 90 kHz | 3551, 2250 | |
33 | MP2T | AV | 90 kHz | 3551, 2250 | |
34 | H.263 | V | 90 kHz | 3551, 2250 | |
96-127 | dynamisch | 3551 |
Literatur Bearbeiten
- Ulrich Trick, Frank Weber: SIP, TCP/IP und Telekommunikationsnetze. 2. Auflage. Oldenbourg, 2005, ISBN 3-486-57796-4.
Normen und Standards Bearbeiten
Hauptlinie:
- RFC – RTP: A Transport Protocol for Real-Time Applications. 1996 (veraltet, englisch).
- RFC – RTP: A Transport Protocol for Real-Time Applications. 2003 (aktuell, englisch).
- RFC – Support for Reduced-Size Real-Time Transport Control Protocol (RTCP): Opportunities and Consequences. 2009 (Ergänzung, aktuell, englisch).
- RFC – Multiplexing RTP Data and Control Packets on a Single Port. 2010 (Ergänzung, aktuell, englisch).
- RFC – Rapid Synchronisation of RTP Flows. 2010 (Ergänzung, aktuell, englisch).
- RFC – Guidelines for Choosing RTP Control Protocol (RTCP) Canonical Names (CNAMEs). 2013 (Ergänzung, aktuell, englisch).
- RFC – Support for Multiple Clock Rates in an RTP Session. 2014 (Ergänzung, aktuell, englisch).
- RFC – RTP and Leap Seconds. 2014 (Ergänzung, aktuell, englisch).
- RFC – Multimedia Congestion Control: Circuit Breakers for Unicast RTP Sessions. 2017 (Ergänzung, aktuell, englisch).
Nebenlinie:
- RFC – RTP Profile for Audio and Video Conferences with Minimal Control. 1996 (veraltet, englisch).
- RFC – RTP Profile for Audio and Video Conferences with Minimal Control. 2003 (aktuell, englisch).
- RFC – Update to Remove DVI4 from the Recommended Codecs for the RTP Profile for Audio and Video Conferences with Minimal Control (RTP/AVP). 2013 (Ergänzung, aktuell, englisch).
Weblinks Bearbeiten
- RTP Control Data Profile (RTP/CDP) für Machine-to-Machine-Anwendungen
Einzelnachweise Bearbeiten
- RFC – RTP: A Transport Protocol for Real-Time Applications. 2003 (englisch).
- RFC – RTP: A Transport Protocol for Real-Time Applications. 1996 (englisch).
- Finley Breese: Serial Communication over RTP/CDP. Books on Demand, 2010, ISBN 978-3-8391-8460-8 (google.de).