fmwviormv / doubango

Automatically exported from code.google.com/p/doubango
0 stars 0 forks source link

Support for detecting multiple video streams (presentation) #252

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Start video conference from a Cisco/Tandberg endpoint that has presentation 
enabled.

What is the expected output? What do you see instead?
Audio works as expected, however no video is displayed on either side. If the 
call is initiated from IMSDroid/Boghe, the call works as expected and video is 
displayed on both endpoints.

What version of the product are you using? On what operating system?
Doubango SVN Rev. 872 and IMSDroid SVN Rev. 550.

Please provide any additional information below.
I tested with a number of different Cisco/Tandberg endpoints and the behaviour 
is the same. If the video call is initiated from a presentation-enabled 
endpoint to IMSDroid, then video is not displayed on either side; audio works 
as expected.

The issue is due to multiple video streams in the SIP/SDP message. Doubango 
appears to use the last video stream present in the message, which might not 
always be the main video stream.

The attached screenshot is from a Wireshark trace. You can see two video 
streams. The first one has a "content" attribute of "main" (main video camera) 
and the second one has a "content" attribute of "slides" (for presentation)

I patched the file tinyMEDIA/src/tmedia_session.c to ignore any video streams 
that have a "content" attribute value other than "main". The patch is attached 
and seems to be working correctly with presentation enabled. Not sure if there 
is a better way to detect this.

Original issue reported on code.google.com by rohitab on 12 Apr 2013 at 4:41

Attachments: