media: initial support for multiple streams and video
commitbf699c6bf31cba8a0d27fce641c9afb5e38925ac
authorJakub Adam <jakub.adam@ktknet.cz>
Thu, 5 Aug 2010 22:37:18 +0000 (6 00:37 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Thu, 5 Aug 2010 22:37:18 +0000 (6 00:37 +0200)
treee0127e8064278cab1de8c217d7bbb43bb090df6f
parent680522d57498f9191d7c34ea38058892624b7a49
media: initial support for multiple streams and video

Seems Office Communicator does not accept H263 video in RTP packets larger than MTU of the network
and fragmented on the level of IP protocol. GStreamer by default produces packets with too
big payload. To allow remote peers see our video, parameters of some elements of processing pipeline must
be tuned by providing Farsight with a custom pipeline for H263 encoding written into fs-codec.conf
in user's purple configuration directory. File is attached to commit, values of payload size and MTU were
determined experimentally, more suitable numbers can possibly be found.

Customizing codecs in fs-codec.conf is a clean solution supported by Farsight and libpurple, but distribution
of the separated file to users is not very feasible, I plan soon to implement its autocreation by SIPE when
missing in $HOME/.purple.
contrib/media-patches/fs-codec.conf [new file with mode: 0644]
src/api/sipe-backend.h
src/api/sipe-core.h
src/core/sdpmsg.c
src/core/sdpmsg.h
src/core/sipe-media.c
src/purple/purple-media.c
src/purple/purple-plugin.c