Bug 32738 - sofiasip gets confused if media sections in the sdp are swapped around
Summary: sofiasip gets confused if media sections in the sdp are swapped around
Status: RESOLVED NOTABUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: rakia (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: David Laban
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/al...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-30 01:55 UTC by David Laban
Modified: 2010-12-30 03:21 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description David Laban 2010-12-30 01:55:26 UTC
Technical Details:
sofiasip sends:

INVITE
...
m=video
...
m=audio
...

peer replies:

200 ok
...
m=audio
...
m=video
...

sofiasip gets confused by the re-ordering and says:

(telepathy-sofiasip:14563): tpsip-WARNING **: priv_update_remote_media: The 
peer has changed the media type, don't know what to do

then sends BYE and invalidates the channel.


I'll see if I can write a test for this today. I'll put it on top of my streamedmedia_tests branch.
Comment 1 Mikhail Zabaluev 2010-12-30 03:21:32 UTC
RFC 3264 section 6 says:

   For each "m=" line in the offer, there MUST be a corresponding "m="
   line in the answer.

The peer is doing it wrong.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.