Skip to content

Commit

Permalink
first commit - proof of concept
Browse files Browse the repository at this point in the history
  • Loading branch information
deleolajide committed Mar 16, 2024
1 parent 2ca62d8 commit 7aea57c
Show file tree
Hide file tree
Showing 31 changed files with 5,262 additions and 11 deletions.
7 changes: 7 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
call mvn clean package

cd target
rename ofmeet-openfire-plugin-assembly.jar ofmeet.jar
rd "D:\Openfire\openfire_4_8_1\plugins\ofmeet" /q /s
del "D:\Openfire\openfire_4_8_1\plugins\ofmeet.jar"
del /q "D:\Openfire\openfire_4_8_1\logs\*.*"
copy ofmeet.jar D:\Openfire\openfire_4_8_1\plugins\ofmeet.jar

pause
31 changes: 31 additions & 0 deletions classes/jicofo/application.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
jicofo {
sctp {
# Whether SCTP data channels are enabled
enabled = false
}
octo {
enabled = true
id = "jvb-1234"
}
bridge {
selection-strategy = RegionBasedBridgeSelectionStrategy
}
rest {
port = 8886
}
xmpp {
client {
enabled = true
username = focus
password = "Wqm3pSqWaPwDOBb9rgfVUD1shzqQaVOKj0RiSrCt"
port = 5222
hostname = localhost
domain = localhost
xmpp-domain = localhost
conference-muc-jid = conference.localhost
disable-certificate-verification = true
client-proxy = focus.localhost
use-tls = false
}
}
}
11 changes: 11 additions & 0 deletions classes/jicofo/config/sip-communicator.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#Jitsi Colibri Focus
#Fri Mar 15 16:03:34 GMT 2024
org.jitsi.jicofo.ALWAYS_TRUST_MODE_ENABLED=true
org.jitsi.jicofo.BRIDGE_MUC=[email protected]
org.jitsi.jicofo.DISABLE_AUTO_OWNER=false
org.jitsi.jicofo.ENABLE_H264=false
org.jitsi.jicofo.ENABLE_VP8=false
org.jitsi.jicofo.ENABLE_VP9=true
org.jitsi.jicofo.FOCUS_USER_DOMAIN=localhost
org.jitsi.jicofo.PING_INTERVAL=-1
org.jitsi.jicofo.SERVICE_REDISCOVERY_INTERVAL=60000
Binary file not shown.
Binary file added classes/jicofo/jicofo-1.1-SNAPSHOT.jar
Binary file not shown.
55 changes: 55 additions & 0 deletions classes/jicofo/logging.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

handlers= java.util.logging.ConsoleHandler

# Handlers with XMPP debug enabled:
#handlers= java.util.logging.ConsoleHandler, org.jitsi.impl.protocol.xmpp.log.XmppPacketsFileHandler

# Handlers with syslog enabled:
#handlers= java.util.logging.ConsoleHandler, com.agafua.syslog.SyslogHandler
#handlers= java.util.logging.ConsoleHandler, io.sentry.jul.SentryHandler

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = org.jitsi.utils.logging2.JitsiLogFormatter
java.util.logging.ConsoleHandler.filter = org.jitsi.impl.protocol.xmpp.log.ExcludeXmppPackets

# org.jitsi.utils.logging2.JitsiLogFormatter.programname=Jicofo
org.jitsi.utils.logging2.JitsiLogFormatter.programname=

.level=INFO
net.sf.level=SEVERE
net.java.sip.communicator.plugin.reconnectplugin.level=FINE
org.ice4j.level=SEVERE
org.jitsi.impl.neomedia.level=SEVERE

# Do not worry about missing strings
net.java.sip.communicator.service.resources.AbstractResourcesService.level=SEVERE

#net.java.sip.communicator.service.protocol.level=ALL

# To enable XMPP packets logging add XmppPacketsFileHandler to the handlers property
org.jitsi.impl.protocol.xmpp.log.PacketDebugger.level=ALL
org.jitsi.impl.protocol.xmpp.log.XmppPacketsFileHandler.pattern=/var/log/jitsi/jicofo-xmpp.log
org.jitsi.impl.protocol.xmpp.log.XmppPacketsFileHandler.append=true
org.jitsi.impl.protocol.xmpp.log.XmppPacketsFileHandler.limit=200000000
org.jitsi.impl.protocol.xmpp.log.XmppPacketsFileHandler.count=3

# Syslog (uncomment handler to use)
com.agafua.syslog.SyslogHandler.transport = udp
com.agafua.syslog.SyslogHandler.facility = local0
com.agafua.syslog.SyslogHandler.port = 514
com.agafua.syslog.SyslogHandler.hostname = localhost
com.agafua.syslog.SyslogHandler.formatter = org.jitsi.utils.logging2.JitsiLogFormatter
com.agafua.syslog.SyslogHandler.escapeNewlines = false
com.agafua.syslog.SyslogHandler.filter = org.jitsi.impl.protocol.xmpp.log.ExcludeXmppPackets

# Sentry (uncomment handler to use)
io.sentry.jul.SentryHandler.level=WARNING

# to disable double timestamps in syslog uncomment next line
#org.jitsi.utils.logging2.JitsiLogFormatter.disableTimestamp=true
# OFMeet: avoid double-timestamping
org.jitsi.utils.logging2.JitsiLogFormatter.disableTimestamp=true


# uncomment to see how Jicofo talks to the JVB
#org.jitsi.impl.protocol.xmpp.colibri.level=ALL
10 changes: 10 additions & 0 deletions classes/jvb/config/sip-communicator.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#Jisti Video Bridge
#Sat Mar 16 20:47:38 GMT 2024
org.ice4j.ice.harvest.USE_DYNAMIC_HOST_HARVESTER=false
org.jitsi.videobridge.DISABLE_TCP_HARVESTER=true
org.jitsi.videobridge.REGION=region1
org.jitsi.videobridge.TCP_HARVESTER_SSLTCP=false
org.jitsi.videobridge.TRUST_BWE=false
org.jitsi.videobridge.octo.BIND_ADDRESS=127.0.0.1
org.jitsi.videobridge.octo.BIND_PORT=4096
org.jitsi.videobridge.octo.PUBLIC_ADDRESS=127.0.0.1
Binary file not shown.
Binary file added classes/jvb/jitsi-videobridge-2.3-SNAPSHOT.jar
Binary file not shown.
Loading

0 comments on commit 7aea57c

Please sign in to comment.