How to add the secondary jvb to main jitsi-server

#41
  • HTTP headers propagate to the nginx is done through Route53 or through any third-party tool.
#42

1.In jitsi config.js file ,whether we can able to setup the maximum output volume by percentage?

  1. How to reduce background noise cancellation?
#43

No such setting, everything we have is what the browser does. We do not handle any encoding or decoding, just routing already encoded packets.

#44

I have no idea, I’m not very familiar with it, but I guess it is the Route53 …

#45

Can you able to tell me, who might know regarding this and how to contact him through jitsi forum?
Please help me to setup http propagation

#46

You can have a haproxy in every region and route53 will forward there depending on the client location and haproxy will add the specific region http header which then will land on your shard and nginx can read that header and set it in config.js using the serverside include.

#47

I have done haproxy for two region and for checking i have hit the domain, i am getting error–> webpage UI itself not loading–> error stats–> This site cant be reached.

Can you able to tell me, who might know regarding this and how to contact him through jitsi forum?
Please help me to setup http propagation

#48

Please guide us, how to setup http propagation

#49

Check this: http://nginx.org/en/docs/http/ngx_http_core_module.html#var_http_
And you can add in config.js in /etc/jitsi…

userRegion: '<!--# echo var="http_my_client_region" default="" -->'
#50
  • I am connecting to my jitsi server directly using the chatroom name https://testm.example.com/chat1 , but sometimes I am unable to hear audio. If I reload the page ,I can hear the audio. Please suggest me how to resolve this issue.

  • Do we need to hit the jitsi url first and from there should we create the chat room?

#51

@damencho. Great post. I have a stupid question: how can the region appears in the local thumbnail… I have all the information regarding the local and remote addresses and ports but nothing about the region.
excerpt of the config.js file
// Information about the jitsi-meet instance we are connecting to, including
// the user region as seen by the server.
deploymentInfo: {
shard: ‘shard-east’,
region: ‘us-east-1’,
userRegion: ‘us-east-1’
}
But I cannot see us-east-1 anywhere.
Thanks

#52

You need server region.

#53

ok. What is a server region?
Do you mean a JVB with server region with this in sip.communicator.properties files?:

the region that the jitsi-videbridge instance is in

org.jitsi.videobridge.REGION=us-east-1

Also my jicofo.log is showing this
Jicofo 2019-03-21 20:31:29.963 INFO: [37] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=ffa8d4 octo_enabled= true: [[null, us-east-1, us-east-1]]

#54
  • I am connecting to my jitsi server directly using the chatroom name https://testm.example.com/chat1 , but sometimes I am unable to hear audio. If I reload the page ,I can hear the audio. Please suggest me how to resolve this issue.
  • Do we need to hit the jitsi url first and from there should we create the chat room?
#55

Yes you are right, sorry. serverRegion is the variable in the web UI and the value is coming from xmpp from jicofo, there is someone without a region info - the null value. https://github.com/jitsi/jicofo/blob/8db1f4db53797e6ad8239538e17091904d01f0f4/src/main/java/org/jitsi/jicofo/JitsiMeetConferenceImpl.java#L926

#56

You are testing with chrome right? Not sure whether the problem is octo releated and how to debug it. But when you do not hear audio, open webrtc-internals and check what does the stats say, do you receive packets on the audio channel that was established?

No.

#57

yeah, i am testing in chrome.Its not happening everytime, but sometime this type of error occurs, due to cache?

#58

