CS 360 – Spring 2007 Pacific University Multimedia Content (Streaming Media) Session “Layer” section 7.4 19 Feb 2007.

Slides:



Advertisements
Similar presentations
Multimedia Systems As Presented by: Craig Tomastik.
Advertisements

McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 28 Real-Time Traffic over the Internet.
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
The Real Time Streaming Protocol (RTSP)
29.1 Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 25 Multimedia.
19 – Multimedia Networking. Multimedia Networking7-2 Multimedia and Quality of Service: What is it? multimedia applications: network audio and video (“continuous.
User Control of Streaming Media: RTSP
UNCW UNCW SIGGRAPH 2002 Topic #3: Continuous Media in Wired and Wireless Environments Ronald J. Vetter Department of Computer Science University of North.
Application layer (continued) Week 4 – Lecture 2.
CS335 Principles of Multimedia Systems Multimedia Over IP Networks -- I Hao Jiang Computer Science Department Boston College Nov. 6, 2007.
1 CSE 401N Multimedia Networking Lecture Multimedia, Quality of Service: What is it? Multimedia applications: network audio and video network provides.
CSc 461/561 CSc 461/561 Multimedia Systems 0. Introduction.
Real-time Transport Protocol Matt Boutell CS457: Computer Networks November 15, 2001.
Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss r RTP r Diff-serv, Int-serv, RSVP.
Media Streaming Protocols Presented by: Janice Ng and Yekaterina Tsipenyuk May 29 th, 2003 CSE 228: Multimedia Systems.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Multimedia Computer Networks 10/02/02 Xavier Appé.
1 Video and Audio Over The Net Mahdi ZandakbariVesal Hajiabbas.
Video Streaming © Nanda Ganesan, Ph.D..
CS640: Introduction to Computer Networks
CS 218 F 2003 Nov 3 lecture:  Streaming video/audio  Adaptive encoding (eg, layered encoding)  TCP friendliness References: r J. Padhye, V.Firoiu, D.
RTSP Real Time Streaming Protocol
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
CIS679: RTP and RTCP r Review of Last Lecture r Streaming from Web Server r RTP and RTCP.
6: Multimedia Networking6a-1 Chapter 6: Multimedia Applications r Multimedia requirements r Streaming r Phone over IP r Recovering from Jitter and Loss.
Multimedia and QoS#1#1 Multimedia Applications. Multimedia and QoS#2#2 Multimedia Applications r Multimedia requirements r Streaming r Recovering from.
Ch 7. Multimedia Networking Myungchul Kim
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 14 Multimedia Networking.
The Application Layer Chapter 7. DNS – The Domain Name System a)The DNS Name Space b)Resource Records c)Name Servers.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Streaming Stored Audio and Video (1) and Video (1) Advanced Multimedia University of Palestine University of Palestine Eng. Wisam Zaqoot Eng. Wisam Zaqoot.
Chapter 5: Summary r principles behind data link layer services: m error detection, correction m multiple access protocols m link layer addressing, ARP.
1 How Streaming Media Works Bilguun Ginjbaatar IT 665 Nov 14, 2006.
Multimedia Over IP: RTP, RTCP, RTSP “Computer Science” Department of Informatics Athens University of Economics and Business Λουκάς Ελευθέριος.
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
1 Lecture 17 – March 21, 2002 Content-delivery services. Multimedia services Reminder  next week individual meetings and project status report are due.
CS640: Introduction to Computer Networks Aditya Akella Lecture 19 - Multimedia Networking.
Multimedia, Quality of Service: What is it?
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Chapter 6 outline r 6.1 Multimedia Networking Applications r 6.2 Streaming stored audio and video m RTSP r 6.3 Real-time Multimedia: Internet Phone Case.
1 o characteristics – From an application-level API to the physical layer – CBR, VBR, ABR and UBR – Cell: bytes – Virtual circuits: virtual channel.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
QuickTime The Joy of Streaming!. QuickTime Streaming Server Allows for real time delivery of media over a network. intranet internet Content can be prerecorded.
03/11/2015 Michael Chai; Behrouz Forouzan Staffordshire University School of Computing Streaming 1.
Lab Assignment 15/ INF5060: Multimedia data communication using network processors.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 28 Multimedia.
Chapter 28. Network Management Chapter 29. Multimedia
LOG Objectives  Describe some of the VoIP implementation challenges such as Delay/Latency, Jitter, Echo, and Packet Loss  Describe the voice encoding.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 20 – Multimedia Session Protocols Klara Nahrstedt Spring 2012.
Internet multimedia: simplest approach audio, video not streamed: r no, “pipelining,” long delays until playout! r audio or video stored in file r files.
Presented by : BEN AMOR Adel MAKNI Mahmoud Ramzi
Ch 6. Multimedia Networking Myungchul Kim
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
Real Time Streaming Protocol (RTSP)
TCP/IP Protocol Suite 1 Chapter 25 Upon completion you will be able to: Multimedia Know the characteristics of the 3 types of services Understand the methods.
Ch 6. Multimedia Networking Myungchul Kim
Multimedia Streaming I. Fatimah Alzahrani. Introduction We can divide audio and video services into three broad categories: streaming stored audio/video,
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 24 – Client-Server Buffer Management Klara Nahrstedt Spring 2011.
Chapter 13: Multimedia and Networking BITM1113- Multimedia Systems.
The Transport Layer Congestion Control & UDP
19 – Multimedia Networking
Chapter 29 Multimedia Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Klara Nahrstedt Spring 2012
Networking Applications
Klara Nahrstedt Spring 2014
Chapter 25 Multimedia TCP/IP Protocol Suite
Networking Applications
RTP and RTSP Realtime Transport Protocol
Presentation transcript:

