comparison src/prpl.h @ 12024:e67993da8a22

[gaim-migrate @ 14317] I strongly suspect CruiseControl is going to yell at me for this. A voice chat API, GUI + mediastreamer. This is what I'm using for Google Talk. This doesn't actually do anything at all. There's no code in the Jabber plugin yet to use this API (although it Works For Me). All it will do is compile and link. If you're lucky. To build this, you should install oRTP from Linphone, Speex and iLBC (also from linphone, I believe). To not build this, ./configure --disable-vv. Most of the configure.ac and Makefile.am hackery was lifted right out of Linphone with a few modifications. It seems to work if you have everything installed or if you --disable-vv. I haven't really tested not having everything installed and not --disabling-vv. It's kinda funky to include all of mediastreamer in the source tree like this, but linphone doesn't build it as a separate library. I'll probably wind up writing them a patch to build it as a .so so we can link it dynamically instead. This code certainly isn't finished. It'll adapt as I progress on the Google code, but it's certainly of more use here in CVS than in my personal tree. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 09 Nov 2005 08:07:20 +0000
parents fa742ad8068c
children cbebda5f019c
comparison
equal deleted inserted replaced
12023:80faf1ca5280 12024:e67993da8a22
80 #define NO_BUDDY_ICONS {NULL, 0, 0, 0, 0, 0} 80 #define NO_BUDDY_ICONS {NULL, 0, 0, 0, 0, 0}
81 81
82 #include "blist.h" 82 #include "blist.h"
83 #include "proxy.h" 83 #include "proxy.h"
84 #include "plugin.h" 84 #include "plugin.h"
85 #include "media.h"
85 #include "roomlist.h" 86 #include "roomlist.h"
86 #include "status.h" 87 #include "status.h"
87 #include "whiteboard.h" 88 #include "whiteboard.h"
88 89
89 struct proto_chat_entry { 90 struct proto_chat_entry {
308 /* file transfer callbacks */ 309 /* file transfer callbacks */
309 gboolean (*can_receive_file)(GaimConnection *, const char *who); 310 gboolean (*can_receive_file)(GaimConnection *, const char *who);
310 void (*send_file)(GaimConnection *, const char *who, const char *filename); 311 void (*send_file)(GaimConnection *, const char *who, const char *filename);
311 312
312 GaimWhiteboardPrplOps *whiteboard_prpl_ops; 313 GaimWhiteboardPrplOps *whiteboard_prpl_ops;
314 GaimMediaPrplOps *media_prpl_ops;
313 }; 315 };
314 316
315 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \ 317 #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \
316 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL) 318 ((plugin)->info->type == GAIM_PLUGIN_PROTOCOL)
317 319