MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
- R. Bernardini∗ and R. Rinaldo∗ and A. Vitali†
∗ DIEGM – University of Udine, Udine, Italy † ST microelectronics, Agate Brianza, Italy
M EDUSA : a Reliable Chunkless Peer-to-Peer Architecture for - - PowerPoint PPT Presentation
M EDUSA : a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming R. Bernardini and R. Rinaldo and A. Vitali DIEGM University of Udine, Udine, Italy ST microelectronics, Agate Brianza, Italy M EDUSA : a
∗ DIEGM – University of Udine, Udine, Italy † ST microelectronics, Agate Brianza, Italy
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
– Why P2P live streaming? – Problems
1
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
2
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
group #4 User
Sub−source #4
Root Source
group #3 User
Sub−source #3 Sub−source #2
group #2 User
1 3
Dispatcher
Sub−source #1 2
group #1 User
New User Live Event
Hi, some music, please Contact user H i n e w u s e r , w e l c
e t
r
p # 1
3
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Bandwidth # Users
With the centralized approach the bandwidth required to each server grows linearly with the number of users With the P2P approach, each new user is also a new server ⇒ enhanced scalability
4
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
5
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Peer Peer Peer Peer Peer Peer Peer Peer Peer Peer Peer Bye...
Server
⇒ quality drop
– Network structure – Cross-packet FEC
6
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Upload
Home users have enough download bandwidth to receive streaming data, . . . but. . . they have not enough upload bandwidth to act as streaming servers
Clipart courtesy FCIT http://etc.usf.edu/clipart
7
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Chunk 4 Peer 4 Peer 1 Chunk 1 Chunk 2 Peer 2 Peer 3 Chunk 3 Me
File
Typical P2P approach: the file is partitioned into chunks, different peers send me different chunks.
8
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
. . . it is not much useful with live streaming because – Future chunks do not exist yet – Past chunks are useless
⇒ long start-up times
9
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
such that – The bandwidth required by a crumb is N times smaller than the band- width required by the original stream – It is possible to recover the original stream from any combination of N different crumbs
New crumb Recovered packet
Me
Crumb
10
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
c = [c1,c2,...,cK]t, ci ∈ GF(2n)
multiplied by vector r(b) := [1,b,...,bN−1] u := r(b)C = r(b) c1 cN+1 ··· c2 cN+2 ··· . . . . . . cN c2N ···
r: reduction vector N: reduction factor u: reduced vector
11
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
u1 = r1C u2 = r2C . . . = . . . . . . uN = rNC − → C = r1 r2 . . . rN
−1
u1 u2 . . . uN
12
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
R = r1 r2 . . . rN = 1 b1 b2
1
··· bN−1
1
1 b2 b2
2
··· bN−1
2
. . . . . . . . . . . . 1 bN b2
N
··· bN−1
N
is a Wandermonde matrix ⇒ Invertibility is granted as soon as bi = b j for every i = j
13
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Independent on the P2P structure Independent on the multimedia format. It can be used with – Scalable streams – Multiple description – Encrypted format
14
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
r(b) = [1, b, b2, ..., bN−1] where b is a random non-null element of GF(2n).
⇒ R maybe non full-rank
15
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
10 20 30 40 50 10
−10
10
−8
10
−6
10
−4
10
−2
10 N Prob. F28 F216 F232
Birthday problem
16
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
M servers and capacity M
2 1 M N N−1 N+1 n n+1 State Number of connected peers
GOOD
1/T find
conn
(n+1)/T
Tconn/Tfind
New peer found Peer leaves
BAD
ρ=
17
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
0.2 0.4 0.6 0.8 1 1.2 1.4 10
−10
10
−8
10
−6
10
−4
10
−2
10 M/ρ PF α=M/N=1.10 ρ=50 ρ=100 ρ=200 ρ=400 ρ=800 0.6 0.7 0.8 0.9 1 1.1 1.2 10
−10
10
−8
10
−6
10
−4
10
−2
10 M/ρ PF ρ=400.0 α=1.1 α=1.2 α=1.3 α=1.5 α=2.0
18
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Base Layer Stream Detail Layer
Packet Analog Analog Binary Packet Analog Analog Binary Packet Analog Analog Binary Packet Analog Analog Binary
...
Packet Analog Analog Binary Packet Analog Analog Binary Packet Analog Analog Binary Packet Analog Analog Binary
...
Multimedia content Stream
match) is a colletion one or more streams (e.g., audio/video, different SVC layers, dif- ferent descriptions, . . . )
packets (e.g., data relative to a slice).
vided into different components (e.g., motion vectors, DCT coefficients, head-
Reduction is done at the component level
19
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Reduced 1 Reduced 2 Reduced 3 Reduced 1 Reduced 2 Reduced 3
Reduction Reduction Reduction
Packet
Crumb
Component 3 Component 2 Component 1 Component 2 Component 3 Component 1
20
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
media content
side the P2P software Encryption must be transparent to the P2P software
21
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Video archive
Parser Content Key Binary/Analog Components Reducer Reducer Reducer Encryption Encryption P2P Module To the peers To/from user Public user key
every content the seeder generates a content key
to encrypt the analog/binary components
the network it gives to the seeder the public key of its player
seeder encrypts the content key with the pub- lic key and sends the result back to the user 22
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
Player Decryption Deparser Decryption P2P Module
MD module
Virtual player
Private user key Public user key
To/from seeder From other peers To other peers
Content key
join the network the nodes sends the public key
seeder (via the P2P module)
the encrypted content key and gives it to the virtual player
the content key by using its private key
decrypt the components. 23
MEDUSA: a Reliable Chunkless Peer-to-Peer Architecture for Multimedia Streaming
– solves both the asymmetric bandwidth and the evanescence problems. – is independent on the multimedia format – is transparent with respect to DRM techniques
24