Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
a1671c3f
Commit
a1671c3f
authored
Dec 03, 2014
by
deleolajide
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
work-in-progress
parent
99b88228
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
94 additions
and
0 deletions
+94
-0
credentialsstorage.jar
src/plugins/ofmeet/lib/credentialsstorage.jar
+0
-0
dns.jar
src/plugins/ofmeet/lib/dns.jar
+0
-0
jicofo.jar
src/plugins/ofmeet/lib/jicofo.jar
+0
-0
reconnectplugin.jar
src/plugins/ofmeet/lib/reconnectplugin.jar
+0
-0
sysactivitynotifications.jar
src/plugins/ofmeet/lib/sysactivitynotifications.jar
+0
-0
JicofoPlugin.java
...meet/src/java/org/jitsi/jicofo/openfire/JicofoPlugin.java
+94
-0
No files found.
src/plugins/ofmeet/lib/credentialsstorage.jar
0 → 100644
View file @
a1671c3f
File added
src/plugins/ofmeet/lib/dns.jar
0 → 100644
View file @
a1671c3f
File added
src/plugins/ofmeet/lib/jicofo.jar
0 → 100644
View file @
a1671c3f
File added
src/plugins/ofmeet/lib/reconnectplugin.jar
0 → 100644
View file @
a1671c3f
File added
src/plugins/ofmeet/lib/sysactivitynotifications.jar
0 → 100644
View file @
a1671c3f
File added
src/plugins/ofmeet/src/java/org/jitsi/jicofo/openfire/JicofoPlugin.java
0 → 100644
View file @
a1671c3f
/*
* Jitsi Videobridge, OpenSource video conferencing.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package
org
.
jitsi
.
jigasi
.
openfire
;
import
java.io.File
;
import
org.jivesoftware.util.*
;
import
org.jivesoftware.openfire.container.Plugin
;
import
org.jivesoftware.openfire.container.PluginManager
;
import
org.slf4j.*
;
import
org.slf4j.Logger
;
import
org.xmpp.component.*
;
import
org.xmpp.packet.*
;
/**
* SIP gateway for Jitsi Videobridge conferences.
*/
public
class
JigasiPlugin
{
/**
* The Log.
*/
private
static
final
Logger
Log
=
LoggerFactory
.
getLogger
(
JigasiPlugin
.
class
);
private
CallControlComponent
component
;
private
ComponentManager
componentManager
;
private
String
subdomain
;
private
File
pluginDirectory
;
public
void
initializePlugin
(
PluginManager
manager
,
File
pluginDirectory
)
{
Log
.
info
(
"JigasiPlugin - initializePlugin"
);
this
.
pluginDirectory
=
pluginDirectory
;
ComponentManager
componentManager
=
ComponentManagerFactory
.
getComponentManager
();
String
subdomain
=
"ofmeet-call-control"
;
CallControlComponent
component
=
new
CallControlComponent
(
pluginDirectory
);
boolean
added
=
false
;
try
{
componentManager
.
addComponent
(
subdomain
,
component
);
added
=
true
;
}
catch
(
ComponentException
ce
)
{
ce
.
printStackTrace
(
System
.
err
);
}
if
(
added
)
{
this
.
componentManager
=
componentManager
;
this
.
subdomain
=
subdomain
;
this
.
component
=
component
;
}
else
{
this
.
componentManager
=
null
;
this
.
subdomain
=
null
;
this
.
component
=
null
;
}
}
public
void
destroyPlugin
()
{
Log
.
info
(
"JigasiPlugin - destroyPlugin"
);
if
((
componentManager
!=
null
)
&&
(
subdomain
!=
null
))
{
try
{
component
.
stop
();
componentManager
.
removeComponent
(
subdomain
);
}
catch
(
ComponentException
ce
)
{
// TODO Auto-generated method stub
}
componentManager
=
null
;
subdomain
=
null
;
component
=
null
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment