Prevents SC from throwing an exception if an SDP answer comes back with a media direction brought down to INACTIVE (not sure why this was there in the first place since according to 3264 that's exactly what answers MUST do if they don't want or can't handle the direction in the offer.

cusax-fix
Emil Ivov 16 years ago
parent a3c37cc510
commit 79399b3f63

@ -1437,8 +1437,7 @@ private void processAnswer(SessionDescription answer)
devDirection
= devDirection.and(getDirectionUserPreference(mediaType));
if (supportedFormats.isEmpty()
|| (devDirection == MediaDirection.INACTIVE))
if (supportedFormats.isEmpty())
{
//remote party must have messed up our SDP. throw an exception.
ProtocolProviderServiceSipImpl.throwOperationFailedException(

Loading…
Cancel
Save