Hi all, after some years of abstinence I subscribed back to fg-devel. But I have currently not much time to get more involved into FG. Guy Brand asked me for some details of FGCOM via email and told me that some of you are using FGCOM and (surprising for me) are integrating FGCOM into FG.
I must say that I am really surprised :-) I wrote FGCOM about seven or eight years ago as a kind of prototype. Over the years I tried to get it better with - implementing an Asterisk Conference Module, which transfers position data via IAX and mixes the audio streams based on a distance matrix. But the Asterisk API changed too fast and I was a newbie on this and there was noone who liked to get involved to this project - so it lies on SF (http://sourceforge.net/projects/appfgcom/) and begins to get musty. - writing an own conference system which does the same as app_fgom, but with an own simple and small protocol. You can find it at SF (http://sourceforge.net/projects/fgcomd/). But there are so much race conditions, dead locks and problems and again: I was alone to fix it. So I decided: That's too much for one programer. The allover idea is until today the same: - collecting position data from a (new) fgcom client (e.g. every 30 secs) - client sends audio in 8bit ulaw UDP packets and only when PTT is pressed -> low network usage - calculating a distance matrix (e.g. every 10 to 30 seconds) on the server based on the position data - mixing audio based on the distance matrix and used frequency: more distance means more noise or no signal (or perhaps other distortion). - sending the mixed data only to clients "in range" - so one frequency mixing thread can mix "the whole world" - but only if clients in range, they can hear each other. This seems to be very small amount of describing text - but programming is not easy because every client, the distance matrix calculator and every frequency mixer is a seperate thread - much fun with synchronising them :-) So - if someone here likes to set up this system in the future: let me know! At the end this maybe get a real radio simulation - exactly the right toy for a real flight simulation :-) (and for other simulations?). Regards, Holger ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel