real-time mobile p2p video streaming overlay
DESCRIPTION
TRANSCRIPT
REAL – TIME MOBILE P2P VIDEO STREAMING OVERLAY
Wathsala VithanageLanka Software Foundation
How P2P Streaming Works
IP – Multicasting [PeerCast]
Distributed Hash Tables [Tribler, DistribuStream]
Problem with IP – Multicasting
Fails when IP – Multicasting is not available on network hardware
Multicasting is not available on mobile broadband connections
Therefore not suitable for mobile devices
Problem with Existing DHT based Systems
Work like bittorrent
Offloads the streaming device [but still there can be more than one recipient connected to the source device]
Recipient will have to relay the stream at least to one node
Therefore not suitable for mobile devices [Bandwidth and CPU power is limited]
Problem with Searching
Searching is either provided as a centralized solution or not provided at all
Centralized systems Torent search engines Centralized indexing systems
Problem?
Existing systems are not suitable for mobile devices
Searching is not distributed [low on availability]
Solution
A System that scales well for mobile devices
A system with a distributed search engine
Built on top of DHTs
Using RTP
Hierarchical Overlay
Overlay is split in to two classes
Super nodes [Resourceful, Stays longer in the network]
Regular nodes [Typical smart phones connected through mobile broadband]
Hierarchical Overlay
Goal
No sharing of bandwidth at regular nodes
Hierarchical Overlay
• Only super nodes can function as bootstrap nodes
• A node which has been elected as a super node should at least have one super node as its immediate neighbour.
Searching
A Tag Overlay
Before streaming distribute tags
Searching
Key Word Results
England S5, S6, S16
ODI S6, S9
Cricket S0, S1, S6, S9
Searching
Unique Streams
Weight
S6 1
S9 0.66
S0 0.33
S1 0.33
S5 0.33
S9 0.33
Streaming
• Route a message towards the stream key
• Establish an RTP stream via the path taken by the message
• Start playing RTP video
Q & A