Adding audio support to a PRPL

David Woodhouse dwmw2 at
Tue Sep 12 21:46:25 EDT 2017

On Tue, 2017-09-12 at 15:29 -0700, David Woodhouse wrote:
> So... today I reached a milestone. I got audio support in my PRPL... at
> least, I know the codec and I'm dumping hex bytes to the terminal.
> Theoretically it's a simple step to get libpurple to give me a
> GStreamer sink, and I can just shove the bytes that way instead of to
> the terminal. But I can't see any trivial examples — they're all
> setting up RTP or SIP calls. Am I missing one?

Hm, looks like backend-fs2 *only* works with fsrtpconference, and not
with fsrawconference? 

(18:44:29) backend-fs2: got new local candidate: 12
(18:44:29) GLib-GObject: g_object_get_valist: object class 'FsRawParticipant' has no property named 'cname'

Thread 1 "pidgin.orig" received signal SIGSEGV, Segmentation fault.
__strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:32
32	../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or directory.#1  0x00007ffff521df23 in get_stream (self=self at entry=0x1014c2cd0 [PurpleMediaBackendFs2], sess_id=0x1017b81a0 "chime", name=0x1 <error: Cannot access memory at address 0x1>)
    at /build/pidgin-dzk2Cb/pidgin-2.10.12/./libpurple/media/backend-fs2.c:875
875					!strcmp(stream->participant, name))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <>

More information about the Devel mailing list