powered by Jive Software

Openfire 4.4.0 + ofmeet + converse.js unable to perform video/audio chat

hi guys!

i have setup openfire 4.4.0 and installed ofmeet plugin for audio/video conference. for ui part i am using converse.js.

Now i am able to join the chat room and able to do text chat. but when i start video chat then i can able to see my camera output on my website but from another laptop user is not able to join this video conference. he is not able to see even his camera output by clicking the conference link.

I got the client code from : https://github.com/igniterealtime/webmeet
My webmeet/config.js configuration :
var config = {
authentication: ‘anonymous’,
auto_login: true,
auto_join_rooms: [‘anonymous@conference.localhost’,],
play_sounds: true,
sounds_path: “sounds/”,
notification_icon: “image.png”,
muc_domain: “conference.” + location.hostname,
domain_placeholder: location.hostname,
registration_domain: location.hostname,
locked_domain: location.hostname,
whitelisted_plugins: [“webmeet”],
bosh_service_url: ‘https://myserver:6443/http-bind/’,
websocket_url: ‘ws://’ + ‘myserver:6060’ + ‘/ws/’,
jid: ‘localhost’,
notify_all_room_messages: true,
auto_reconnect: true,
allow_non_roster_messaging: true,
view_mode: ‘embedded’,
webmeet_invitation: 'Please join meeting in room ',
webmeet_record: false,
webmeet_record_audio: false,
webmeet_record_video: false,
webmeet_transcription: false,
webmeet_captions: false,
ofswitch: false,
/fastpath: {
workgroup: ‘demo@workgroup.’ + location.hostname,
form: “demo”,
robotImage: ‘data:image/jpeg;base64,xxxxxxxxx’,
userImage: ‘data:image/gif;base64,xxxxxxxxx’,
},
/
uport: false
};

my jitsimeet/config.js configuration:
var config = {

hosts: {
    domain: location.hostname,
    muc: 'conference.' + location.hostname
},

bosh: 'ws://' + 'myserver:6060' + '/ws/',
clientNode: 'webmeet',

disableSuspendVideo: true,
desktopSharingChromeExtId: null,
desktopSharingChromeDisabled: true,
desktopSharingChromeSources: [ 'screen', 'window', 'tab' ],
desktopSharingChromeMinExtVersion: '0.1',
desktopSharingFirefoxDisabled: false,

channelLastN: -1,
enableWelcomePage: true,
minHDHeight: 540,
enableUserRolesBasedOnToken: false,

p2p: {
    enabled: true,
    stunServers: [
        { urls: 'stun:stun.l.google.com:19302' },
        { urls: 'stun:stun1.l.google.com:19302' },
        { urls: 'stun:stun2.l.google.com:19302' }
    ],
    preferH264: true
},

deploymentInfo: {

}

};

That’s all i have changed for client setup.
Do i need to change any other config in js or on openfire admin page in meetings tab.

browser error log from other guy laptop is attached.

[modules/statistics/AnalyticsAdapter.js] : Not sending an event, disposed. lib-jitsi-meet.min.js:10075:120
[react/features/base/tracks/functions.js] <t.a/<>: Failed to create local tracks
Array [ “audio”, “video” ]

Object { gum: {…}, name: “gum.permission_denied”, message: “User denied permission to use device(s): audio, video”, stack: “r@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:2553:38\nvalue/</<@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:7207:127\n” }
app.bundle.min.js:40043:116
[modules/RTC/RTCUtils.js] : Using the new gUM flow lib-jitsi-meet.min.js:10075:120
[modules/RTC/RTCUtils.js] <value/r<>: Got media constraints:
Object { video: false, audio: {…} }
lib-jitsi-meet.min.js:10075:120
[modules/RTC/RTCUtils.js] <value/</<>: Failed to get access to local media. NotAllowedError: The request is not allowed by the user agent or the platform in the current context. [object Object] lib-jitsi-meet.min.js:10075:120
[modules/statistics/AnalyticsAdapter.js] : Not sending an event, disposed. lib-jitsi-meet.min.js:10075:120
[react/features/base/tracks/functions.js] <t.a/<>: Failed to create local tracks
Array [ “audio” ]

Object { gum: {…}, name: “gum.permission_denied”, message: “User denied permission to use device(s): audio”, stack: “r@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:2553:38\nvalue/</<@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:7207:127\n” }
app.bundle.min.js:40043:116
[modules/RTC/RTCUtils.js] : Using the new gUM flow lib-jitsi-meet.min.js:10075:120
[modules/RTC/RTCUtils.js] <value/r<>: Got media constraints:
Object { video: {…}, audio: false }
lib-jitsi-meet.min.js:10075:120
[modules/RTC/RTCUtils.js] <value/</<>: Failed to get access to local media. NotAllowedError: The request is not allowed by the user agent or the platform in the current context. [object Object] lib-jitsi-meet.min.js:10075:120
[modules/statistics/AnalyticsAdapter.js] : Not sending an event, disposed. lib-jitsi-meet.min.js:10075:120
[react/features/base/tracks/functions.js] <t.a/<>: Failed to create local tracks
Array [ “video” ]

Object { gum: {…}, name: “gum.permission_denied”, message: “User denied permission to use device(s): video”, stack: “r@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:2553:38\nvalue/</<@http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:7207:127\n” }
app.bundle.min.js:40043:116
ofmeet.js load ofmeet.js:258:17
[modules/RTC/RTCUtils.js] <f/<>: Available devices:
Array [ MediaDeviceInfo, MediaDeviceInfo ]
lib-jitsi-meet.min.js:10075:120
[modules/statistics/AnalyticsAdapter.js] : Not sending an event, disposed. 2 lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : (TIME) Strophe connected: 2676 lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : My Jabber ID: 99dii6xnp8@localhost/99dii6xnp8 lib-jitsi-meet.min.js:10075:120
[conference.js] <init/<>: initialized with %s local tracks 0 app.bundle.min.js:40043:116
[modules/xmpp/ChatRoom.js] : Joined MUC as anonymous-lmbzeihs1@conference.clientserver/99dii6xn lib-jitsi-meet.min.js:10075:120
[modules/connectivity/ParticipantConnectionStatus.js] : RtcMuteTimeout set to: 2000 lib-jitsi-meet.min.js:10075:120
[modules/statistics/AvgRTPStatsReporter.js] : Avg RTP stats will be calculated every 15 samples lib-jitsi-meet.min.js:10075:120
[JitsiConference.js] : backToP2PDelay: 5 lib-jitsi-meet.min.js:10075:120
[modules/videosipgw/VideoSIPGW.js] : creating VideoSIPGW lib-jitsi-meet.min.js:10075:120
[conference.js] : Microphone button enabled: false local audio: null audio devices: undefined device count: 0 app.bundle.min.js:40043:116
[conference.js] : Camera button enabled: false local video: null video devices: undefined device count: 0 app.bundle.min.js:40043:116
[modules/xmpp/moderator.js] <i.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype.createConferenceIq>: Session ID: null machine UID: 959a201e0cf475da84da9668a750d578 lib-jitsi-meet.min.js:10075:120
[JitsiMeetJS.js] : UnhandledError: null Script: null Line: null Column: null StackTrace: Error: “Ping feature discovery error: [object Element]”
value http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:23743
P http://clientserver:8080/devsample1/jitsimeet/libs/app.bundle.min.js?v=2784:91816
P http://clientserver:8080/devsample1/jitsimeet/libs/app.bundle.min.js?v=2784:91820
l http://clientserver:8080/devsample1/jitsimeet/libs/app.bundle.min.js?v=2784:48949
lib-jitsi-meet.min.js:10075:120
[modules/xmpp/strophe.ping.js] <value/<>: Ping feature discovery error

lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] <value/<>: Ping NOT supported by clientserver lib-jitsi-meet.min.js:10075:120
[conference.js] : Microphone button enabled: true local audio: null audio devices: [object MediaDeviceInfo] device count: 1 app.bundle.min.js:40043:116
[conference.js] : Camera button enabled: true local video: null video devices: [object MediaDeviceInfo] device count: 1 app.bundle.min.js:40043:116
[JitsiMeetJS.js] : UnhandledError: null Script: null Line: null Column: null StackTrace: Error: “Focus error, retry after 1000”
_allocateConferenceFocusError http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21588
allocateConferenceFocus http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21571
s http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:874
run http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:744
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:965
forEachChild http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:520
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:960
_onMessage http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:1590
lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype._allocateConferenceFocusError>: Focus error, retry after 1000

