G33K-TRICKS: What is RTSP

Sunday, April 10, 2016

What is RTSP


What exactly is RTSP 

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 VCR-style commands, such as playrecord and pause, to facilitate real-time control of the media streaming from the server to a client (Video On Demand) or from a client to the server (Voice Recording).[Wikipedia]

Protocol Directives:

RTSP defines control sequences useful in controlling multimedia playback. RTSP has state (not like HTTP which is stateless), where an identifier is used to track concurrent sessions. Like HTTP, RTSP uses TCP to maintain an end-to-end connection and, while most RTSP control messages are sent by the client to the server.


Below are few RTSP requests:

Other requests are GET_PARAMETER, SET_PARAMETER, REDIRECT, ANNOUNCE

OPTIONS: 
An OPTIONS request returns the request types the server will accept.
DESCRIBE: 
A DESCRIBE request includes an RTSP URL (rtsp://...), and the type of reply data that can be handled. 
SETUP:
A SETUP request specifies how a single media stream must be transported. This must be done before a PLAY request is sent. 
PLAY:
A PLAY request will cause one or all media streams to be played. Play requests can be stacked by sending multiple PLAY requests
PAUSE:
A PAUSE request temporarily halts one or all media streams, so it can later be resumed with a PLAY request. 
RECORD:
This method initiates recording a range of media data according to the presentation description. 
TEARDOWN :
A TEARDOWN request is used to terminate the session. It stops all media streams and frees all session related data on the server.


To browse RTSP Streaming test samples visit:


2 comments:

gibsonherry said...

Your blog is very informative. Eating mindfully has been very hard for people these days. It's all because of their busy schedules, work or lack of focus on themselves. As a student I must admit that I have not been eating mindfully but because of this I will start now. It could help me enjoy my food and time alone. Eating mindfully may help me be aware of healthy food and appreciating food.
Lenovo System x3100 M5

PiLoggroup said...

Nice post....
We are providing the best master data services around the world....visit our site for more information....
master data management in sap
mdom
data cleansing tools
Master Data Governance
Data Cleansing Services
data classification tools
Master Data Management Solutions
data transformation service
Master Data in sap
eSPIR
Security & Compliance
Master Data Management