igniterealtime / community-plugins

DEPRECATED (Use the new ofmeet and ofchat repos instead). Maintained for historical reasons only
https://community.igniterealtime.org/community/plugins/commplugins/places
Apache License 2.0
77 stars 49 forks source link

I cannot run ofmeet plugin from branch ofmeet-version-0.4.x properly #29

Closed ndandanov closed 7 years ago

ndandanov commented 7 years ago

Hello everybody,

After the kind help of @guusdk in issue #17 I managed to build the ofmeet plugin from branch ofmeet-version-0.4.x.

First, I built and installed https://github.com/jitsi/jitsi-videobridge-openfire-plugin with mvn clean install.

Then I built the current project with mvn clean package.

Both builds went fine without errors.

My problem is that when I deploy the built plugins (ofmeet.jar and offocus.jar, as the readme suggests), I have no active plugins, according to the OpenFire web interface:

image

I tried with both the 4.1.4 stable version and the nightly build (Openfire 4.1.5 Alpha).

The contents of /usr/share/openfire/plugins are:

root@conference:/usr/share/openfire/plugins# ls -la
total 107884
drwxr-x--- 5 openfire openfire     4096 May 19 15:00 .
drwxr-x--- 4 openfire openfire     4096 May 19 14:52 ..
drwxr-x--- 3 openfire openfire     4096 May 19 14:52 admin
drwxr-xr-x 4 openfire openfire     4096 May 19 15:00 offocus
-rw-r--r-- 1 nikolay  nikolay  26942933 May 30  2017 offocus.jar
drwxr-xr-x 5 openfire openfire     4096 May 19 15:00 ofmeet
-rw-r--r-- 1 nikolay  nikolay  83505171 May 30  2017 ofmeet.jar
root@conference:/usr/share/openfire/plugins# ls -la offocus
total 20
drwxr-xr-x 4 openfire openfire 4096 May 19 15:21 .
drwxr-x--- 5 openfire openfire 4096 May 19 15:22 ..
drwxr-xr-x 2 openfire openfire 4096 May 19 15:21 i18n
drwxr-xr-x 2 openfire openfire 4096 May 19 15:21 lib
-rw-r--r-- 1 openfire openfire 1062 May 19 15:21 plugin.xml
root@conference:/usr/share/openfire/plugins# ls -la ofmeet
total 56
drwxr-xr-x 5 openfire openfire  4096 May 19 15:11 .
drwxr-x--- 5 openfire openfire  4096 May 19 15:11 ..
-rw-r--r-- 1 openfire openfire 12237 May 19 15:11 changelog.html
drwxr-xr-x 2 openfire openfire  4096 May 19 15:11 i18n
drwxr-xr-x 2 openfire openfire  4096 May 19 15:11 lib
-rw-r--r-- 1 openfire openfire  7702 May 19 15:11 logo_large.gif
-rw-r--r-- 1 openfire openfire  7184 May 19 15:11 logo_small.gif
-rw-r--r-- 1 openfire openfire  1559 May 19 15:11 plugin.xml
-rw-r--r-- 1 openfire openfire  1197 May 19 15:11 readme.html
drwxr-xr-x 7 openfire openfire  4096 May 19 15:11 web

Interestingly, the stable version of the plugin had more files:

root@conference:/usr/share/openfire/plugins# ls ofmeet
api        chromeonly.html   fonts             lz-string.js         phone.js           simulcast.js
api_connector.js   commands.js       i18n              media_stream.js          plugin.xml         smileys.js
app.js         config.js         images            message_handler.js       prezi.js           sounds
apps           connectionquality.js  index.html        moderatemuc.js           readme.html        spark
audio_levels.js    contact_list.js   inum              moderator.js         readme.md          title.html
avatar.js      css           inum.js           muc.js               recording.js       toolbar.js
bottom_toolbar.js  data_channels.js  jitsipopover.js       ofmeet-screenshare.js        recordings         toolbar_toggler.js
candy          desktopsharing.js     keyboard_shortcut.js  ofmuc.js             replacement.js     tracking.js
candy.html     estos_log.js      lib               openfire-meetings.html       roomname_generator.js  util.js
canvas_util.js     etherpad.js       libs              openfire-meetings-test.html  roster.js          videolayout.js
changelog.html     external_api.js   local_sts.js          package.json         rtp_sts.js         web
chat.js        fastpath      logo_large.gif        pdf              settings_menu.js       WEB-INF
chrome-extension   favicon.ico       logo_small.gif        phone                side_panel_toggler.js  webrtcrequired.html

When accessing https://conference.lan:7443/ofmeet/, I receive a 404 Not Found error.

I managed to make the plugin show twice in the Plugin Manager. In these cases, visiting https://conference.lan:7443/ofmeet/ returns the contents of /usr/share/openfire/plugins/ofmeet.

