28
Streaming Video over a Wireless Network So what is the problem!! WPI CS Research Rugby Bob Kinicki November 30, 2004

Streaming Video over a Wireless Network.ppt

Embed Size (px)

Citation preview

Page 1: Streaming Video over a Wireless Network.ppt

Streaming Video over aWireless Network

So what is the problem!!

WPI CS Research Rugby

Bob Kinicki

November 30, 2004

Page 2: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 2

CC-Wireless Rugby Team CC-Wireless Rugby Team prop hooker

Feng Li Mingzhe Li wireless measurement wireless bandwidth estimation

flanker flanker Jae Chung Yubing Wang

congestion control retransmissions

scrumhalfRobert Kinickiprotocols

flyhalf Huahui Wu weak side wing FEC Emmanuel Agulow-level wireless

fullback

Mark Claypoolmultimedia

Page 3: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 3

OutlineOutline Motivation – the Future Streaming Video over Wireless What Problems? Background

– Layered network architecture– Networking ‘religious’ tenets– Measurement and Tools– Streaming multimedia primer– Introduction to wireless networks

Focus: Wireless Bandwidth Estimation Discussion ??

Page 4: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 4

Streaming VideoStreaming Video

Ser ver Cl i ent

Video Frames

Net wor k Cl oud

Page 5: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 5

Streaming Video over Wireless

Streaming Video over Wireless

Ser verCl i ent

Video Frames

Wired network AP

Page 6: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 6

Networking Protocol LayersNetworking Protocol Layers

Application Layer: Real Player,Windows Media Player, MPEG

Transport Layer: TCP, UDP

Network Layer: IP

Data Link Layer (MAC): 802.3, 802.11b, 802.11g

Page 7: Streaming Video over a Wireless Network.ppt

Measurement and Tools

Page 8: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 8

Wireless Streaming Multimedia Lab

Topology Wireless Streaming Multimedia Lab

Topology

IDC

Windows 2003 server(saco)

Windows media server Real streaming Server Quick time Darwin Windows IIS server Ethereal

DVD DVD Player

VCR

Video Camera

Mobile station(yangtze)

WM Tracker Real Tracker Ethereal

Wireless sniffer(seine)

Ethereal Monitor Mode

Access point Video capture

NAT Router(streamit)

WPI Campus Network

Emulated Internet

1 2 3 4 5 6

7 8 9101112

AB

12x

6x

8x

2x

9x

3x

10x

4x

11x

5x

7x

1x

Eth

erne

t

A

12x

6x

8x

2x

9x

3x

10x

4x

11x

5x

7x

1x

CHub

1 2 3 4 5 6

7 8 9101112

AB

12x

6x

8x

2x

9x

3x

10x

4x

11x

5x

7x

1x

Eth

erne

t

A

12x

6x

8x

2x

9x

3x

10x

4x

11x

5x

7x

1x

C Switch

NFS Server(york)

Packet Sniffer(merlot)

Media Client(???)

WM Tracker Real Tracker Ethereal

Slide courtesy of Mingzhe’s PEDS presentationMonday October 25,2005

Page 9: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 9

Wireless Measurement StudyWireless Measurement Study

Page 10: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 10

Preliminary Wireless MeasurementsPreliminary Wireless Measurements

Application Layer

Network Layer

Data Link Layer

Page 11: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 11

Video Streaming ChoicesVideo Streaming Choices

Media Player or Real Player TCP or UDP Single layer encoding or multilayer

encoding

Page 12: Streaming Video over a Wireless Network.ppt

MediaPlayer™ vs. RealPlayer™ A

Comparison of Network Turbulence

Page 13: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 13

0

100

200

300

400

500

600

700

0 50 100 150 200 250

Time (seconds)

Ban

dwid

th (

Kbit

s/se

c.)

Real Player (284K)

Real Player (36K)

Windows Media Player (323K)

Windows Media Player (49K)

