You must be logged in to post Login Register


Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Trying to build an interface for libVentrilo3 on iPhone

UserPost

12:53 am
July 11, 2010


Kaikydelan

Member

posts 4

Has anyone else tried to build libventrilo3 (not the full Mangler system) on the iPhone?

 

I was able to build something of a version of libventrilo3 (version 1.0.3) successfully (hard to define "success"), but have yet to learn how to design an interface for it. I have an absolute hatred for XCode, as it's a pain in the ass for trying to get everything linked together in Objective-C (when one has never been trained in using it…)

 

I have uploaded the directory containing the full project, including the built versions of libventrilo3.a in the build/Release-iphoneos directories, to mediafire. If anyone wants to take this up and continue it, please do… I can't stand working alone on this…

 

http://www.mediafire.com/file/…..trilo3.zip

 

I might call this a failed attempt, but I want someone to at least have a head start on it. My best guess would be to use libventrilo3.a after compiling the newer version of it (you'll probably have to add celp support if you overwrite the libventrilo3 files with the newest version in the svn checkout). To use it on the iphone, just add the include files for libventrilo3 (and you might need libgsm, libspeex and libcelp includes) and just call the v3_login() and helper functions. One thing that you'll need to find out if you do want to work on it is how to relate the audio data with CoreAudio. Somehow it should be easy, but I'm not sure how…

 

I've uploaded the file to my mediafire account, but I don't know how long mediafire holds files. I might work on this in the future, but maybe someone else will have a breakthrough with it. I've heard there is little chance of making a verified application for the app store using libventrilo3 and the GPL, but maybe there's a loophole, or someone might have just been giving me a hard time.

1:01 am
July 11, 2010


Haxar

Moderator

posts 58

Were you "Vitality15" in an IRC channel? Someone had this same exact issue but I don't remember who…

1:06 am
July 11, 2010


Kaikydelan

Member

posts 4

Yep, I was on IRC talking about how to try and get the system up and running. I just felt I might as well leave a post here as well. I tried to get it working, but I can't make interfaces worth a damn. That and linking Objective-C directly to C code left a lot of holes…. (undefined size of arrays, cannot reference structs properly, etc…)

 

I may try again one day, but I thought if anyone else wants to try, the code is here. Only differences for this code compared to the svn stream is that XCode mangles the locations for headers, so instead of gsm/gsm.h, it had to be <gsm.h> (same with speex). Definitely DO NOT use the headers and files in this for the SVN. It could cause major headaches later on. It's just to see whether an iPhone application "could" possibly be made as of now.

7:28 am
July 11, 2010


clearscreen

Member

posts 48

Post edited 11:31 am – July 11, 2010 by clearscreen


Yeah I've got it to built for the iPhone several months ago ;) , no changes required to the codebase. Even got it to log in to our testserver but nobody seemed to be really interesting, which isn't surprising considering our userbase (linux / android). 

 

Also only people with jailbroken devices would be able to use it… I'm not sure I'm willing to devote too much time and effort to making an iPhone client.

2:53 am
July 12, 2010


Kaikydelan

Member

posts 4

You were able to get it to work without changing any of the codebase for mangler or libventrilo?

 

If you were able to get the gtkmm interface to work with it, I'll have to retry building it again, a bit more systematically than I did before.

2:57 am
July 12, 2010


econnell

Admin

posts 319

Post edited 7:00 am – July 12, 2010 by ekilfoil


You will need to build your own UI.  gtkmm will definitely not work on the iProduct.

Also, it may be a few days before dan replies.  His country got to the world cup finals and failed… he's probably sobbing in some form of alcohol at the moment.

3:20 am
July 12, 2010


Kaikydelan

Member

posts 4

Yeah…

 

I'll have to aim towards just using libventrilo3 and creating some kind of interface. At least all of the work is taken care of by the libventrilo3 static library and the includes. Just need to wallow through the interface ~_~.


About the Mangler forum

Forum Timezone: America/New_York

Most Users Ever Online: 30

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 4
Topics: 244
Posts: 1124

Membership:

There are 726 Members

There is 1 Admin
There are 2 Moderators

Top Posters:

clearscreen – 48
dardack – 18
Krovikan – 16
FWishbringer – 14
faldiin – 12
vpro – 11

Recent New Members: metap0d, cajinboy, HeartofDixie, Gridge, morusec, Redsolardragon

Administrators: econnell (319 Posts)

Moderators: Haxar (58 Posts), bobshaffer (2 Posts)