Scripting Latest Topicsforum/9-scripting/Scripting Latest Topicsen<![CDATA[Mumble Client & Server SDK]]>topic/2209-mumble-client-amp-server-sdk/Hello World,


I am a new user here so I am likely not as informed as all of you, but I just had a question. Does anyone know of a good C++ Mumble Client (and Server) library / SDK? I am working with a team on an IRL research project and we were evaluating different communications technologies, but each has it's disadvantages; Radio (which we are using now) can't be used programmatically, TS3's SDK requires extensive licensing, and Discord doesn't allow you to host your own server. After evaluating all of these we settled on Mumble, as it is open source, has positional audio, and , and began looking to build an application to link our software to it. However, after scavenging around the internet, I was unable to find a comprehensive C++ SDK for Mumble. The ones I did find were feature incomplete, undocumented, or hadn't been touched in years:

 

I realize a good SDK is hard to come by in any project, but I would like any advice you could give me. Even a headless mumble client with good RPC / APIs could work, but I can't find those either.


Thank you for your help Mumble Community, have a nice one!

]]>
2209Thu, 28 Jun 2018 13:48:15 +0000
Set PTT with Terminal or Scripttopic/1824-set-ptt-with-terminal-or-script/Hi,


is it possible to set the PTT and get the status if someone is talking for example on terminal or with script?


Background: We would like to connect two or more amateur radio repeaters.

We don't want to use VOX because there is too much delay and we have the possibility to get the information if someone is talking on the repeater.


If someone ist talking on repeater 1 I get a high level on gpio or rs232 and the mumble client should set the PTT and send the audio. On the other side repeater 2 see that someone is talking on mumble. So mumble should set a gpio to high and repeater 2 goes on air.


Thank you very much.


Stephan

]]>
1824Sun, 04 Oct 2015 14:58:37 +0000
Voice chat implementation in a C++ gametopic/16961-voice-chat-implementation-in-a-c-game/ Hi there!
As the title suggests I am trying to implement the voice chat functionality in my C++ game. However, these last few days I've been looking into possible solutions for my problem and most of them were built for game engines but that changed when I found about Mumble. However, I have found too many repos and too many links which ultimately lead to being completely overwhelmed with information and I ended up knowing nothing. My question is: how can I possibly implement Mumble to act as a client in my game and make use of its powerful positional audio? Furthermore, I am actually asking where could I see some real examples of how a voice chat implementation should look like and whether I should use Mumble Link or libmumble or the C++ plugin (and if so, how can I make it work). I know my question is confusing but I don't really know how to word it better. If something I've said isn't clear I can rephrase it. Thank you for your time!

]]>
16961Tue, 27 Dec 2022 17:01:13 +0000
A little help with GRPCtopic/7102-a-little-help-with-grpc/ Hello. I'm trying to create an application in Go, using GRPC. Im not acquainted wih RPCs so I have one question, if possible.

 

The thing here is register a user using only GRPC connection. After adding a user in database (through DatabaseUserRegister function, with name and certificateHash) everything works fine, except the fact in the client that "check" symbol doesn appear. If I reconnect the client, the symbol appears as expected on him.

 

There is a way to ask client to update client as registered directly through GRPC?

 

I hope my english is undertandable and thanks in advance, even if any of you cannot answer me.

]]>
7102Thu, 17 Mar 2022 09:51:34 +0000
Mumble plugin sendDatatopic/5421-mumble-plugin-senddata/ I am trying to use the Mumble API along with the Mumble JSON Bridge CLI to send a message to another user running Mumble and the JSON bridge plugin. Currently I am trying to use the sendData function, though I am curious if this is the correct approach or if there is another way to accomplish this.

 

Regardless if it's the correct approach or not, I have a few questions about how the sendData function is meant to work with the Mumble JSON Bridge CLI. Following the examples in the readme, I tried sending data like:

{
    "message_type": "api_call",
    "message": {
        "function": "sendData",
        "parameter": {
            "connection": 0,
            "receivers": ["userID1", "userID2"],
            "data": [1],
            "data_id": "1"
        }
    }
}

 

This parses correctly, but causes an error which kills the pipe (I am assuming this happens because the plugin crashes?).

 

