Record conversation with MumbleKit in a iOS project

Everything related to the official iOS Mumble client

Record conversation with MumbleKit in a iOS project

Postby Marce666 » Thu Jan 08, 2015 8:31 pm

Hi,

I could integrate MumbleKit into a iOS project. It works fine :)

Now I need to record conversations locally at the device to reproduce them later.
I saw a variable name isRecording in MKUser, but it is private and I cannot access it.

How can I record this conversation?

Thanks in advance,
Marce.
Marce666
 
Posts: 4
Joined: Mon Jan 05, 2015 1:22 pm

Re: Record conversation with MumbleKit in a iOS project

Postby mkrautz » Sat Jan 10, 2015 6:22 pm

There is no recording functionality in MumbleKit itself.

However, it is possible to hack something onto MumbleKit itself.

For example, here's the point where the clients own mic data is handled: https://github.com/mumble-voip/mumbleki ... put.m#L169

And here's where everyone's voices are mixed together and written to the output buffer:
https://github.com/mumble-voip/mumbleki ... tput.m#L73
mkrautz
Team member
Team member
 
Posts: 200
Joined: Wed Sep 23, 2009 4:57 pm

Re: Record conversation with MumbleKit in a iOS project

Postby Marce666 » Thu Jan 15, 2015 3:06 pm

Hi,

About short * frame at https://github.com/mumble-voip/mumbleki ... tput.m#L73

Code: Select all
[_device setupOutput:^BOOL(short *frames, unsigned int nsamp) {
            return [self mixFrames:frames amount:nsamp];
        }];


How can I convert those frames into a mp3 or wav or something to storage the audio ?
I need to record the whole conversation input and output.

Thanks in advance,
Marce.
Marce666
 
Posts: 4
Joined: Mon Jan 05, 2015 1:22 pm


Return to iOS

Who is online

Users browsing this forum: No registered users and 1 guest