After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 681310 - Add H.239 support
Add H.239 support
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: Engine
GIT master
Other Linux
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on: 683456
Blocks:
 
 
Reported: 2012-08-06 15:52 UTC by Víctor Manuel Jáquez Leal
Modified: 2012-12-06 22:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Setup H.239 in Ekiga (8.32 KB, patch)
2012-08-06 15:53 UTC, Víctor Manuel Jáquez Leal
committed Details | Review
OpenPhone Video Output (278.14 KB, image/png)
2012-08-08 14:48 UTC, Víctor Manuel Jáquez Leal
  Details
Ekiga Video Output (146.89 KB, image/png)
2012-08-08 15:04 UTC, Víctor Manuel Jáquez Leal
  Details

Description Víctor Manuel Jáquez Leal 2012-08-06 15:52:09 UTC
H.239 is a feature of H.323 recommendation. It describes how to send additional video stream in a parallel to main video picture. e.g., it is possible to see speaking person within main video screen and see her desktop with diagrams or screenshots.

Opal has support for H.239 (you can use OpenPhone for testing it) but Ekiga needs some changes.
Comment 1 Víctor Manuel Jáquez Leal 2012-08-06 15:53:49 UTC
Created attachment 220463 [details] [review]
Setup H.239 in Ekiga

This is an initial patch proposal for adding H.239 support in Ekiga.

Right now the patch only is capable to choose, before calling, the video to display in the VideoOutput (slides or main).
Comment 2 Eugen Dedu 2012-08-06 16:24:39 UTC
Thank you.  Should it be committed as it, or better to wait until you provide other patches (such as changing the video to display on-the-fly)?

Note: This is related to bug #651544.
Comment 3 Víctor Manuel Jáquez Leal 2012-08-06 18:37:56 UTC
Hi Eugen,

Well, the patch is just a request for comments (yes, I should said it explicitly).

So the next step would be, either:

1) to choose the video to display in run time
2) to compose a video, such as expressed in the RFC 4796, showing all the streams at the same time

Opal's openphone uses the option 2) by calling, if I understood correctly, OpalCall::OpenSourceMediaStreams, but I need to test it.

Thanks!
Comment 4 Eugen Dedu 2012-08-07 15:24:31 UTC
Hi Víctor,

The patch seems ok for me, with respect to integration in ekiga.  I do not know H.239, could you detail what this patch does exactly (apart GUI configuration)?  Does it show the screen instead of the video for ex.?!

Also, do you plan to improve it or not?

If it already does something useful AND/OR it does not yet but you will improve it soon, I think it can be committed.
Comment 5 Víctor Manuel Jáquez Leal 2012-08-07 18:26:53 UTC
(In reply to comment #4)
> Hi Víctor,
> 
> The patch seems ok for me, with respect to integration in ekiga.  I do not know
> H.239, could you detail what this patch does exactly (apart GUI configuration)?
>  Does it show the screen instead of the video for ex.?!

It shows, when a participant is streaming their slides through H.239, the slides, and only the slides.

> Also, do you plan to improve it or not?

Yes. I need to show both video streams: the main role and the slides. But don't how to handle it yet.
 
> If it already does something useful AND/OR it does not yet but you will improve
> it soon, I think it can be committed.

I guess it is useful for certain use cases as is, still it is not a "full supported feature". Hence, yes, I guess it is committable, though I'll keep working in the video displaying issue.


Cheers,
Comment 6 Eugen Dedu 2012-08-07 20:17:17 UTC
Ok, committed then, thanks!

http://git.gnome.org/browse/ekiga/commit/?id=580d1a28510f0d3ef194

I think it is more user-friendly to use combobox instead of int for video_role in Preferences.
Comment 7 Víctor Manuel Jáquez Leal 2012-08-08 10:49:11 UTC
(In reply to comment #6)
> Ok, committed then, thanks!
> 
> http://git.gnome.org/browse/ekiga/commit/?id=580d1a28510f0d3ef194

Great! Thanks!

> 
> I think it is more user-friendly to use combobox instead of int for video_role
> in Preferences.

I don't follow this sentence. What do you mean with "combobox instead of int"?
Comment 8 Eugen Dedu 2012-08-08 10:52:38 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I think it is more user-friendly to use combobox instead of int for video_role
> > in Preferences.
> 
> I don't follow this sentence. What do you mean with "combobox instead of int"?

In Preferences, H.323, DTMF mode is given as combobox, which is better than an int (as you did).
Comment 9 Víctor Manuel Jáquez Leal 2012-08-08 11:17:30 UTC
How to test the H.239 support in Ekiga

1) Download the SampleServer.zip from here
http://www.rsdevs.com/h239.shtml

It is a windows application, still it works with wine.

2) Launch the sampleserver application

