1 / 15

Introduction to N etworks and Communication S hravan chouti

STREAMING STORED AUDIO AND VIDEO. Introduction to N etworks and Communication S hravan chouti. Topics discussed in this section:. What is streaming technology?. A technique for transferring data such that it can be processed as a steady and continuous stream

neil
Download Presentation

Introduction to N etworks and Communication S hravan chouti

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. STREAMING STORED AUDIO AND VIDEO Introduction to Networks and Communication Shravanchouti

  2. Topics discussed in this section:

  3. What is streaming technology? • A technique for transferring data such that it can be processed as a steady and continuous stream • client does not have to download the entire file to view it. Data Source Network The portion in the buffer The portion client is viewing

  4. Streaming stored audio/video

  5. G E T : a u d i o / v i d e o f i l e 1 Using a web server

  6. Media Player

  7. Using web server with metafile

  8. Using web server with metafile • Metafile: It contains information i.e. a URL and the type of file , so that media player can identify appropriate media. • Media player is directly connected to the web server and streamed over HTTP. • Web server stores two files: • Actual audio/video file. • Metafile. • Drawback: • Browser and media player use services of HTTP. • HTTP is designed to run over TCP. • This is appropriate to retrieve the metafile but not audio/video file because TCP retransmits a lost or damaged segment which is counter to the philosophy

  9. Using a Media Server

  10. Using a media server:

  11. Using a media server and RTSP Operation: HTTP GET Web Server Web Browser HTTP Response Setup Play Media Player Media Server Media Stream RTSP Pause Teardown

  12. Using Media Server and RTSP • Why to use RTSP? To control the media i.e. playback of continuous media by pausing playback, repositioning , fast forwarding , rewinding and so on. • control protocol designed to add more functionalities to the streaming process. • RTSP allows a media player to control the transmission of media stream. • RTSP is an out-of-band protocol, similar to second connection in FTP. • RTSP messages can be sent over either TCP or UDP. • RTSP works in the conjunction with RTP to deliver streaming audio & video content • RTSP maintains a server state during transmission unlike HTTP

  13. Example of RTSP session : C->S: SETUP rtsp://example.com/media.mp4/streamid=0 RTSP/1.0 CSeq: 3 Transport: RTP/AVP;unicast;client_port=8000-8001 S->C: RTSP/1.0 200 OK CSeq: 3 Transport: RTP/AVP;unicast;client_port=8000-8001;server_port=9000-9001 Session: 12345678 C->S: PLAY rtsp://example.com/media.mp4 RTSP/1.0 CSeq: 4 Range: npt=5-20 Session: 12345678 S->C: RTSP/1.0 200 OK CSeq: 4 Session: 12345678 RTP-Info: url=rtsp://example.com/media.mp4/streamid=0;seq=9810092;rtptime=3450012 C->S: PAUSE rtsp://example.com/media.mp4 RTSP/1.0 CSeq: 5 Session: 12345678 S->C: RTSP/1.0 200 OK CSeq: 5 Session: 12345678 C->S: TEARDOWN rtsp://example.com/media.mp4 RTSP/1.0 CSeq: 8 Session: 12345678A S->C: RTSP/1.0 200 OK CSeq: 8

  14. References • www.cs.unibo.it/~ghini/didattica/sistmultimed/Streaming.pdf • www.ida.liu.se/~TDDD36/tddd36-streaming.pdf • James F. Kurose, Keith W. Ross. Computer Networking, 5thEdition, Addison Wesley Longman, Inc, 2003 • http://en.wikipedia.org/wiki/Real_Time_Streaming_Protocol

  15. Thank You

More Related