I am not sure what the data or dataID should be or if this is causing issue. I know the documentation mentions the data is a sequence of bytes, but when I tried sending a sequence of bytes in the CLI call, it gave me a parsing error. I am also not sure what the dataID should be.

]]>
5421Wed, 17 Nov 2021 15:16:56 +0000
Building Mumble JSON Bridgetopic/4550-building-mumble-json-bridge/ Hello, I am attempting to build the json_bridge portion of the Mumble JSON bridge. I am using cmake 3.18 and am unsure what version of Boost I am meant to have. I know that Boost is not great with backwards compatibility, so I am curious what version of Boost should be used to build this?

]]>
4550Tue, 31 Aug 2021 19:34:20 +0000
Using MumbleLinktopic/2684-using-mumblelink/ Hello, I am interested in using Mumble in my game. I was looking at the instructions here (https://wiki.mumble.info/wiki/Link) which explain how to link Mumble to the game. However, I am curious what linking the game to Mumble actually does- does this allow the game to use the Mumble functionality itself (for example, having the ability to press X button in my game to mute myself using Mumble's mute functionality) or does it accomplish something more similar to a plugin to where you can enable the overlay? I am interested in having the ability to incorporate Mumble's abilities into my game rather than having the user launch Mumble as a separate application when playing. Any information/help would be appreciated! :)

]]>
2684Tue, 23 Feb 2021 04:15:53 +0000
murmur CVP providertopic/3553-murmur-cvp-provider/ I am trying to setup channel viewer protocol for a murmur server I host but all of the providers on the wiki are all so old none of them work out of the box anymore. Are there any implementations that work with modern versions of murmur? preferably they would be packaged in docker containers because that would make them more portable and fit better with my current setup.

 

I have tried fallendusk's mumpi and flask based murmur-cvp but they don't work anymore.

]]>
3553Mon, 21 Jun 2021 20:09:52 +0000
Add admin user to DBtopic/3237-add-admin-user-to-db/ Hello. I've been tasked with adding an admin user to multiple instances of murmurd 1.4. Is there a way to do this from the command line, without having to install a full-fledged admin web server and messing with ICE or dBus? All I need to do is add 1 user to 3 instances. Thanks.

]]>
3237Tue, 18 May 2021 21:29:09 +0000
Creating a Windows DLL Clienttopic/3064-creating-a-windows-dll-client/ I am brand new to Mumble and just trying to learn the inner workings.

 

I would like to integrate microphone streams into my game and this looks like an option.

 

I have installed my own server. Is there an API that I can use to create a Windows C++ dll to control the client side and programatically connect to channels and control the sound?

 

I saw https://github.com/mumble-voip/libmumble but I am not sure if that is what I need

 

Thanks,

Mark

]]>
3064Tue, 04 May 2021 21:15:39 +0000
A way to connect a game to the servertopic/2414-a-way-to-connect-a-game-to-the-server/Not really sure if this is a good forum for this question.


I have a Java game and I am looking for the easiest way of connecting it as a client to the server. There is something known as MumbleLink, yet it seems to be somehow tied to Minecraft. Then there is a wiki with the Mumble protocol description at https://mumble-protocol.readthedocs.io/en/latest/overview.html. Is it current? There are dates like 2012 in the wiki. Also, the protocol seems to be low-level. I would rather use its client implemenation.


Then, there is the official mumble client. But all I want is some thin API/glue to connect to the server, not a whole client. Then, there is a Java client. But again, it is the whole client, only for Android and with commits from years ago.


There is also libmumble but with the latest commit from 2014. It does not compile:

$ ./test.bash 
./test.bash: line 30: ./3rdparty/gyp/gyp: No such file or directory

 

There is also mumlib with several forks, no idea which works and is the most current.

]]>
2414Tue, 10 Nov 2020 18:52:24 +0000
Build Error MSB4126 when BuildingWindowstopic/2408-build-error-msb4126-when-buildingwindows/Hi, I am very new to Mumble and Murmur and am trying to make a positional audio plugin for a game that is unsupported by following this tutorial: https://wiki.mumble.info/wiki/Pluginguide


I'm currently following the article https://wiki.mumble.info/wiki/BuildingWindows for building an environment for Windows. I get all the way up to

./build-all.bash

to build the dependencies. After running that and waiting awhile, I get the following error:

 

Build FAILED.

"C:\MumbleBuild\win32-static-1.3.x-2020-07-09-537f341-924.build\libogg-1.3.2\win32\VS2010\libogg_static.sln" (default target) (1) ->
(ValidateSolutionConfiguration target) ->
 C:\MumbleBuild\win32-static-1.3.x-2020-07-09-537f341-924.build\libogg-1.3.2\win32\VS2010\libogg_static.sln.metaproj : error MSB4126: The specified solution configuration "Release|X86" is invalid. Please specify a valid solution config
