SlideShare a Scribd company logo
1 of 22
Application layer (continued)



Week 4 – Lecture 2
Internet Architecture
Application layer – HTTP, SMTP etc              W3C


Transport layer – TCP, UDP

                                                IETF
Network layer - IP


Data link & Physical layers –                   ITU
        the territory of the LANs/Telcos/ISPs   IEEE
Variables in Internet service


• Bandwidth
• Latency – delay sensitivity
• Error free – loss tolerance
Application requirements
Application          Loss       Delay       Band-
                     Tolerant   Sensitive   Width
Web                  None       No          Medium
E-Mail               None       No          Low
Video streaming      Some       Some        High
Telephone calls      Some       Yes         Low
Video conferencing   Some       Yes         Medium/
                                            high
Characteristics Applications
• Video streaming
• Voice over IP
• Multicasting
Multicast routing
Multicast routing

• We have only talked about single host to
  single destination messages
• Some applications require a host to send
  messages to many destinations:
  – Upgrade of software
  – Streaming of an on-line lecture or movie
  – Stock price information to subscribers
Three approaches

• At the application level where the application
  establishes a separate unicast transport connection
  to each receiver. This is not usually efficient and
  not scalable
• Broadcast – controlled – reverse path & spanning
  tree
• An explicit multicast where the network layer
  makes copies of the message as close to the
  recipient as possible
How multi cast works
How does it address the one
      message to all receivers?
• It is not practicable to:
    – Attach a list of addressees to the message
    – The addressees may not be known
•   Uses a broadcast and subscribe approach
•   Subscribers are added to a D class address
•   See Kurose for more details
•   IGMP (Internet Group Management Protocol)
    provides services for managing the group
Video and audio Streaming
• Streaming stored video
• Streaming live video
• Real time interactive video - video
  conferencing
• Voice over IP
Streaming stored video
• Media pre-recorded and held on server
• Ideally server near client (remember WEB caching
  discussion)
• Important that it plays at recorded speed
• Uses buffering to prevent jitter – effect of delays
  and loss packets
• Because of buffering and one way (predominantly)
  latency not as big a problem as with live video
  streaming
• Can fast forward and rewind (not usually multicast)
Streaming live video
• Can still buffer and build in a delay
• Because it is live, cannot fast forward but
  some software will allow rewind
• Can be multicast or unicast
• Multicast overlay – uses servers scattered
  through the broadcast area
Protocols for streaming
•   WEB http uses TCP to make the request
•   But TCP not satisfactory for streaming
•   Browser kicks off a media player process
•   Web server then instructs Steaming server
    to send to the media player post on the
    browser host probably using RTP


           WEB       TCP         WEB
          Browser                server

          Media
                     UDP        Streaming
          player                  server
Control streaming stored video
• Real Time Streaming Protocol (RTSP)
• The equivalent of the Remote control
• Allows the Media player and the Streaming server
  to communicate over two additional ports
• RTSP keeps track of the state of the streaming
  process including the session number and
  sequence number of the segment
Compression
• Video and audio must be compressed before
  transmission
   – Speech normally requires 64kbps
   – Stereo CD requires 1.4mbps
   – Video much more again
• Various standards (codecs) for compression
   –   GSM for voice
   –   MP3 for stereo music
   –   MP1 and MP4 and others for video
   –   H.323 for Video conferencing
Voice over IP
• Delay sensitive but large bandwidth not
  required
• Range of user facilities required to simulate
  facilities available in PBX
Private WAN                   PSTN
Call Manager      Gateway

               Office 1




      Private link



         Office 2              Public
                               Internet
                     Gateway
Advantages
•   Maintain one network instead of two
•   One British bank estimate gives 25% cost saving
•   Inter-office calls over own network – fixed cost
•   Application extensions
    –   On-line office directory
    –   Single messaging system
    –   Display product information
    –   Telephony options on screen
    –   Video conferencing
Risks
•   Security – could be open to Public internet
•   New technology
•   QoS over IP – not totally standardised
•   Power failure etc, not just network but
    phone system as well – all eggs in one
    basket
Techniques for avoiding jitter in VoIP
  • Three problems
    – Variable latency
    – Lost packets
    – Packets out of order
  • Approaches
    – Sequence numbers & timestamps
    – Fixed play out delay
    – Error correction
       • Redundant data to allow reconstruction of one packet
       • Two audio streams- normal and a back-up low resolution
       • Interleaving
