[Pidgin] #34: Voice/video support

Pidgin trac at pidgin.im
Sun Feb 3 13:49:18 EST 2008


#34: Voice/video support
--------------------------+-------------------------------------------------
  Reporter:  MarkDoliner  |       Owner:  seanegan       
      Type:  enhancement  |      Status:  assigned       
  Priority:  minor        |   Milestone:  Patches welcome
 Component:  libpurple    |     Version:                 
Resolution:               |    Keywords:                 
   Pending:  0            |  
--------------------------+-------------------------------------------------
Comment (by forlorn_beast):

 What section of the API should I be looking at to figure how to get a
 plugin to catch when a protocol is attempting to receive audio/video? I am
 looking at signals and request. Should I be looking into the protocols
 themselves?

 Well, just to let you know what I am trying to do is write plugin that
 calls a program that pipe() and fork()s (or createProcess() and
 createPipe() for windows) an instance of mplayer for every incoming voice
 or video stream. I am not too familiar with the formats of the stream, but
 I have a feeling mplayer can figure it out. I tried checking out the C
 howto page, but the documents I was hoping to learn from are
 incomplete.... :(

 That fact that I am new to C programming doesn't help, but I don't care
 what anyone says, if this is how I want to learn it, at least something
 useful *might* come out of it. Anyone's help would be very much
 appreciated. I got through the simple plugin tutorial, and I understand
 most of it anyways, so I figure just a little insight to which functions
 would be most useful to me would be great. I will also try to look at the
 source for other plugins to catch any understanding, but at this point,
 anything helps. Im not really focused on a permanent solution, just a
 plugin for those that use mplayer. Yeah, it may seem counterproductive in
 this manner to some, but hey, it is something. Libpurple is so nice and
 neat the way it is, why hack it up when a solid implementation hasn't been
 decided yet. I think the plugin method is the way to go, at least for
 those people who really want something working now. Let me know what you
 think. Anyone?

-- 
Ticket URL: <http://developer.pidgin.im/ticket/34#comment:81>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list