bbosen Posted January 7, 2017 Share Posted January 7, 2017 I am writing a high-performance flight simulator for Linux. It's working well now (in beta test). It's written entirely in "C" and "C++" and the code is highly tuned for speed. It plays well with Mumble and I've already included a very primitive, native mumble interface without changing any mumble code or running any external scripts. I'd like to do more integration. Although the existing mumble overlay works well in this environment and meets my user interface needs completely, it steals some CPU cycles and costs me some precious frame rate. I'd like to code an extremely lightweight interface (compiled in "C" or "C++ within my flight sim) just to display the name of any mumble user that is currently speaking on the active mumble channel. Obviously the existing Mumble Overlay does this somehow. I dug into all of the posts here but I couldn't get to bedrock on this subject. So here is my basic question:How does the existing Mumble overlay learn the Mumble username of Mumble users speaking on the current Mumble channel?For right now I am not looking for code samples. I just want to understand the mechanism. Is the Mumble overlay querying the mumble server for this information? Or does the existing Mumble client signal the overlay somehow?Thanks! ;) Quote Link to comment Share on other sites More sharing options...
Administrators kissaki Posted January 21, 2017 Administrators Share Posted January 21, 2017 The communication happens via a system local pipe, creation see https://github.com/mumble-voip/mumble/blob/73fe4578bc01b0ef8e8742d7ce5d172b9b9c0f5b/overlay/lib.cpp#L124Mumble sends messages through the pipe, and the Overlay part that is injected into the game process handles those. Quote Link to comment Share on other sites More sharing options...
bbosen Posted January 22, 2017 Author Share Posted January 22, 2017 Thanks. That's very helpful. I really appreciate you going to the extra length of vectoring me at the right source code. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.