Video conferencing
• Like a phone call, delays must be less than
  ½ second
• Places real constraints – delay sensitive and
  needs bandwidth

More Related Content

What's hot

Loudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarLoudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarVolicon
 
Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.pptVideoguy
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.pptVideoguy
 
topicCybersecurity_4
topicCybersecurity_4topicCybersecurity_4
topicCybersecurity_4Anne Starr
 
Network client configuration
Network client configurationNetwork client configuration
Network client configurationEduardo Cambinda
 
PowerPoint
PowerPointPowerPoint
PowerPointVideoguy
 
Vsat day-2008-comtech
Vsat day-2008-comtechVsat day-2008-comtech
Vsat day-2008-comtechSSPI Brasil
 
Principes of Video Technology
Principes of Video Technology Principes of Video Technology
Principes of Video Technology halimakhan
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming MediaKaniska Mandal
 
IP networks and mutlimedia
IP networks and mutlimediaIP networks and mutlimedia
IP networks and mutlimediaTran Thang
 
Lighting up Lync Video - Network Preparation
Lighting up Lync Video - Network PreparationLighting up Lync Video - Network Preparation
Lighting up Lync Video - Network PreparationIVCi, LLC
 
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...Brad Fortner
 
Encoding Video for Microsoft Silverlight
Encoding Video for Microsoft SilverlightEncoding Video for Microsoft Silverlight
Encoding Video for Microsoft Silverlightgoodfriday
 
Skype for Business - NYC Enterprise Collaboration Meetup
Skype for Business - NYC Enterprise Collaboration MeetupSkype for Business - NYC Enterprise Collaboration Meetup
Skype for Business - NYC Enterprise Collaboration MeetupSoHo Dragon
 

What's hot (20)

Loudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness WebinarLoudness 201: Advanced Loudness Webinar
Loudness 201: Advanced Loudness Webinar
 
Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.ppt
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
Audio And Video Over Internet
Audio And Video Over InternetAudio And Video Over Internet
Audio And Video Over Internet
 
topicCybersecurity_4
topicCybersecurity_4topicCybersecurity_4
topicCybersecurity_4
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Network client configuration
Network client configurationNetwork client configuration
Network client configuration
 
Streaming Video Techniques
Streaming Video TechniquesStreaming Video Techniques
Streaming Video Techniques
 
PowerPoint
PowerPointPowerPoint
PowerPoint
 
Vsat day-2008-comtech
Vsat day-2008-comtechVsat day-2008-comtech
Vsat day-2008-comtech
 
Web technology
Web technologyWeb technology
Web technology
 
Principes of Video Technology
Principes of Video Technology Principes of Video Technology
Principes of Video Technology
 
Protocol For Streaming Media
Protocol For Streaming MediaProtocol For Streaming Media
Protocol For Streaming Media
 
IP networks and mutlimedia
IP networks and mutlimediaIP networks and mutlimedia
IP networks and mutlimedia
 
Lighting up Lync Video - Network Preparation
Lighting up Lync Video - Network PreparationLighting up Lync Video - Network Preparation
Lighting up Lync Video - Network Preparation
 
Unit07
Unit07Unit07
Unit07
 
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
SMPTE Toronto Presentation - Multi Camera High Definition TV Studio and Roger...
 
Encoding Video for Microsoft Silverlight
Encoding Video for Microsoft SilverlightEncoding Video for Microsoft Silverlight
Encoding Video for Microsoft Silverlight
 
Skype for Business - NYC Enterprise Collaboration Meetup
Skype for Business - NYC Enterprise Collaboration MeetupSkype for Business - NYC Enterprise Collaboration Meetup
Skype for Business - NYC Enterprise Collaboration Meetup
 
Video Digitization
Video DigitizationVideo Digitization
Video Digitization
 

Similar to Slides for Week 4 - Lec 2 (20)

Multimedia-Applications.ppt
Multimedia-Applications.pptMultimedia-Applications.ppt
Multimedia-Applications.ppt
 
IPTV Basics
IPTV BasicsIPTV Basics
IPTV Basics
 
Network protocol
Network protocolNetwork protocol
Network protocol
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMING
 
