media: drop support for ms-early-media
commit5c805cb03e8545d6b6917e6c2dae52b55e1b4a60
authorJakub Adam <jakub.adam@ktknet.cz>
Wed, 3 Aug 2011 19:49:15 +0000 (3 21:49 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Wed, 3 Aug 2011 19:50:42 +0000 (3 21:50 +0200)
treee374668d22b80214557ff3c89ead3aff2598f092
parent2016b37c47a812e4a0d111d4591246238b10d5ad
media: drop support for ms-early-media

Remote party can have multiple active points of presence where the user
can accept call. Because libnice does not support parallel ICE
negotiation with multiple endpoints having the same set of candidates,
codecs, usernames and passwords, I drop support of early media from SIPE.

Reason is that on the call initialization, ICE negotiation was started
with the endpoint whose 183 Session Progress response we received
first. Later if remote user accepted the call on different endpoint, the
connection could not be established.

Now ICE process is delayed until final reply is received from the user
selected endpoint, so that connection establishment can be done only
with the single correct point of presence.

Drawback is a media transport lag between accepting a call and a moment
when ICE process is finished, but still better than inability to establish
the network route for media at all.
src/core/sip-transport.c
src/core/sipe-media.c