Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Projjal Gupta
    @paltrickontpb
    Hello all. I was quite interested about the JS Library development for P2PSP. I would like to request you guys for some direction regarding to where should i start from.
    Jose Manuel
    @josmanual
    Hello @paltrickontpb
    Welcome to the P2PSP project.
    First I highly recommend to run a P2PSP local team in order to know how it works (https://github.com/P2PSP/I-want-to-use-it).
    After that we will discuss about the JS library.
    Projjal Gupta
    @paltrickontpb
    Hello
    So i tested the local team of P2PSP. I am having a small issue inunderstanding how the protocol is working.
    Is it based on webRTC or is it completely new/writtenfrom scratch.
    And also while checking JS implementationof p2psp, i can across certain sites where webRTC was used to run P2PSP. And because of that i am getting a bit confused.
    Projjal Gupta
    @paltrickontpb
    And finally i wanted to ask what form of JS api are we looking at. Are we talking about pure js implementation of peer and splitters or is it an api to ease Implementation on websites and frameworks such as React or Angular
    Cristóbal Medina López
    @cristobalmedinalopez
    Hi @paltrickontpb,
    We currently have a C++ and a Python implementation of the core (see core repo). We also have CLI implementations (see console repo). The idea is to create a JS implementation of the Core using WebRTC and other Web technologies. You can see an approximation in the Virtual-Room repo and in the WebRTC repo (only some experiments). So, although it is an implementation from scratch, we have some useful code that could help to achieve the goal.
    Projjal Gupta
    @paltrickontpb
    Thanks for such a prompt reply. Will surely do some more research before i can start.
    Projjal Gupta
    @paltrickontpb
    I'm having multiple doubts regarding the core and console.
    So the console is the one which calls the splitter, the peers and the monitor right?
    1) What is the core doing when I'm working with console.
    2) I am unable to correlate what's going on with the src files of the core with the documentation provided.
    Projjal Gupta
    @paltrickontpb
    I might be asking a bit too much, but can i get some help in understanding how the core is being built and how is it being implemented when i use it with the console? And how are the src files in the core built such that they can be used in the console?
    Cristóbal Medina López
    @cristobalmedinalopez
    The core repo has the P2PSP library which define the core of the protocol. It includes all the entities, basic rules of behaviour, some useful tools, etc. However, console repo is the command line interface which allow us to run a P2PSP team by doing calls to the core library.
    Projjal Gupta
    @paltrickontpb
    Can i safely assume that if i take up the project, i will have to implement both core and console in JS.?
    Cristóbal Medina López
    @cristobalmedinalopez
    The main part to be implement is the core. But of course, we will need an user interface to test it. So, a console version is not necessary but an user interface do.
    Projjal Gupta
    @paltrickontpb
    Alright. Makes sense.
    And when it comes to the python implementation, i notice that the src folder contain many files. So what happens when the build is done? What is the output files after the build?
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    @paltrickontpb, we don't understand your question. Could you be explain what do you understand by "building"? Maybe, you are refeering to "compiling"?
    Projjal Gupta
    @paltrickontpb
    Yes, my bad. I meant the compiling operation only. What is exactly happening here as i am getting confused.
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    Yes, I can imagine that you can be confused, after seeing that there are Python and C++ source files, in the same directory, implementing basically the same. The compilation process only uses the C++ files, and generates the executables in the bin directory (remember to compile previously the core repo: https://github.com/P2PSP/core). The Python ones are a legacy implementation of the protocol. There are there because we are "nostalgic Python programmers" :-) In fact, the newest implementation of the protocol that is in https://github.com/P2PSP/simulator is again in Python.
    Projjal Gupta
    @paltrickontpb
    Alright. Thank you.
    Could you guide me towards which existing project should i work on for a bit so that i can learn more and be a hundred percent sure about taking the JS implementation of core project?
    Vicente González Ruiz
    @vicente-gonzalez-ruiz
    videet
    @videetssinghai
    hello ppl...looking forward to be a part of GSoC 2018
    Vedansh Bhartia
    @vedanshbhartia

    I am Vedansh Bhartia, an undergraduate in Indian Institute of Technology Roorkee, India.
    I was a part of a team(with https://github.com/utkarsh858) wherein we built a peer-to-peer real-time video multicasting web application using WebRTC to enable peer-to-peer communication and Node.js to build the signalling server as a part of SDSLabs(https://sdslabs.co).

    I have worked with HTML, CSS, Javascript, PHP, Node.js, and Python. Using Ubuntu as my primary development environment, I am proficient with bash & git, and have managed UNIX servers.

    I want to use GSoC 2018 as an opportunity to get started towards contributing in open source software. Given my experience in the field, I would like to work with P2PSP.

    Cristóbal Medina López
    @cristobalmedinalopez
    Hi @vedanshbhartia and @vedanshbhartia . Welcome to P2PSP project!! It is great to see your experience and how it could help us to improve our project. I'm sure that this year it could be a great GSoC.
    Vedansh Bhartia
    @vedanshbhartia
    @cristobalmedinalopez Thank You! Could you guide me regarding starting to contribute, and exactly what deliverables are expected of me?
    Jose Manuel
    @josmanual
    Hi @vedanshbhartia . Did you check http://p2psp.org/en/news/78-gsoc-2018-ideas-page ?
    First I highly recommend to run a P2PSP local team in order to know how it works (https://github.com/P2PSP/I-want-to-use-it).
    Vedansh Bhartia
    @vedanshbhartia
    Yes, I checked it out (that was how I landed on this chat). I liked propsals 2 and 4.
    when I try running the peer, I get the following errors:
    [000055e9b07699d8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
    [00007f16d4001078] core access error: connection failed: Connection refused
    [00007f16d4001078] http access error: cannot connect to localhost:9999
    [00007f16d4001078] core access error: connection failed: Connection refused
    [00007f16d4001078] access_mms access error: cannot connect to localhost:9999
    [00007f16e8000c08] core input error: open of `http://localhost:9999' failed
    QObject::~QObject: Timers cannot be stopped from another thread
    any idea how I can resolve these?
    Vedansh Bhartia
    @vedanshbhartia
    i tried running the peer with root priveleges too, but to no avail
    Cristóbal Medina López
    @cristobalmedinalopez
    @vedanshbhartia please, move you inquiry to P2PSP/core channel. Would be helpful to see the peer's log.