CS 360 – Spring 2007 Pacific University Multimedia Content (Streaming Media) Session “Layer” section Feb 2007

CS 360 – Spring 2007 Pacific University Network Requirements What does an application need from the network? Data Loss Bandwidth Time-sensitivity /web/IM/p2p/DNS/streaming media

CS 360 – Spring 2007 Pacific University Streaming Media time-sensitive –jitter is really more important –end-to-end delay loss-tolerant –what does this mean for the protocol? Aside from the Internet, where do we stream multimedia content? –how does that work? –how is the Internet different?

CS 360 – Spring 2007 Pacific University Streaming Protocols What does this mean for the protocols we develop to stream audio/video? –

CS 360 – Spring 2007 Pacific University Streaming Audio delays smaller than 150 milliseconds are not noticed delays of milliseconds are usually acceptable delays of 400+ milliseconds are annoying –ever see a TV news reporter in Iraq interviewed by a news anchor in NYC? We don’t need to get transmission perfect, the human ear/brain is good at interpreting a noisy signal Human ear can distinguish sounds in the 20 Hz to 20,000 Hz range

CS 360 – Spring 2007 Pacific University Sound to bits Sound is a smooth wave To digitize it, the wave is sampled at fixed intervals Two axes: –sampling rate 8000 samples per second 44,100 samples per second –sampling precision 8 bit sample: 256 different gradations 16 bit sample: 65,536 different gradations

CS 360 – Spring 2007 Pacific University Bandwidth Requirements US telephone: 64,000 bits per second (56,000 for data) –8 bit samples (7 for data, 1 for control) –8000 per second CD: kbps (stereo: Mbps) –16 bit samples –44,100 samples per second Which sounds better? –any complaints about CD quality sound? Don’t want to listen to music on the phone, but who has Mbps connection to listen to audio?

CS 360 – Spring 2007 Pacific University Audio Compression Read section MP3 - MPEG-1 audio layer 3 –No RFC, this is not an Internet standard –MPEG-1: standard for encoding audio and video –MPEG: Moving Pictures Expert Group, part of ISO –perceptual encoding exploit “flaws” in the human sense of hearing loud sounds mask quiet sounds plus other digital compression techniques –Huffman encoding rock’n’roll: 96 kbps piano concert: 128 kbps

CS 360 – Spring 2007 Pacific University Streaming Audio Often have a data channel and a control channel –why is that? RTP (RFC1889/3550) (chapter 6 pg. 529 in your book) –Real-time transport protocol –built on top of UDP –data channel –“to carry data that has real-time properties.” RFC 3550 RTCP (RFC 1889/3550) –sends control/statistical information for a RTP stream –“to monitor the quality of service and to convey information about the participants in an on-going session.” RFC 3550

CS 360 – Spring 2007 Pacific University RTSP RTSP (RFC 2326) –Real Time Streaming Protocol modeled on HTTP –control channel often called an “out-of-band” protocol –RTSP does not specify the data (media) packet –may use RTP or RDT as data channel –RDT (RealNetworks proprietary transport protocol) released under the RealNetworks Community Source License – –

CS 360 – Spring 2007 Pacific University RTSP (in-depth) Has notion of session built into the protocol Maintains state Control may be sent over multiple TCP connections –why would this be a TCP connection? –it is possible to embed the data into an RTSP channel why would we want to do this? why would this be a bad idea? RTSP Control Messages SETUP PLAY PAUSE REDIRECT PING GET_PARAMETER SET_PARAMETER OPTIONS DESCRIBE TEARDOWN

CS 360 – Spring 2007 Pacific University RTP Generic, real-time transport protocol Media applications use this like MathPacket uses recvfrom()/sendto() How does this fit into the protocol stack? Can combine many media streams into one RTP stream –audio and video may combine into one stream

CS 360 – Spring 2007 Pacific University RTP –

CS 360 – Spring 2007 Pacific University Your media player How does your media player use RTSP and RTP to play music? –must fight jitter –must fight loss of data –Interleaving interpolation –Buffering fixed playout delay High/low water mark in the buffer

CS 360 – Spring 2007 Pacific University Multicast (RFC3170)! Like (smart) broadcast TV for the Internet This is really in the transport layer –it runs on top of IP –we will talk about specific multicast routing algorithms later Send to a subset of the network –use an overlay network –uses address indirection –single IP address is used to represent all the receivers multicast group –class D multicast address class D: to left most bits are 1110 –IGMP: Internet Group Management Protocol (RFC 4604)

CS 360 – Spring 2007 Pacific University