@damencho, Thanks for the response. So it was a conference with only 2 participants (in testmode to force the bridge usage not p2p) . so in
for (BridgeSession bridgeSession : bridges)
{
sb.append("[").append(bridgeSession.bridge.getRegion());
for (Participant p : bridgeSession.participants)
{
sb.append(", “).append(p.getChatMember().getRegion());
}
sb.append(”]");
null value seems to be bridgeSession.bridge.getRegion(). I am going to Check all sip.communicator.properties

#59

@damencho. Verified all JVB config: ll get region configured

Here is a excerpt of jicofo.log
Conference starting

Jicofo 2019-03-22 10:28:49.284 INFO: [67] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Lip-sync enabled in testnyc3@conference.<xmppdomain>

Jicofo 2019-03-22 10:28:49.290 INFO: [67] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Joining the room: testnyc3@conference.<xmppdomain>

Jicofo 2019-03-22 10:28:49.477 INFO: [40] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@238eaf9a member=ChatMember[testnyc3@conference.nyc.venturio.net/70408707, jid: null]@1569204705]

Jicofo 2019-03-22 10:28:49.481 INFO: [40] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Granted owner to testnyc3@conference.<xmppdomain>/70408707

Jicofo 2019-03-22 10:28:49.481 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testnyc3@conference.<xmppdomain>/70408707 joined.

Jicofo 2019-03-22 10:29:18.135 INFO: [43] org.jitsi.jicofo.xmpp.FocusComponent.handleConferenceIq().402 Focus request for room: testnyc3@conference.<xmppdomain>

Jicofo 2019-03-22 10:29:18.385 INFO: [40] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Chat room event ChatRoomMemberPresenceChangeEvent[type=MemberJoined sourceRoom=org.jitsi.impl.protocol.xmpp.ChatRoomImpl@238eaf9a member=ChatMember[testnyc3@conference.<xmppdomain>/4520b82f, jid: null]@132729601]

Jicofo 2019-03-22 10:29:18.386 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testnyc3@conference.<xmppdomain>/4520b82f joined.

Jicofo 2019-03-22 10:29:18.408 INFO: [40] org.jitsi.impl.protocol.xmpp.colibri.OperationSetColibriConferenceImpl.createNewConference().81 Conference created: org.jitsi.impl.protocol.xmpp.colibri.ColibriConferenceImpl@7826de13

Jicofo 2019-03-22 10:29:18.412 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Added participant jid= testnyc3@conference.<xmppdomain>/4520b82f, bridge=jitsi-videobridge.<xmppdomain>

Jicofo 2019-03-22 10:29:18.413 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=ff9e9a octo_enabled= true: [[null, us-east-1]]

Jicofo 2019-03-22 10:29:18.415 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Added participant jid= testnyc3@conference.<xmppdomain>/70408707, bridge=jitsi-videobridge.<xmppdomain>

Jicofo 2019-03-22 10:29:18.415 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=ff9e9a octo_enabled= true: [[null, us-east-1, us-east-1]]

Jicofo 2019-03-22 10:29:18.798 INFO: [83] org.jitsi.jicofo.AbstractChannelAllocator.log() Using jitsi-videobridge.<xmppdomain> to allocate channels for: Participant[endpointId=4520b82f]

And when conference is ending:

Jicofo 2019-03-22 10:33:48.049 INFO: [40] org.jitsi.jicofo.ChatRoomRoleAndPresence.log() Owner has left the room !

Jicofo 2019-03-22 10:33:48.049 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Member testnyc3@conference.<xmppdomain>/70408707 is leaving

Jicofo 2019-03-22 10:33:48.050 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Terminating: testnyc3@conference.<xmppdomain>/70408707

Jicofo 2019-03-22 10:33:48.050 INFO: [40] org.jitsi.protocol.xmpp.AbstractOperationSetJingle.terminateSession().618 Terminate session: testnyc3@conference.<xmppdomain>/70408707

Jicofo 2019-03-22 10:33:48.055 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Removing testnyc3@conference.<xmppdomain>/70408707 sources Sources{ video: [ssrc=3949970658 ssrc=2942392068 ssrc=441016233 ssrc=2336134732 ssrc=1930558844 ssrc=3459402765 ] audio: [ssrc=1208885921 ] }@1331868924

Jicofo 2019-03-22 10:33:48.055 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Region info, conference=ff9e9a octo_enabled= true: [[null]]

Jicofo 2019-03-22 10:33:48.056 INFO: [40] org.jitsi.jicofo.JitsiMeetConferenceImpl.log() Expiring channels for: testnyc3@conference.<xmppdomain>/70408707 on: Bridge[jid=jitsi-videobridge.<xmppdomain>, relayId=null, region=null]

Jicofo 2019-03-22 10:33:48.060 FINE: [40] org.jitsi.impl.protocol.xmpp.colibri.ColibriConferenceImpl.logRequest().548 Expire peer channels

So it seems that bridge definition does not include any region value
from sip.communicator.properties:

#the region that the jitsi-videbridge instance is in
org.jitsi.videobridge.REGION=us-east-1

#60

@damencho. An awful doubt: In order to have the region working, should I have load banlacing with PubSub configured?
Jicofo 2019-03-22 22:05:56.324 WARNING: [25] org.jitsi.jicofo.BridgeSelector.addJvbAddress().227 No pub-sub node mapped for jvb-sfo1.<xmpp.domain>