Installing OfMeet on Openfire 3.9.0

How well do you know Javascript?

It happens in line 698 with showToolbar();

That happens when jitsivideobridge sends a webRTC offer which happens when the user enters the MUC room.

Check you chrome log for any relevant messages

It’s been 5 years old I have not do javascript …

I have some undefined message on doJoin and on presence…

This appears to be Chrome main.js:225

status 1 main.js:96

status 3 main.js:96

connected main.js:79

doJoin xrv377z9tij54s4i undefined main.js:422

getConstraints [“audio”, “video”] 360 undefined undefined main.js:285

getUserMedia

Object {audio: Object, video: Object}

main.js:265

onUserMediaSuccess main.js:270

mediaready.rayo main.js:121


  1. rayo colibri register got error main.js:829rayoCallback main.js:468onPresError muc.js:95

Developped logs :

rayoCallback main.js:468onPresError muc.js:95

It is as if it cannot connect to the server…

looks like you are using IP address to access openfire

It does not work properly. modify you network accept proper host names or edit your OS hosts file to create a DNS entry for the IP address.

In windows, you can edit windows/system32/drivers/etc/hosts

Nice job !

Thank you very much ! it is a very good solution !

I tried screen sharing by clicking on button, chrome ask me to share, I accept, but I can’t see my desktop, I have a black screen and no errors in javascript console. But when I try to connect with ip address and &screen=true, I can see my desktop but no video of my cam.

Here the log :

rayo colibri answer set ok stable publish.js:502

toggleScreenShare

Object {audio: Object, video: Object}

main.js:851

toggleScreenShare

Object {audio: Object, video: Object}

main.js:851

This appears to be Chrome publish.js:106

status 1 publish.js:47

status 3 publish.js:47

connected publish.js:39

doJoin w4z1b8718257b9 publish.js:260

getConstraints [“screen”] undefined undefined undefined publish.js:166

getUserMedia

Object {audio: false, video: Object}

publish.js:146

onUserMediaSuccess publish.js:151

mediaready.rayo publish.js:62

rayo colibri register set ok publish.js:516

MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}

false publish.js:395

rayoCallback publish.js:277handleOffer publish.js:291handleOffer track video publish.js:316onstream sendAnswer publish.js:414rayoCallback publish.js:277rayoCallback main.js:468rayoCallback main.js:468handleSSRC input ssrc main.js:534

MediaStreamEvent {stream: MediaStream, clipboardData: undefined, cancelBubble: false, returnValue: true, srcElement: RTCPeerConnection…}

true main.js:683


  1. onstream handleAddSSRC modify ok have-remote-offer main.js:572rayoCallback publish.js:277rayoCallback publish.js:277
    rayo colibri answer set ok stable publish.js:502

I will suggest you some addings in the comming days !

Example :

  • connecting from outside and inside network : it is never the same url, if it can be done it will be good.

  • Authentication

  • Filtering IP addresses or subnets that can create rooms or just connect to a room (Without authentication, user can only enter to a secure room , with authentication he can create room and enter to a room. Screensharing possible for all users or not).

It will be cool to get a web panel on openfire to control that.

Great job man !!!

Hi all, I am new so I am bit confused. I installed Openfire 3.8.2. I would like to test Ofmeet but i cannot find where download it.

Maybe I am wrong? I mean, i just need to install openfire 3.9.0 and ofmeet is embedded into it?

Sorry for confusion…

Steve, Ofmeet is not a part of openfire,it is a part of jitsivideobride plugin.Browse Ofmeet by uploading jitsivideobridge plugin to openfire 3.9.0 pre-build by https://your_server:7443/ofmeet/ .

Hi guys,

if someone has an idea for screeshare issue, let me know please. I have not found my issue yet.

I start screensharing but I have a black window and a small black window in the bottom. When I try to click on my video small window, I can’t see myself on the big window…

Thanks.

Dele any idea on my problem ?

I can :

  • create a conf room and see myself , all the interface without any issue in console

  • see my screenshare when I access to a room without DNS name resolution but as you say we need a dns entry

I can’t :

  • share the screen, I have a black window although chrome ask me to share the desktop (getusermedia activated)

  • when people try to access to my link (room), they only see a black window, and screensharing not working

If you can’t get a DNS entry, then edit config.js to match your Openfire configuration and use an IP address to access. It could work, but I have not tried it.

HI Dele,

I already do that. But even if I use a dns entry I cannot screenshare or share a visio.

Are you using websockets or http-bind (bosh)?

I did some tests yesterday with http-bind and found some issues with screenshare. It does not close properly requires everyone to leave the chat room before it starts working again.

I will run some more tests

As you suggested, I desatcivate websocket so I am using http-bind. Even the

first time, even if I reboot services, server I can’t use screeshare or

get someone the visio room.

2014-02-08 dele communityadmin@igniterealtime.org:

  Ignite Realtime <http://community.igniterealtime.org/index.jspa>  Installing OfMeet on Openfire 3.9.0 created by Dele

Olajide http://community.igniterealtime.org/people/dele in *Jitsi

VideoBridge Plugin* - View the full discussionhttp://community.igniterealtime.org/message/235592#235592

Hi,

I have installed openfire 3.9.1 and jitsivideobridge officially.

Here is my config.js file :

var config = {

hosts: {

domain: ‘openfire.devagipi.local’,

muc: ‘conference.openfire.devagipi.local’, // FIXME: use XEP-0030

bridge: ‘jitsi-videobridge.openfire.devagipi.local’ // FIXME: use XEP-0030

},

useIPv6: false, // ipv6 support. use at your own risk

useNicks: false,

useWebsockets: false,

resolution: “360”,

bosh: window.location.protocol + “//” + window.location.host + ‘/http-bind/’ // FIXME: use xep-0156 for that

};

Can’t understand why I cannot share my screen. When I click on screeshare button, I have only a big black screen and, one small screen on bottom with myvideo. Moreover, when I send the link to my friend he is connected to a room and alone, and cannot join my room…

Thanks Dele for your help.

Dele,

Here is logs from error.log on openfire server :

2014.02.12 18:09:04 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 1e20nqkbn326s9k9

2014.02.12 18:09:05 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.cujgagchilvdkj4i

2014.02.12 18:09:33 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP mq7ydr5mvu5trzfr

2014.02.12 18:09:33 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.sh1zk5f3v6zgp66r

2014.02.12 18:09:36 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 2sgwiff81l3anhfr

2014.02.12 18:15:34 org.jitsi.videobridge.openfire.PluginImpl - Videobrideg error

2014.02.12 18:15:34 XMPPServlet - XMPPWebSocket deliver org.eclipse.jetty.io.EofException

2014.02.12 18:15:34 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 0g62koy3b5zsemi

2014.02.12 18:15:34 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP jitsi.videobridge.fw2jqkb3nved0a4i

2014.02.12 18:15:42 org.jivesoftware.openfire.ldap.LdapGroupProvider - Could not find user in LDAP 1542yv6eq99hpvi

I have a feature not implemented error …

I really don’t know why it does not work for you. I am not connected to to an LDAP provider, so I can replicate your setup to test. Al I can say is that you have to do more investigation into why it is not working.

Does your openfire allow annonymous users?

Can you see each user in Openfire web console sessions page?

Can you see the MUC room created and destroyed?

Are both users in the same room?

Is your firewall blocking UDP messages betwen openfire and each user?

have you opened UDP ports between 50000 and 60000 on your openfire server firewall?

Does your openfire allow annonymous users?

YES

Can you see each user in Openfire web console sessions page?

YES,

Anonyme
hisk5nmgn57sc3di
Local
Authentifié

En ligne
En ligne
0
172.31.11.1

2
Anonyme
jitsi.videobridge.nbvsj0n8v6gycik9
Local
Authentifié

En ligne
En ligne
0
jitsi.videobridge.nbvsj0n8v6gycik9

3
Anonyme
jitsi.videobridge.test
Local
Authentifié

En ligne
En ligne
0
jitsi.videobridge.test

Can you see the MUC room created and destroyed?

YES

1
nbvsj0n8v6gycik9
nbvsj0n8v6gycik9
Le salon est temporaire
1 / 30

Are both users in the same room?

YES, but remote is black screen

Is your firewall blocking UDP messages betwen openfire and each user?

NO, all is open between 50000 and 60000 in both directions

have you opened UDP ports between 50000 and 60000 on your openfire server firewall?

No firewall on openfire server.

Edit config.js file for jitmeet and try it instead to see what happens. You need to use latest 1.2.1

https://your-server:7443/jitsi/apps/jitmeet/?r=xxxxxxx

where to find jitsivideobridge 1.2.1 ? here http://bamboo.igniterealtime.org/browse/OPENFIRE-NIGHTLYPLUGINS-1119/artifact/sh ared/Project-Plugins/ ??

Same result with candy and jitmeet …

It is very weir, because when I don’t configure config.js (default file) and put ip address + screen=true, I can see screen sharing but with the correct domain name, when I started screenshare, I got a black screen…

Dele,

when I try to connect to https://myserver:7443/apps/ofmeet/?r=muc_test&screen=true I got :

  • a big black screen

  • two small screens in the bottom, the first I can see my desktop moving and the second is black …

when I try to connect to https://ip_address:7443/apps/ofmeet/?r=muc_test&screen=true I can see my desktop on a big screen and it is live …

Perhaps you can help me with these new information ?

Thanks.

Edit:

I found this error log too :

2014.02.19 15:37:47 org.jivesoftware.openfire.IQRouter - Error or result packet could not be delivered