media: ignore codecs with duplicate payload type
authorJakub Adam <jakub.adam@ktknet.cz>
Wed, 26 Mar 2014 11:16:48 +0000 (12:16 +0100)
committerJakub Adam <jakub.adam@ktknet.cz>
Wed, 26 Mar 2014 13:17:32 +0000 (14:17 +0100)
commit539363b23adbb4b08c54be957a0375464915b243
tree6d48f6fe9a836c43591a8d9bfb91d776332545e3
parent1556f377ecc7c3d4887f8e9f2805a4e7f7e60660
media: ignore codecs with duplicate payload type

Buggy(?) codecs may report non-unique id (a.k.a. payload type) this must
not appear in SDP messages we send. Thus, let's ignore any codec having
the same id as one we already have in the converted list.
src/core/sdpmsg.c
src/core/sdpmsg.h
src/core/sipe-media.c