Code Monkey home page Code Monkey logo

Comments (2)

kvnwinata avatar kvnwinata commented on July 20, 2024

Hi Kiruba,

You are right, we designed kv2streamer to connect multiple clients from one server. Connecting multiple server might be possible, but I think it will need some, if not a lot, modification on both the client and the server side. Currently, since it's assumed that there will be one server, a predefined port number is used for each of the channel, which you can see in kv2streamer-lib/kv2client/SharedConfig.h.

I've never tried this, but I think if you try running two servers at the same time and connect it to a single client computer but with two kv2client instances using different multicast IP addresses, it will still confuse the the kv2client and all the data received might be messed up because they're both sharing the same port.

One possible to solve this is if you add a way to change the default port number, for both the server and client (this will require you to modify the source code of course), and instantiate it like this:

[Client 1 on Machine A*] <----IP1, Port Numbers 1--- [Server 1 on Machine B, Kinect B]
[Client 2 on Machine A*] <----IP2, Port Numbers 2--- [Server 2 on Machine C, Kinect C]
*Note that both client instances are on the same machine, possibly even the same program.

However, this is just a wild guess from my part, and I'm not sure if the solution proposed above would work. Again, we didn't design it to work this way, so we didn't put much effort at supporting the scenario above, which means there might be complications on the gstreamer part of the code, or even more.

If you do try this out though, please let me know the result, or possibly even submit a pull request :)

Kevin

from kv2streamer.

kirubhakinect avatar kirubhakinect commented on July 20, 2024

Thanks Kevin,
Yes now i understand its difficulty.Once i completed the analysis of multiserver-single client, i will tell you my result.

from kv2streamer.

Related Issues (9)

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.