RTSP Client using RTP and CINEMA libraries
Shahmil Merchant
Columbia University
NYC, NY 10027
USA
srm96@columbia.edu
Rahul Bhan
Columbia University
NYC,NY
10027
rb839@columbia.edu
Abstract
We started of by understanding the RTSP RFC and did do a bit of cross referencing
with HTTP and SDP.We then started reading and understanding the server
code,and designed our API.The status of the Project is that we have completed
a fully functional command line driven client .The client has features
such as
-
Play from any random Position.
-
Pause
-
Teardown
-
Invocation of audio tool RAT.
-
Details of the above can be found on the manual
page.
Introduction
Command line driven client implementation completed.Has been tested
for audio applications.
Related Work
Similar
Work
Background
We used RTP and CINEMA libraries in developing code for the Project.
Architecture
The program is implemented in C .We used RTP and CINEMA libraries to Perform
Parsing,String manipulation and Formatting of Requests and Responses.We
also modified the SDP Parser to give us details specific to the client
requirements.
The code in brief steps can be explained as follows:
-
Format a header having a DESCRIBE and send it over a TCP Connection to
RTSP server.
-
Accept the SDP response and SETUP connection to audio/video server using
aggregate/non-aggregate control.
-
Play the stream/s from the beginning or random position by specifying an
NPT range along with play.
-
The above facility enables rewind,forward kind of features.
-
Pause the play stream by typing 'pause'.
-
Record on server and have playback from server too.
-
Teardown Connection.
Program Documentation
Links and Specifications :
-
RTSP specification
-
RTSP client Using RTP and Cinema Libraries.
-
Program Manual can be found at Program
Manual
-
OS supported:Solaris,Linux;Audio Devices:RAT.
-
Server installed on one machine ,client on the other.
-
Operation Example: Open DESCRIBE rtsp://foo/twister RTSP/1.0
-
Program Internal Operation:Function calls from main() to OPEN or CLOSE.
-
Enhancements:Develop GUI,Test for video using VIC Player.
-
Acknowledgements:
-
Prof
Henning Schulzrinne
-
Internet Real Time Laboratory
Columbia University, NYC,NY.
-
Kundan
Singh
-
Internet Real Time Laboratory
Columbia University, NYC,NY.
Measurements
Project checkpoint:Power
Point Presentation
Presentation
in School
Task List
The CINEMA and RTP libraries were obtained from IRT LAB,Columbia University.
References
-
RTSP Specifications, Link
to Prof. Schulzrinne RTSP WebPage
, Columbia University,NY.
Last updated: 2001-05-03 by Shahmil
Merchant