Skip to content

Develop a cooperative HTTP Video Streaming architecture on Raspberry Pi. Base idea from paper "MicroCast: cooperative video streaming on smartphones"

Notifications You must be signed in to change notification settings

shenh10/streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Cooperative Video Streaming on Raspberry Pi

It implements a cooperative HTTP video streaming architecture based on Paper MicroCast: cooperative video streaming on smartphones but deployed on Raspberry Pi. Local users use cellular network to download video pieces cooperatively and share to each other with WIFI network to acheive asynchronous video playing among local machines with high avaliability and few download costs

MircoDownloader

Implement a cooperative downloader which utilizes bandwidth inside a local p2p network. Tested with 3G for downloading and WIFI for local transmission. Working much faster than 3G along for each participants.

  • downloader.py: wrapper for both master and slave
  • master.py: download master for scheduling
  • slave.py : actually worker for downloading

Run Example

  • Run Master
python downloader.py -a [ip] -p [port] -m -i "http://$source_ip:$port/all.m3u8"
  • Run slave
python downloader.py -a [ip] -p [port] -s -r [path/to/repo] -c ['ip1,ip2']

About

Develop a cooperative HTTP Video Streaming architecture on Raspberry Pi. Base idea from paper "MicroCast: cooperative video streaming on smartphones"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages