media: multichannel needs GStreamer 1.6
commitbb94433f366bdeb812be15353a69626c2e48f51a
authorJakub Adam <jakub.adam@ktknet.cz>
Wed, 29 Jun 2016 10:12:55 +0000 (29 12:12 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Tue, 5 Jul 2016 13:50:50 +0000 (5 15:50 +0200)
treefd87978b8b6742846a2bf1c6bc29315fd47a340c
parent85b52885e87918ce6f0f47c3c267e695bd28b311
media: multichannel needs GStreamer 1.6

Lync offers multichannel audio as a codec with the same encoding name
as the mono variant, but a different payload type and an extra encoding
parameter:

  a=rtpmap:117 G722/8000/2
  a=rtpmap:9 G722/8000

This causes trouble with GStreamer RTP payloaders prior 1.6 that
supported only default payload types (9 in the case of G722). Let's
ignore the multichannel codecs when used GStreamer version isn't recent
enough so as to avoid not-negotiated caps errors when they are chosen
for transmission.
src/purple/purple-media.c