media: create a failed_media for all rejected streams
commite5dd3f90ac19c1a8fa2df20caf1112d9070ac574
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 11 Jul 2018 10:44:25 +0000 (11 12:44 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Wed, 11 Jul 2018 17:52:16 +0000 (11 19:52 +0200)
treeb0b3873f46c1d5adefea4246826387e01c05b4e1
parenta65d43293b3a351fa267bea70aa96357923e7629
media: create a failed_media for all rejected streams

The Windows Skype for Business client expects that the number of medias in
the SDP message remains the same during one call.
If we start a call with audio and video and the Windows client only accepts
a audio connection then the video stream must remain as a failed_media.
Otherwise the connection setup will not finish.
src/core/sipe-media.c