lib-jitsi-meet.min.js:10075:120
[modules/statistics/AnalyticsAdapter.js] : Not sending an event, disposed. lib-jitsi-meet.min.js:10075:120
[react/features/overlay/components/AbstractPageReloadOverlay.js] : The conference will be reloaded after 11 seconds. app.bundle.min.js:40043:116
[conference.js] : CONFERENCE FAILED: conference.focusDisconnected focus.clientserver 1 app.bundle.min.js:40043:116
ofmeet.js setup ofmeet.js:30:17
ofmeet.js __init ofmeet.js:66:17
[modules/xmpp/moderator.js] <i.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype.createConferenceIq>: Session ID: null machine UID: 959a201e0cf475da84da9668a750d578 lib-jitsi-meet.min.js:10075:120
[JitsiMeetJS.js] : UnhandledError: null Script: null Line: null Column: null StackTrace: Error: “Focus error, retry after 2000”
_allocateConferenceFocusError http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21588
allocateConferenceFocus http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21571
s http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:874
run http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:744
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:965
forEachChild http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:520
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:960
_onMessage http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:1590
lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype._allocateConferenceFocusError>: Focus error, retry after 2000

lib-jitsi-meet.min.js:10075:120
[conference.js] : CONFERENCE FAILED: conference.focusDisconnected focus.clientserver 2 app.bundle.min.js:40043:116
[modules/xmpp/moderator.js] <i.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype.createConferenceIq>: Session ID: null machine UID: 959a201e0cf475da84da9668a750d578 lib-jitsi-meet.min.js:10075:120
[JitsiMeetJS.js] : UnhandledError: null Script: null Line: null Column: null StackTrace: Error: “Focus error, retry after 4000”
_allocateConferenceFocusError http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21588
allocateConferenceFocus http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21571
s http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:874
run http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:744
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:965
forEachChild http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:520
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:960
_onMessage http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:1590
lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype._allocateConferenceFocusError>: Focus error, retry after 4000

lib-jitsi-meet.min.js:10075:120
[conference.js] : CONFERENCE FAILED: conference.focusDisconnected focus.clientserver 4 app.bundle.min.js:40043:116
[modules/xmpp/moderator.js] <i.prototype.setFocusUserJid>: Focus jid set to: undefined lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype.createConferenceIq>: Session ID: null machine UID: 959a201e0cf475da84da9668a750d578 lib-jitsi-meet.min.js:10075:120
[JitsiMeetJS.js] : UnhandledError: null Script: null Line: null Column: null StackTrace: Error: “Focus error, retry after 8000”
_allocateConferenceFocusError http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21588
allocateConferenceFocus http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:21571
s http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:874
run http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:744
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:965
forEachChild http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:520
_dataRecv http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:960
_onMessage http://clientserver:8080/devsample1/jitsimeet/libs/lib-jitsi-meet.min.js?v=2784:1590
lib-jitsi-meet.min.js:10075:120
[modules/xmpp/moderator.js] <i.prototype._allocateConferenceFocusError>: Focus error, retry after 8000

lib-jitsi-meet.min.js:10075:120
[conference.js] : CONFERENCE FAILED: conference.focusDisconnected focus.clientserver 8 app.bundle.min.js:40043:116
[react/features/overlay/actions.js] <t.a/<>: Reloading the conference using URL: http://clientserver:8080/devsample1/jitsimeet/index.html?room=anonymous-lmbzeihs1 app.bundle.min.js:40043:116
ofmeet.js beforeunload ofmeet.js:231:17
[modules/xmpp/xmpp.js] : (TIME) Strophe disconnecting: 15001 lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : (TIME) Strophe disconnected: 15003 lib-jitsi-meet.min.js:10075:120
Connection Failed! ofmeet.js:55:21
Connection Disconnected! ofmeet.js:60:21
ofmeet.js unload ofmeet.js:237:17
[modules/xmpp/ChatRoom.js] : do leave anonymous-lmbzeihs1@conference.clientserver/99dii6xn lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : (TIME) Strophe disconnecting: 15040 lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : (TIME) Strophe disconnected: 15040 lib-jitsi-meet.min.js:10075:120
[modules/xmpp/xmpp.js] : XMPP connection dropped!