Good catch
There are 2 roles supported in H.239. Presentation (1) and Live (2) or the device may support both (3)
I don't know any device that opens a "live" presentation but having a value of 2 or 3 (both) in the TCS is completely valid. This is a bug in h323plus.
The OLC shall only indicate one role for the channel (either 1 or 2) .
I have updated the CVS and added some verbose debug statements highlighting what roles the remote supports.
Simon
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of Ankur Deep Jaiswal Sent: 25 February 2014 19:28 To: h323plus@lists.packetizer.com Subject: Re: [h323plus] Simpleh323 H239 Issue
Hi,
I have found out the issue.
I am attaching the trace file log at level 4.
during capability merge after recieving TCS from the remote end, merge for H.239 fails.
the remote end advertises H.239(H.264) capability as recieveAndTransmit i.e role 3
whereas in file h323caps.cxx line number 2196 we are explicitly checking it as "if (role.GetValue() != 1)" and it does not get added to capabilityset,
this fails with error "ERROR: Unsupported Role mode" . i changed the code to "if (role.GetValue() <0 && role.GetValue()>3 )" as a temporarty fix
Any Insight in to this is highly appreciated
On Tue, Feb 25, 2014 at 11:54 AM, Ankur Deep Jaiswal ankur@techgentsia.com wrote:
HI,
While using H239 in simpleh323 client using connection->OpenH239Channel(). Simpleh323 sends a presentationTokenRequest and after receiving a presentationTokenResponse, replies with a new presentationTokenResponse with indication that functionNotUnderstood. hence H239 fails.
Help appreciated. thanks in advance