Delivering Great WebRTC on Mobile Devices
Delivering Great WebRTC on Mobile DevicesDelivering Great WebRTC on Mobile Devices
Delivering Great WebRTC on Mobile Devices
 
Voip
VoipVoip
Voip
 
VOIP security
VOIP securityVOIP security
VOIP security
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
Bluetube
BluetubeBluetube
Bluetube
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
Streaming
StreamingStreaming
Streaming
 
IP Signal Distribution
IP Signal DistributionIP Signal Distribution
IP Signal Distribution
 
Web casting
Web castingWeb casting
Web casting
 
Computer Networks
Computer NetworksComputer Networks
Computer Networks
 
838511959.pptx
838511959.pptx838511959.pptx
838511959.pptx
 
Sangoma SBC Training Presentation
Sangoma SBC Training PresentationSangoma SBC Training Presentation
Sangoma SBC Training Presentation
 
Future of voip- karan singh cypher
Future of voip- karan singh cypherFuture of voip- karan singh cypher
Future of voip- karan singh cypher
 
network basics
network basicsnetwork basics
network basics
 
Airheads scottsdale 2010 broadcast quality video over 11n
Airheads scottsdale 2010   broadcast quality video over 11nAirheads scottsdale 2010   broadcast quality video over 11n
Airheads scottsdale 2010 broadcast quality video over 11n
 

More from Videoguy

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingVideoguy
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresVideoguy
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingVideoguy
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksVideoguy
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streamingVideoguy
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideoguy
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader AudienceVideoguy
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Videoguy
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGVideoguy
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingVideoguy
 
Application Brief
Application BriefApplication Brief
Application BriefVideoguy
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Videoguy
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second LifeVideoguy
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming SoftwareVideoguy
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoguy
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video FormatenVideoguy
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareVideoguy
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxVideoguy
 
Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Videoguy
 

More from Videoguy (20)

Energy-Aware Wireless Video Streaming
Energy-Aware Wireless Video StreamingEnergy-Aware Wireless Video Streaming
Energy-Aware Wireless Video Streaming
 
Microsoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_PresMicrosoft PowerPoint - WirelessCluster_Pres
Microsoft PowerPoint - WirelessCluster_Pres
 
Proxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video StreamingProxy Cache Management for Fine-Grained Scalable Video Streaming
Proxy Cache Management for Fine-Grained Scalable Video Streaming
 
Adobe
AdobeAdobe
Adobe
 
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer NetworksFree-riding Resilient Video Streaming in Peer-to-Peer Networks
Free-riding Resilient Video Streaming in Peer-to-Peer Networks
 
Instant video streaming
Instant video streamingInstant video streaming
Instant video streaming
 
Video Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A SurveyVideo Streaming over Bluetooth: A Survey
Video Streaming over Bluetooth: A Survey
 
Reaching a Broader Audience
Reaching a Broader AudienceReaching a Broader Audience
Reaching a Broader Audience
 
Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...Considerations for Creating Streamed Video Content over 3G ...
Considerations for Creating Streamed Video Content over 3G ...
 
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMINGADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
ADVANCES IN CHANNEL-ADAPTIVE VIDEO STREAMING
 
Impact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video StreamingImpact of FEC Overhead on Scalable Video Streaming
Impact of FEC Overhead on Scalable Video Streaming
 
Application Brief
Application BriefApplication Brief
Application Brief
 
Video Streaming Services – Stage 1
Video Streaming Services – Stage 1Video Streaming Services – Stage 1
Video Streaming Services – Stage 1
 
Streaming Video into Second Life
Streaming Video into Second LifeStreaming Video into Second Life
Streaming Video into Second Life
 
Flash Live Video Streaming Software
Flash Live Video Streaming SoftwareFlash Live Video Streaming Software
Flash Live Video Streaming Software
 
Videoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions CookbookVideoconference Streaming Solutions Cookbook
Videoconference Streaming Solutions Cookbook
 
Streaming Video Formaten
Streaming Video FormatenStreaming Video Formaten
Streaming Video Formaten
 
iPhone Live Video Streaming Software
iPhone Live Video Streaming SoftwareiPhone Live Video Streaming Software
iPhone Live Video Streaming Software
 
Glow: Video streaming training guide - Firefox
Glow: Video streaming training guide - FirefoxGlow: Video streaming training guide - Firefox
Glow: Video streaming training guide - Firefox
 
Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0Video and Streaming in Nokia Phones v1.0
Video and Streaming in Nokia Phones v1.0
 

Slides for Week 4 - Lec 2

  • 2. Internet Architecture Application layer – HTTP, SMTP etc W3C Transport layer – TCP, UDP IETF Network layer - IP Data link & Physical layers – ITU the territory of the LANs/Telcos/ISPs IEEE
  • 3. Variables in Internet service • Bandwidth • Latency – delay sensitivity • Error free – loss tolerance
  • 4. Application requirements Application Loss Delay Band- Tolerant Sensitive Width Web None No Medium E-Mail None No Low Video streaming Some Some High Telephone calls Some Yes Low Video conferencing Some Yes Medium/ high
  • 5. Characteristics Applications • Video streaming • Voice over IP • Multicasting
  • 7. Multicast routing • We have only talked about single host to single destination messages • Some applications require a host to send messages to many destinations: – Upgrade of software – Streaming of an on-line lecture or movie – Stock price information to subscribers
  • 8. Three approaches • At the application level where the application establishes a separate unicast transport connection to each receiver. This is not usually efficient and not scalable • Broadcast – controlled – reverse path & spanning tree • An explicit multicast where the network layer makes copies of the message as close to the recipient as possible
  • 10. How does it address the one message to all receivers? • It is not practicable to: – Attach a list of addressees to the message – The addressees may not be known • Uses a broadcast and subscribe approach • Subscribers are added to a D class address • See Kurose for more details • IGMP (Internet Group Management Protocol) provides services for managing the group
  • 11. Video and audio Streaming • Streaming stored video • Streaming live video • Real time interactive video - video conferencing • Voice over IP
  • 12. Streaming stored video • Media pre-recorded and held on server • Ideally server near client (remember WEB caching discussion) • Important that it plays at recorded speed • Uses buffering to prevent jitter – effect of delays and loss packets • Because of buffering and one way (predominantly) latency not as big a problem as with live video streaming • Can fast forward and rewind (not usually multicast)
  • 13. Streaming live video • Can still buffer and build in a delay • Because it is live, cannot fast forward but some software will allow rewind • Can be multicast or unicast • Multicast overlay – uses servers scattered through the broadcast area
  • 14. Protocols for streaming • WEB http uses TCP to make the request • But TCP not satisfactory for streaming • Browser kicks off a media player process • Web server then instructs Steaming server to send to the media player post on the browser host probably using RTP WEB TCP WEB Browser server Media UDP Streaming player server
  • 15. Control streaming stored video • Real Time Streaming Protocol (RTSP) • The equivalent of the Remote control • Allows the Media player and the Streaming server to communicate over two additional ports • RTSP keeps track of the state of the streaming process including the session number and sequence number of the segment
  • 16. Compression • Video and audio must be compressed before transmission – Speech normally requires 64kbps – Stereo CD requires 1.4mbps – Video much more again • Various standards (codecs) for compression – GSM for voice – MP3 for stereo music – MP1 and MP4 and others for video – H.323 for Video conferencing
  • 17. Voice over IP • Delay sensitive but large bandwidth not required • Range of user facilities required to simulate facilities available in PBX
  • 18. Private WAN PSTN Call Manager Gateway Office 1 Private link Office 2 Public Internet Gateway
  • 19. Advantages • Maintain one network instead of two • One British bank estimate gives 25% cost saving • Inter-office calls over own network – fixed cost • Application extensions – On-line office directory – Single messaging system – Display product information – Telephony options on screen – Video conferencing
  • 20. Risks • Security – could be open to Public internet • New technology • QoS over IP – not totally standardised • Power failure etc, not just network but phone system as well – all eggs in one basket
  • 21. Techniques for avoiding jitter in VoIP • Three problems – Variable latency – Lost packets – Packets out of order • Approaches – Sequence numbers & timestamps – Fixed play out delay – Error correction • Redundant data to allow reconstruction of one packet • Two audio streams- normal and a back-up low resolution • Interleaving
  • 22. Video conferencing • Like a phone call, delays must be less than ½ second • Places real constraints – delay sensitive and needs bandwidth