conference: use only supported MCUs in addConference
commitd6af8b08746a3a75b572981c587cb37b7a950343
authorJakub Adam <jakub.adam@ktknet.cz>
Tue, 25 Mar 2014 14:02:00 +0000 (25 15:02 +0100)
committerJakub Adam <jakub.adam@ktknet.cz>
Mon, 14 Apr 2014 05:51:17 +0000 (14 07:51 +0200)
treedd18e2cdf1c765e24643db246dfc7bfbc99e320f
parentd703a6dfd99cd7cfbfcdc3cf776ede8ecc5f8564
conference: use only supported MCUs in addConference

When creating a conference, allocate only those MCU-types that we know
are supported by the server, i.e. received in a response to our
'getConferencingCapabilities' request.

This fixes 'mcuTypeNotAvailable' error responses when Sipe wanted to use
audio-video conferencing on a server where the option was disabled.
src/core/sipe-conf.c
src/core/sipe-conf.h