Replies: 1 comment 11 replies
-
Hi, Thank you for the recap and sorry about the archived thread, it seems to be missing our latest messages. Could you check whether the function is returning here, please?
No worries, documentation is indeed missing (aside from the examples). |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
we had conversation here
https://forums.mumble.info/topic/2209-mumble-client-amp-server-sdk/
but now it seems to be archived. I am trying to create my custom voice client using libmumble, based on example client in libmumble-master/examples/ExampleClient directory. Modifying this example client I am able to connect to server and receive voice packets from stock client on another machine, but I cannot decode them and do further processing.
Before the old forum was archived, @davidebeatrici asked for my code - I am attaching modified main.cpp file I use (named main.cpp.txt because it refused to attach .cpp). When I am talking to the remote client, custom client receives UDPTunnel messages (line 140). Then it passes
if (pack(msg))
condition (line 146) but fails to pass
if(msg.pack(audio))
(line 149).
So, I get sequence of printed messages:
=== feedback.pack - type: UDPTunnel
= UDPTunnel
UDPTunnel pack(msg)
Is this some basic mistake ? I would appreciate any support.
Thanks a lot for everyone for any help I got so far and sorry for being annoying - I couldn't find any example of using libmumble to create fully functional client and documentation is quite limited.
Best regards,
Pawel
main.cpp.txt
Beta Was this translation helpful? Give feedback.
All reactions