uration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\MumbleBuild\win32-static
-1.3.x-2020-07-09-537f341-924.build\libogg-1.3.2\win32\VS2010\libogg_static.sln]

   0 Warning(s)
   1 Error(s)

Time Elapsed 00:00:00.65
+ exit 1

 

I was unable to find any Mumble support for this online, and am unsure how to "specify a valid solution" as it says because I have no idea what it's referring to. If it's talking about Visual Studio and the Windows 7 SDK that must be in Program Files (x86), I do have that, though it's labeled 7.1 instead of 7.1A like it says in the article. I'm not sure if that was a typo and didn't want to change it, especially since I'm running Windows 10.


Anyway, if anyone is able to provide any help or insight, that would be greatly appreciated! Thanks.

]]>
2408Thu, 01 Oct 2020 17:03:46 +0000
Rest API using Python or PHPtopic/2401-rest-api-using-python-or-php/Hi guys I wanted to create mumble client but I need to have a rest api to do it. I tried using the solution that Aflred provided (https://github.com/alfg/murmur-rest) but it was deprecated and not maintained anymore. I also tried the mumble-djano and mumpi admin panel hoping to hack it once it worked but it didn't. Can someone point me to the right direction in order to achieve my goal? Thank you!

]]>
2401Mon, 31 Aug 2020 02:58:16 +0000
Server-Sided Positional Voice Chattopic/2397-server-sided-positional-voice-chat/Does the client send the position and direction they are looking at (when using supported mods) to the mumble server (aka murmur)?


If so, why can't I connect both murmur and minecraft server that are in the same computer and sync the player positions, so players don't have to download a mod to play on the server? I can send the positions and directions on minecraft server, but I don't know where to send them.

]]>
2397Sun, 23 Aug 2020 21:18:00 +0000
Title of Windowstopic/2386-title-of-windows/How to rename handle of title windows, sometimes if will be usefull then using 2-3 connection at same time and adjust volume at each one.


https://pasteboard.co/JggpI5s.png

]]>
2386Sun, 05 Jul 2020 16:05:14 +0000
YuLLi (Desktop Murmur Admin Interface)topic/670-yulli-desktop-murmur-admin-interface/YuLLi — Desktop Murmur Admin Interface, very simple to use and I think it will be useful for many people.

It communicates via ICE and has option to connect over SSH (secure connection using password or a privatekey).


Program written on .NET, so you just need the installed .NET Framework 4.


Download/updates available on http://yulli.cleanvoice.ru



http://yulli.cleanvoice.ru/images/connection_small.png http://yulli.cleanvoice.ru/images/status_small.png http://yulli.cleanvoice.ru/images/settings_small.png http://yulli.cleanvoice.ru/images/logs_small.png

]]>
670Mon, 09 Jan 2012 01:01:50 +0000
AFK movetopic/2347-afk-move/Ok,


So I've seen some scripting to deal with AFK users but I'm having issues getting anything to be dependable. So....


Anyone have a dependable and/or usable option to autonomously move users with xx mins of non activity to another channel (afk)???


(Play jeopardy tune here)

]]>
2347Sat, 04 Apr 2020 21:31:16 +0000
Mumble to SIP gatewaytopic/1865-mumble-to-sip-gateway/Hello,


recently I've created simple SIP to Mumble gateway using PJSIP framework. It connects to Murmur and waits for incoming connections on SIP port. Only incoming connections are supported for now. The goal was to allow people to join the conference using ordinary telephone, via VoIP provider. The repository: https://github.com/slomkowski/mumsi


Any feedback will be much appreciated!

]]>
1865Sat, 07 Nov 2015 22:17:18 +0000
Request: Get number of users in a server without connectingtopic/2330-request-get-number-of-users-in-a-server-without-connecting/In the Mumble Client you can see the # of users in a server without connecting, like so

qnX6hpo.png


I've been able to easily write a script in Piepan to get the number of users in a server + channel, but the script must connect first.


I understand this is an obscure question and also most people don't take kindly to other people asking them to do tasks for them, so I understand if nobody wants to respond, but if you have any hints for which script framework or part of the Mumble client code to look into to achieve this, I'd appreciate it. :)

]]>
2330Mon, 18 Nov 2019 03:53:24 +0000
Create marker in recording based on user actiontopic/2304-create-marker-in-recording-based-on-user-action/Hi there,


I have been using Mumble (Murmur server on Ubuntu with DigitalOcean, various clients on Windows, Mac and phone/tablet) for years for recording a podcast. The primary reason is that Mumble is the only app I've found that gives me files which properly sync up; This makes post processing and editing much easier.