Real vs WMP Playout RateReal vs WMP Playout Rate

RealPlayer buffers at a higher rate

Page 14: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 14

Video Compression StandardVideo Compression Standard

I 0 B 00 B 01 P 1 B 10 P 2 I 0

MPEG– Popular compression standard– Intra-compression and inter-compression– Three types of frames: I, P and B– Group Of Pictures (GOP)

Page 15: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 15

340 Kbps Clip - Bottleneck Capacity 725 Kbps340 Kbps Clip - Bottleneck Capacity 725 Kbps

< 0.001 packet lossAfter 15 seconds

TCP Friendly?

Page 16: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 16

548 Kbps Clip - Bottleneck Capacity 725 Kbps548 Kbps Clip - Bottleneck Capacity 725 Kbps

~ 0.003 packet loss for WSM~ 0.006 packet loss for TCP

after 15 seconds

Not TCP- Friendly!

Page 17: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 17

1128 Kbps Clip - Bottleneck Capacity 725 Kbps1128 Kbps Clip - Bottleneck Capacity 725 Kbps

Responsive to Capacity?

Page 18: Streaming Video over a Wireless Network.ppt

Wireless Networks

Page 19: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 19

Wireless IssuesWireless Issues

Higher error rates - Bursty? Hidden terminal problem Variable bandwidth Mobile versus stationary MAC layer saturation

Page 20: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 20

Hidden Terminal ProblemHidden Terminal Problem

802.11 Solution to the Hidden Terminal Problem– Use a four-way handshake: RTS-CTS-DATA-ACK where the

RTS and CTS packets are significantly smaller than the average data packet.

– The maximum number of RTS retransmissions is set to 7.

However, the 802.11 protocol will still have problems if the MAC layer becomes saturated!!

1 2 3

Page 21: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 21

Rate Constrained TFRCRate Constrained TFRC A seven-hop chain network was simulated. The TFRC sending rate is manually constrained. The MAC layer saturates at 300Kbps.

Page 22: Streaming Video over a Wireless Network.ppt

Wireless Bandwidth Estimation

Page 23: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 23

Performance DefinitionsPerformance Definitions

The capacity, Ci , of hop i is the maximum possible IP layer transfer at that hop. Namely, the bit rate for transferring MTU-sized IP packets.

The available bandwidth, Ai , of a link relates to the unused capacity of a link during a time period.

The Bulk-Transfer-Capacity (BTC) is the maximum throughput obtainable by a single TCP connection.

Page 24: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 24

Bandwidth Estimation TechniquesBandwidth Estimation Techniques

Variable Packet Size (VPS) probing: used to measure minimum RTT’s to all hops on path.

• pathchar, pchar, ... Packet pair probing: each packet pair consists of

two packets of the same size sent back-to-back. The goal is to measure the dispersion of a packet pair.

Packet train probing: extends packet-pair probing by using multiple back-to-back packets.

Self-Loading Periodic Streams (SLoPS): send a train of packets (k=100) equal-sized packets at a rate R. Sender continues to vary R to get it close to A.

Trains of Packet Pairs (TOPP): send many packet pairs at gradually increasing rates from source to sink.

Page 25: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 25

Packet DispersionPacket Dispersion

Page 26: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 26

Bandwidth Estimation TechniquesBandwidth Estimation Techniques

pathchirp: uses an exponentially spaced chirp probing train and launches m packet chirps where each chirp is made up of N UDP probe packets each of size P bytes.

pathchirp discards all chirps with dropped packets!

Page 27: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 27

Bandwidth Estimation and VideoBandwidth Estimation and Video Currently, bandwidth estimation used in

Windows Media Player– Capacity estimation before streaming starts– Uses packet pair

Mingzhe’s Research : new approach to bandwidth estimation to improve performance of video over wireless networks.

Page 28: Streaming Video over a Wireless Network.ppt

Research Rugby November 30, 2004 28

Discussion ?Discussion ?