6 Lab 3: Scaling with P2PSP

Sources

# Sources for the Icecast server listening at port 8000  
cvlc Big_Buck_Bunny_small.ogv --sout "#std{access=shout,mux=ogg,dst=source:hackme@localhost:8000/BBBs.ogv}" --loop &  
cvlc ~/Videos/chi84_14_m4.ogv --sout "#std{access=shout,mux=ogg,dst=source:hackme@localhost:8000/LLL.ogv}" --loop &  
 
# Source for the (relay) server listening at port 9000  
cvlc ~/Videos/hcil2003_01.ogv --sout "#std{access=shout,mux=ogg,dst=source:hackme@localhost:9000/hcil.ogv}" --loop &

(Relay) Servers

/usr/bin/icecast2 -b -c ~/icecast/icecast.xml

Normal listeners

cvlc http://localhost:8000/BBBs.ogv 2> /dev/null &  
cvlc http://localhost:9000/hcil.ogv 2> /dev/null &

P2PSP teams (listeners)

xterm -e "~/P2PSP/p2psp-console/bin/splitter --source_addr 127.0.0.1 --source_port 8000 --splitter_port 8001 --channel BBBs.ogv --header_size 30000" &  
xterm -e "~/P2PSP/p2psp-console/bin/monitor --splitter_addr 127.0.0.1 --splitter_port 8001" &  
cvlc http://localhost:9999 & # The monitor  
xterm -e "~/P2PSP/p2psp-console/bin/peer --splitter_addr 127.0.0.1 --splitter_port 8001 --player_port 10000" &  
cvlc http://localhost:10000 & # The first peer of the team