Real-Time Course. Video Streaming Over network. June Peter van der TU/e Computer Science, System Architecture and Networking

Similar documents
Video Streaming over Home Network Peter van der stok

Transport Over IP. CSCI 690 Michael Hutt New York Institute of Technology

Transport protocols Introduction

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

The Transport Layer: TCP & Reliable Data Transfer

CCNA R&S: Introduction to Networks. Chapter 7: The Transport Layer

Networking Technologies and Applications

Transport Layer. <protocol, local-addr,local-port,foreign-addr,foreign-port> ϒ Client uses ephemeral ports /10 Joseph Cordina 2005

TCP/IP. Chapter 5: Transport Layer TCP/IP Protocols

6. The Transport Layer and protocols

Chapter 7. The Transport Layer

TCP over wireless links

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 30, 2018

Video Streaming with the Stream Control Transmission Protocol (SCTP)

Upper Layer Services. Berkeley Sockets Example of Socket Programming: Internet File Server

MPEG-2. And Scalability Support. Nimrod Peleg Update: July.2004

Outline. Internet. Router. Network Model. Internet Protocol (IP) Design Principles

ETSF10 Internet Protocols Transport Layer Protocols

6.1 Internet Transport Layer Architecture 6.2 UDP (User Datagram Protocol) 6.3 TCP (Transmission Control Protocol) 6. Transport Layer 6-1

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

Guide To TCP/IP, Second Edition UDP Header Source Port Number (16 bits) IP HEADER Protocol Field = 17 Destination Port Number (16 bit) 15 16

The Transmission Control Protocol (TCP)

EEC-484/584 Computer Networks. Lecture 16. Wenbing Zhao

a. (4pts) What general information is contained in a LSR-PDU update that A might send?

c. If the sum contains a zero, the receiver knows there has been an error.

Transport Layer. Gursharan Singh Tatla. Upendra Sharma. 1

EEC-682/782 Computer Networks I

Chapter 6. The Transport Layer. The Transport Service. Services Provided to the Upper Layers. Transport Service Primitives (3) 10/7/2010

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 25, 2018

05 Transmission Control Protocol (TCP)

TSIN02 - Internetworking

OSI Transport Layer. Network Fundamentals Chapter 4. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

The Transport Layer. Part 1

COMP/ELEC 429/556 Introduction to Computer Networks

CS4700/CS5700 Fundamentals of Computer Networks

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

OSI Transport Layer. objectives

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

Sequence Number. Acknowledgment Number. Data

Error Control Techniques for Interactive Low-bit Rate Video Transmission over the Internet.

Network Management & Monitoring Network Delay

CSE/EE 461. Sliding Windows and ARQ. Last Time. This Time. We finished up the Network layer Internetworks (IP) Routing (DV/RIP, LS/OSPF)

TSIN02 - Internetworking

xkcd.com End To End Protocols End to End Protocols This section is about Process to Process communications.

Network Technology 1 5th - Transport Protocol. Mario Lombardo -

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. October 11, 2018

TCP over Wireless PROF. MICHAEL TSAI 2016/6/3

Lesson 5 TCP/IP suite, TCP and UDP Protocols. Chapter-4 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Multimedia networked applications: standards, protocols and research trends

4. The transport layer

Network Protocols. Sarah Diesburg Operating Systems CS 3430

QoE Characterization for Video-On-Demand Services in 4G WiMAX Networks

COMPUTER NETWORK. Homework #2. Due Date: April 12, 2017 in class

Introduction to Networked Multimedia An Introduction to RTP p. 3 A Brief History of Audio/Video Networking p. 4 Early Packet Voice and Video

Problem 7. Problem 8. Problem 9

Good Ideas So Far Computer Networking. Outline. Sequence Numbers (reminder) TCP flow control. Congestion sources and collapse

Advanced Network Design

CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Communication Networks

TCP and Congestion Control (Day 1) Yoshifumi Nishida Sony Computer Science Labs, Inc. Today's Lecture

ECE 333: Introduction to Communication Networks Fall 2001

Lecture 4: Congestion Control

Information Network 1 TCP 1/2

MPEG-4: Simple Profile (SP)

Master Course Computer Networks IN2097

CSCD 433/533 Advanced Networks Fall Lecture 14 RTSP and Transport Protocols/ RTP

Real-Time Protocol (RTP)

Multiple unconnected networks

TCP = Transmission Control Protocol Connection-oriented protocol Provides a reliable unicast end-to-end byte stream over an unreliable internetwork.

Transport Layer Chapter 6

Comparison of Shaping and Buffering for Video Transmission

Lecture 20 Overview. Last Lecture. This Lecture. Next Lecture. Transport Control Protocol (1) Transport Control Protocol (2) Source: chapters 23, 24

Transport Protocols & TCP TCP

TSIN02 - Internetworking

9th Slide Set Computer Networks

Recommended Readings

TSIN02 - Internetworking

Introduction to Networks and the Internet

CS 218 F Nov 3 lecture: Streaming video/audio Adaptive encoding (eg, layered encoding) TCP friendliness. References:

The GBN sender must respond to three types of events:

Chapter 3 Review Questions

TCP/IP Protocol Suite 1

Lecture 3: The Transport Layer: UDP and TCP

NWEN 243. Networked Applications. Transport layer and application layer

Streaming Video over the Internet. Dr. Dapeng Wu University of Florida Department of Electrical and Computer Engineering

CSE 461 Module 10. Introduction to the Transport Layer

CPSC156a: The Internet Co-Evolution of Technology and Society. Lecture 4: September 16, 2003 Internet Layers and the Web

Goals and topics. Verkkomedian perusteet Fundamentals of Network Media T Circuit switching networks. Topics. Packet-switching networks

