what mode to use for peers in a custom jxta netgroup
i'm working on a audio/video streaming project with some friends and the basic network communication will be done using jxta. we set up our own jxta netgroup and will provide our own public rendezvous server. so far so good :)
the server will run using rdv_server (and maybe relay_server).
but i'm still thinking about the other peers running our application. so i got a few questions:
1) what will be the best mode/configuration for the maximum of discovery results?
i thought about setting them all as .setMode(EDGE_NODE + RDV_SERVER);
but in that case they'll ignore our public rdv.. won't they?
2) what about setAutoStart(true)? or just checking if in a predefined time interval if a peer is connected to a rendezvous.. and if not.. become one itself.
3) and how do rendezvous peers interconnect? is this done automatically?
4) is there a way to determine whether there's a rendezvous on a local subnet or not?
so that if there's already a rendezvous peer on a local subnet the other peers on this subnet just start as e.a. edge peer and connect to the public rdv and the one on their local net.
i attached a jpeg showing the network architecture i thought of.... so maybe someone can tell me what modes should be set for the peers. best would be one configuration for all peers that will work in every scenario. and each peer for sure knows the public rdv-server by setting addRdvSeedingURI and providing the public servers address.
any help would be really great. thanks a lot.