Comments (2)
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.
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)
- Server Side API HOT 2
- How to Build ClientAPI in Windows platform HOT 13
- How to Build ClientAPI in Windows platform
- How to map color and depth data correctly in client machine HOT 10
- Question: Network load + lag? HOT 1
- kv2Streamer not running in x64 Configuration HOT 1
- Networking Streams not rendering properly
- Error in RGB Multicasting Pipeline String
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kv2streamer.