Unix Network Programming

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Information Network 1 TCP 1/2. Youki Kadobayashi NAIST

EE 610 Part 2: Encapsulation and network utilities

BLM6196 COMPUTER NETWORKS AND COMMUNICATION PROTOCOLS

CS 641 Project Report Error resilient video transmission over wireless networks. December Gang Ding

Chapter 23 Process-to-Process Delivery: UDP, TCP, and SCTP 23.1

Modelling TCP with Markov chains

CMSC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 7. October 16 CMSC417 Set 7 1

DigiPoints Volume 1. Student Workbook. Module 8 Digital Compression

Network Management & Monitoring

Flow and Congestion Control (Hosts)

Transcription:

Real-Time Course Video Streaming Over network 1

Home network example Internet Internet Internet in Ethernet switch 2

QoS chains Quality of video Size of video bit/s network Quality of network Bandwidth, delay Quality of renderer Processing power Quality of experience Perception by user 3

Network stream video transport frames 1.5-10 Mbit/s 0.1 % loss 30 % loss link packets Ethernet switch 80 Mbit/s 5-24 Mbit/s 4

MPEG2 video Divide picture in 16*16 macroblocks Each macroblock is 4 blocks 8*8 block 5

MPEG2 video Frame types a) I frames b) P frames c) B frames d) Group of Pictures (GOP): Set of frames between two I frames IBBPBBPBBI or IPPPI, or II 6

MPEG2 video General scheme of encoder Original video + - DCT Quantization Q VLC + Inverse DCT Motion Compensation Inverse Quantization Q -1 Frame Memory Motion Estimation Motion vectors 7

MPEG2 video General scheme of decoder VLD Inverse Quantization Q -1 Inverse DCT Frame Memory + Motion Compensation 8

MPEG2 video Encoding of macroblock 9

Two Internet Protocols Transmission Control Protocol, and Real-Time Transport Protocol TCP A receiver that accepted a packet, accepted all preceding packets in the sending order RTP All accepted packets are consumed in time 10

The Real-Time Transport Protocol (a) The position of RTP in the protocol stack. (b) Packet nesting. 11

The Real-Time Transport Protocol UDP header Source port UDP length 32 bits Destination port UDP checksum Control info Sequence number TimeStamp Synchronization source identifier 32 bits 12

The Transmission Control Protocol TCP header 32 bits Source port Destination port Sequence number Acknowledgement number Header length Window size Checksum Urgent pointer 13

TCP (2) Separation of acknowledgements and permission to send leads to variable sized windows Use of selective repeat (NAK) 14

TCP (3) sender Write 2K Write 2K blocked Write 1K Seq 0, data 2K Ack 2K, Win 2K Seq 2K, data 2K Ack 4K, Win 0 Ack 4K, Win 2K Seq 4K, data 1K receiver 0 4k empty 2k 4k Read 2K 2k 1K 2k 15

TCP (4) Congestion control Assumption: packets are not lost over wires. Consequently, transmission time-outs are due to congestion Two windows maintained: 1. Receiver window 2. Congestion window And take minimum of both. 16

TCP (5) Congestion control Determine congestion window size: (slow start) Start with maximum segment After acknowledgement set window size to two Send n segments After acknowledgement set congestion window size to 2n Stop at 2n = treshold or no acknowledgement before time-out When treshold add one segment at the time 17

TCP (6) Congestion control When timeout Half treshold size And start slow algorithm 18

TCP (7) 19

Single loss TCP RTP smooth Intermittent losses 20

TCP versus RTP behavior 52 16 34 41 5 23 3 4 12 24 3 1 TCP Single loss A1 34 56 2 4 3 5 6 1 2 4 4 5 2 1 3 3 4 1 2 34 1 2 52 6 34 1 41 5 23 3 4 12 24 3 1 RTP 13 45 62 5 6 1 2 4 4 5 1 2 2 4 3 1 24 1 21

Bursty loss TCP RTP Intermittent delays Intermittent losses 22

TCP hick-up 21 4 3 1 3 2 32 1 41 TCP Loss burst 43 3 41 2 2 1 1 3 21 26 5 13 4 15 42 3 43 12 43 2 1 RTP 65 43 61 45 2 5 24 1 4 12 3 41 2 23

Bursty loss RTP-RTM Combines RTP and TCP properties 1. Allows the dropping of late packets 2. Allows retransmission of lost packets 24

TCP-RTM behavior Loss burst 42 13 31 2 23 1 14 3 4 2 1 2 1 1 3 45 23 1 34 12 23 1 12 4 A4 5 3 5 4 2 1 4 2 1 2 1 3 TCP 2 1 TCP-RTM 4 12 25

IEEE 802.11 Link QoS Every received packet is immediately acknowledged Unacknowledged packet is repeated sending failed after n unacknowledged repetitions 0 < n <9 Conclusion: under packet-loss, bandwidth decreases 26

IEEE 802.11 Protocol Interframe spacing in 802.11. 27

Scalable video code Enhancement layer transmit Base layer 28

Perturbed wireless streaming Microwave on RTP unlayered RTP layered 29

Sending layers EL BL E1 E2 E3 E4 1 E1 E2 E3 2 E2 E1 3 E1 4 B1 B2 B3 B4 1 B1 B2 B3 2 B2 B1 3 B1 4 Layered video BL: Base layer EL: Enhancement layer B4 B3 B2 B1 E3 E4 E1 EL BL E4 1 E1 E3 2 E1 3 B2 B3 B1 B4 1 B2 B1 B3 2 B1 B2 3 23 1 30

Time scales MPEG2 codec sender Layered MPEG2 controller TCP-RTM Transp-RI Ethernet switch 31