However, I would love to be able to do one thing - to have a script, command etc. to have Mumble store a "marker" in the wav files we end up with. I am not sure exactly how these markers are stored (I am not familiar with the wav file format in intimate detail), but when I use for instance Adobe Audition to edit, I can save a .wav file with markers in it, and they will be there even if I open the wav file on another computer. So I am guessing there is a somewhat "standard" way of doing this, accepting that I might be entirely wrong about this.


So what I would love to see is some sort of command, or even GUI element, that would allow me to set a marker, that is stored in the recorded wav file.


Bonus 1: I could be able to enter a "label", marker name. This could be "Segment start", "Edit point", "Participant burped", "Episode end", that sort of thing.

Bonus 2: I could choose if the marker was only created in my local ("Recorder") file, or also in the local recording of the other participants.


Why does #2 matter? Well, in order to have the best possible audio quality, we have all participants record multichannel locally. Then they upload their local ("Recorder") audio files to me. Now I have a sync challenge - since audio boards and computers have slightly different timing, my local recording of the remote users will be slightly longer or shorter than their local recording. I can "stretch" them in Audition and sync this up manually based on the waveforms, but if I could tell Mumble to place a marker ("Episode start", and "Episode end") in each of the participants local "Recorder" file, that job would be MUCH easier. I realize network latency means this wouldn't be nanosecond precise, but it would be good enough for a talking head kind of podcast.


I don't know if this is at all feasible - could it be done? Or would it require adding functionality to the Mumble client itself?


Thanks for any input on this! Really loving Mumble for the audio quality and excellent features!

]]>
2304Thu, 22 Aug 2019 06:57:48 +0000
XWidget Core?topic/2302-xwidget-core/Hi folks,


Has anyone made, or know of, an XWidget core which would allow desktop widgets to interface with mumble?

]]>
2302Thu, 15 Aug 2019 12:28:35 +0000
Automute while someone else speakstopic/2198-automute-while-someone-else-speaks/Hello,


we're using mumble as an audio conference software. We have a group of 5-15 people in one room and a good microphone in the middle.


The others are connected all separately via Mumble. The hall micro respectively the mumble client is set to continuously transmitting.


Unfortunately the echo canceling fails us in this set up. The remotely connected people hear themselves speaking all the time. This might be related to rather loud speakers. A very simple and reliable solution would be to automatically mute the hall micro while someone else speaks in the same mumble room.


Is there a way to do so? This could be seen as ”hard echo canceling“.


Maybe someone has build this already or there is an easy way to implement this.


Regrads,

Matthias

]]>
2198Sun, 08 Apr 2018 21:22:20 +0000
Display custom string next to someone's nametopic/2232-display-custom-string-next-to-someones-name/Is it possible to display a string next to someone's name? Either with a client side plugin, or with a server side plugin?

]]>
2232Fri, 28 Sep 2018 19:50:09 +0000
Moving users to different channels from Java applicationtopic/2229-moving-users-to-different-channels-from-java-application/I have written a little tool in Java for my gaming clan to calculate teams based on statistics.

Now I want to move players by this tool to specific mumble channels through some API / RPC call etc.


I was hoping there would be a java library for calling murmur and doing this, but the information I found was vast and very unspecific.

I know you have to use ICE somehow, but the documentation of ICE itself is very overwhelming and I still have to find what command to murmur is able to move users to channels.


Can anyone give me a hint or does anyone know the easiest way, how to do this from Java?

]]>
2229Mon, 27 Aug 2018 20:41:29 +0000
MumbleLink link with Web Games (in-browser)topic/2219-mumblelink-link-with-web-games-in-browser/How do I link Mumble, including teams and positional audio, to a web game like TagPro?


I plan on making a mod (in the form of a userscript or webextension) for this game, but don't know how to connect it to the shared memory of MumbleLink. Is this even possible from within a browser?


It's likely that it'll only be possible through extensions like NPAPI (flash) which is disabled by default in modern browsers, but I dont know how. Another solution might be to make users install a program that links to MumbleLink and opens up a local HTTP-server that an in-browser userscript can then connect to (userscripts can get around CORS), but that requires players to install both things. Are there any better options?


About the "hassle" of installing userscripts: many TagPro players already have a userscript manager installed because of the vast variety of mods in this format. So that's not a concern.


I have searched for examples, but I haven't found any web game that has implemented MumbleLink before. It would be great if someone knows a game that already does this.

]]>
2219Tue, 24 Jul 2018 15:33:08 +0000