3) Launch Ekiga and configure the H.323/H.239 options (enable H.239 and select the Presentation role)

4) In the sample server call to Ekiga's end point

5) In the video output window you'll see the screenshot of the other computer (where sampleserver is running)

TODO

SampleServer streams 2 streams 1/ the main role (strips) and 2/ the presentation role (screenshot), so Ekiga should either show both streams at the same time in the VideoOutput device or the user should be able to choose which stream show.
Comment 10 Víctor Manuel Jáquez Leal 2012-08-08 11:24:21 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > I think it is more user-friendly to use combobox instead of int for video_role
> > > in Preferences.
> > 
> > I don't follow this sentence. What do you mean with "combobox instead of int"?
> 
> In Preferences, H.323, DTMF mode is given as combobox, which is better than an
> int (as you did).

but the video role is a combobox:

  gnome_prefs_int_option_menu_new (subsection, _("Extended Video Roles:"), roles, H323_KEY "video_role", _("Select the H.239 Video Role"), 4);

just like the DTMF:

  gnome_prefs_int_option_menu_new (subsection, _("_Send DTMF as:"), capabilities, H323_KEY "dtmf_mode", _("Select the mode for DTMFs sending"), 0);

The difference among them is that the DTMF is packed inside other "subsection"
Comment 11 Víctor Manuel Jáquez Leal 2012-08-08 14:48:15 UTC
Created attachment 220692 [details]
OpenPhone Video Output

This is an image of the video output composed by the openphone, an Opal's sample application.

The output device video is composed with the preview + main role + slide role

This layout is similar to the layout proposed by the RFC 4796
Comment 12 Víctor Manuel Jáquez Leal 2012-08-08 15:04:35 UTC
Created attachment 220693 [details]
Ekiga Video Output

Video Output of Ekiga when H.239 / Force Live Presentation is enabled.

As you can see, only the presentation view is shown.

Note that the simple server doesn't show the video stream from Ekiga, neither Ekiga displays the simple server's main role (stripes). I don't know why yet.
Comment 13 Eugen Dedu 2012-08-09 13:49:14 UTC
(In reply to comment #10)
> but the video role is a combobox:
> 
>   gnome_prefs_int_option_menu_new (subsection, _("Extended Video Roles:"),
> roles, H323_KEY "video_role", _("Select the H.239 Video Role"), 4);
> 
> just like the DTMF:
> 
>   gnome_prefs_int_option_menu_new (subsection, _("_Send DTMF as:"),
> capabilities, H323_KEY "dtmf_mode", _("Select the mode for DTMFs sending"), 0);
> 
> The difference among them is that the DTMF is packed inside other "subsection"

You are right, sorry!
Comment 14 Eugen Dedu 2012-08-09 13:51:32 UTC
I appreciate your work, please go ahead!
Comment 15 Víctor Manuel Jáquez Leal 2012-08-23 10:59:31 UTC
I've been working on a way to show the extended video. It's hacky and ugly, but works with the exception of the fullscreen scenario.

Here my current WIP patch:

https://github.com/ceyusa/ekiga/commit/70ea5cd94d57c8fcd00fb9aa55dc04245f2f2d4f
Comment 16 Eugen Dedu 2012-08-23 11:06:48 UTC
I am preparing a beta release.  Before looking into it and testing, are you sure that the patch does not add any regression?  Also, does it allow to see both streams, or only one at a time?
Comment 17 Víctor Manuel Jáquez Leal 2012-08-23 14:09:57 UTC
(In reply to comment #16)
> I am preparing a beta release.  Before looking into it and testing, are you
> sure that the patch does not add any regression? 

I haven't tested it with a SIP connection.

> Also, does it allow to see
> both streams, or only one at a time?

Only one stream at a time :(

More work is required to show both.