GithubHelp home page GithubHelp logo

p2psp / qt Goto Github PK

View Code? Open in Web Editor NEW
0.0 9.0 3.0 167 KB

GUI for the P2PSP protocol

License: GNU General Public License v3.0

CMake 5.02% QMake 2.03% C++ 92.78% C 0.17%

qt's Introduction

A GUI version of the P2PSP

Linux

$ sudo apt-get install qt5-default
$ sudo apt-get install libvlc-dev
$ sudo apt-get install cmake
$ sudo apt-get install libboost-all-dev

Cloning

git clone https://github.com/P2PSP/core.git
git clone https://github.com/P2PSP/p2psp-console.git
git clone https://github.com/P2PSP/Qt.git

Building from Sources

Before building the P2PSP GUI make sure that you have P2PSP Console and P2PSP Core cloned in to the system. The directory structure should be --core --p2psp-console --p2pspgui

cd core
./make.py
cd ../p2psp-console
./make.py

cd ../p2pspgui
Create a build directory and run
cmake ..
make

##Testing

Go to P2PSP-Console directory and run the following commands to create a source and a local team

cd bin
wget https://upload.wikimedia.org/wikipedia/commons/7/79/Big_Buck_Bunny_small.ogv
cvlc Big_Buck_Bunny_small.ogv --sout "#http{mux=ogg,dst=:8080/BBB.ogv}" :sout-keep &
./splitter --source_addr 127.0.0.1 --source_port 8080 --splitter_port 8001 --channel BBB.ogv --header_size 30000 > /dev/null &
./monitor --splitter_addr 127.0.0.1 --splitter_port 8001 > /dev/null &
vlc http://localhost:9999 &

Now go to the P2PSP-GUI folder and run it

In the Menu bar click on Add Channels and give a Name,Description,Thumbnail,Source address and Port. Give Source address as 127.0.0.1 and Source Port as 8080(Which ever you mention while creating the splitter)

Now go to Menu bar again and click on Run Peer and give a Player port and select the above created channel from the channel list. Once you click on Run, the Stream will be displayed.

qt's People

Contributors

cristobalmedinalopez avatar gitter-badger avatar mertemba avatar vicente-gonzalez-ruiz avatar whiteshark9 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.