Happytime RTSP server supports RTP over TCP, RTP over UDP, supports RTP multicast (the same rtsp url sessions use the same multicast address and port), supports RTSP over HTTP, and supports audio back-channel.Happytime RTSP server supports RTSP proxy function, which facilitates server multi-level deployment and easily meets server expansion requirements.
Multimedia Over IP: RSVP, RTP, RTCP, RTSP Chunlei Liu,. TCP and UDP are two most commonly used transport protocols on the Internet. TCP provides a connection-oriented and reliable flow between two hosts, while UDP provides a connectionless but unreliable datagram service over the network.. Describes a profile for the use of the real-time.
The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems to control streaming media servers.The protocol is used for establishing and controlling media sessions between end points. Clients of media servers issue VHS-style commands, such as play, record and pause, to facilitate real-time control of the media streaming.
RTP typically runs over User Datagram Protocol (UDP) which being a Transport Layer protocol infers that RTP is a Transport Layer protocol too. For further clarifications on the topic you may visit: What is Real-Time Transport Protocol (RTP)? - Definition from WhatIs.com.
And you have the real time transport protocol that sits on top of UDP. The two points that you should pay attention to in RTP is the sequence number. So this is real time data every voice packet or every video packet gets sequentially numbered so that if some of them are missing you know which of them are actually lost, so the decoder, the receiver, knows where there are gaps in the data.
RTP itself is a transport protocol that usuallyruns over UDP (because timeliness is more important in a real-timetransport protocol than reliability), but can run over TCP (provided the media is framed - RFC 4103data is not, for instance).
For such applications, protocols like the Real-time Transport Protocol (RTP) operating over the User Datagram Protocol (UDP) are usually recommended instead. TCP is a reliable stream delivery service which guarantees that all bytes received will be identical and in the same order as those sent.
Guaranteed communication over TCP port 1234 is the main difference between TCP and UDP. UDP port 1234 would not have guaranteed communication as TCP. UDP on port 1234 provides an unreliable service and datagrams may arrive duplicated, out of order, or missing without notice.