I use Java Version: 1.8.0_131 Oracle Corporation -- OpenJDK 64-Bit Server VM.

Any help would be highly appreciated. Thank you!

Kind regards, Nikolay

guusdk commented 7 years ago

Note that this all is very experimental code - your mileage may vary.

Please look at the Openfire log files. I suspect that they will tell you that the plugins won't be executed, as your version of Openfire is not 4.2.0 Alpha or higher.

The current master branch of Openfire is 4.2.0 Alpha - try using that.

ndandanov commented 7 years ago

Thank you, @guusdk! Exactly this was the issue. I managed to build the latest Openfire with make (I also saw that you recommended going in the build directory and executing ant openfire).

Everything seems to be working properly. However, the OpenFire Meeting plugin looks the same as https://meet.jit.si/ and has the same functionalities. Unlike this one, the stable ofmeet was really feature-rich.

Am I making a mistake somewhere or this is just the way it is supposed to be? How can I configure the ofmeet plugin - if there are any specific configurations like with Jitsi?

Sorry if I am going too much off-topic. :)

guusdk commented 7 years ago

You are right. The newer OFMeet is more like the upstream Jitsi Meet (more features might be added later).

We've found that over time, all of the custom code made it impossible to keep up with the changes in Jitsi.

On 30 May 2017 at 15:38, ndandanov notifications@github.com wrote:

Thank you, @guusdk https://github.com/guusdk! Exactly this was the issue. I managed to build the latest Openfire with make (I also saw that you recommended going in the build directory and executing ant openfire).

Everything seems to be working properly. However, the OpenFire Meeting plugin looks the same as https://meet.jit.si/ and has the same functionalities. Unlike this one, the stable ofmeet was really feature-rich.

Am I making a mistake somewhere or this is just the way it is supposed to be? How can I configure the ofmeet plugin - if there are any specific configurations like with Jitsi?

Sorry if I am going too much off-topic. :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/igniterealtime/community-plugins/issues/29#issuecomment-304880901, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDoythkmSORIV1M8uR2z2OmL-USBJdTks5r_BvtgaJpZM4NqKl5 .

ndandanov commented 7 years ago

Thank you, Guus! That's what I also thought.

Again a small question in the off-topic domain: is there any way to enable Firefox (latest version) support with the current ofmeet stable release? E.g. through configuration or other modifications similar? Or, perhaps, another nice meetings "plugin" for OF?

Aside of that, I would like to contribute with the integration, of course if I can provide the needed competencies :)

guusdk commented 7 years ago

I honestly don't know. I think firefox works, if you install some kind of plugin in the browser? It should be the same as with the regular jitsi.meet service.

I would welcome your PRs :)

On 30 May 2017 at 16:11, ndandanov notifications@github.com wrote:

Thank you, Guus! That's what I also thought.

Again a small question in the off-topic domain: is there any way to enable Firefox (latest version) support with the current ofmeet stable release? E.g. through configuration or other modifications similar? Or, perhaps, another nice meetings "plugin" for OF?

Aside of that, I would like to contribute with the integration, of course if I can provide the needed competencies :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/igniterealtime/community-plugins/issues/29#issuecomment-304890491, or mute the thread https://github.com/notifications/unsubscribe-auth/AEDoynPxyVilucxXQIXq3bMNDnh4YNIeks5r_COSgaJpZM4NqKl5 .

ndandanov commented 7 years ago

Thanks, Guus! I was referring to #17 where @deleolajide explains why it is hard to include the nice features of the stable release with the latest Jitsi code.

This seems to be the same reason why currently only Chrome, Chromium and Opera are supported. At least that is what the ofmeet plugin says when trying to open the web interface from Firefox :)

I am quite new to OpenFire and do not have a lot of experience with development, but I think that sooner or later I may be able to contribute, even if it would not be much.

deleolajide commented 7 years ago

In theory, branch 0.4.x of ofmeet should work with Firefox without plugin as meet.jit.si does, but I have not tested it. I can confirm it works with IOS and Android versions of Jitsi-Meet if that helps.

Internet Explorer and Safari both require the temasys webrtc plugin.

ndandanov commented 7 years ago

@deleolajide, you are correct - I tried launching the version from branch 0.4.x in Firefox, but I could not connect to a video room. It may be due to a cache issue and it is completely possible that it works fine.

My question was whether there is a way to support Firefox with the stable (i.e., 0.3.x) version of ofmeet. It really has great features, whereas version 0.4.x has more or less the same as the original Jitsi.

guusdk commented 7 years ago

Please not that we have moved out the OFMeet project from this repository. It now has a repository of its own: https://github.com/igniterealtime/ofmeet-openfire-plugin