Jvb setup on windows server

I install jitsimeet on ubuntu server. it is working fine then i stopeed jvb and I installed jvb on windows server (https://download.jitsi.org/jitsi-videobridge/) and I check the prosody log it say jitsi-videobridge.link-meet.meetrix.io:component info External component successfully authenticated.

This is the jvb log opn windows

JVB 2019-07-26 07:35:43.975 FINE: [149] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-497) with:
JVB 2019-07-26 07:35:43.975 FINE: [178] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId I55tR-245):
JVB 2019-07-26 07:35:43.975 FINE: [130] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-490) with:
JVB 2019-07-26 07:35:44.288 INFO: [15] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 15048ms. Sticky failure: false
JVB 2019-07-26 07:35:44.585 FINE: [202] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId hrNxK-506):
JVB 2019-07-26 07:35:44.585 FINE: [202] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId hrNxK-506).
JVB 2019-07-26 07:35:44.585 FINE: [202] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-506) with:
JVB 2019-07-26 07:35:44.585 FINE: [204] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId hrNxK-508):
JVB 2019-07-26 07:35:44.585 FINE: [204] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId hrNxK-508).
JVB 2019-07-26 07:35:44.585 FINE: [204] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-508) with:
JVB 2019-07-26 07:35:44.585 FINE: [227] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId hrNxK-510):
JVB 2019-07-26 07:35:44.585 FINE: [227] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId hrNxK-510).
JVB 2019-07-26 07:35:44.600 FINE: [227] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-510) with:
JVB 2019-07-26 07:35:48.132 INFO: [14] org.jitsi.videobridge.VideobridgeExpireThread.log() Running expire()
JVB 2019-07-26 07:35:53.975 FINE: [229] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId I55tR-256):
JVB 2019-07-26 07:35:54.304 INFO: [15] org.jitsi.videobridge.Videobridge.log() CAT=stat create_conf,conf_id=827bad664fa2c5c8 conf_name=null,logging=false,conf_count=1,ch_count=0,v_streams=0
JVB 2019-07-26 07:35:54.475 WARNING: [13] org.jitsi.videobridge.EndpointMessageTransport.log() SCTP connection with 7e542368c0640016 not ready yet.
JVB 2019-07-26 07:35:54.475 WARNING: [13] org.jitsi.videobridge.EndpointMessageTransport.log() No available transport channel, can’t send a message
JVB 2019-07-26 07:35:54.475 WARNING: [13] org.jitsi.videobridge.EndpointMessageTransport.log() SCTP connection with a9836bb651cda708 not ready yet.
JVB 2019-07-26 07:35:54.475 WARNING: [13] org.jitsi.videobridge.EndpointMessageTransport.log() No available transport channel, can’t send a message
JVB 2019-07-26 07:35:54.585 FINE: [231] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Processing IQ (packetId hrNxK-514):
JVB 2019-07-26 07:35:54.585 FINE: [231] org.jitsi.videobridge.xmpp.ComponentImpl.processIQRequest() (serving component ‘JitsiVideobridge’) Processing IQ request (packetId hrNxK-514).
JVB 2019-07-26 07:35:54.585 FINE: [231] org.jitsi.videobridge.xmpp.ComponentImpl.processIQ() (serving component ‘JitsiVideobridge’) Responding to IQ (packetId hrNxK-514) with:
JVB 2019-07-26 07:35:54.616 INFO: [15] org.jitsi.videobridge.health.Health.log() Performed a successful health check in 312ms. Sticky failure: false

Problem is when connect third person video is not working

Have you configured, public/private address and port forwarding to that machine?

tcp and udp port enbale on firewall
@damencho Thank

Hum, there is internal windows firewall or application firewall that can be blocking … check those. The problem is network if you had added the private and public address in jvb.

@damencho Thank You. It is Working now

how u setup this code… i am facing timeout issue…

java.net.SocketTimeoutException: Connect timed out, host:localhost, port:5275
org.xmpp.component.ComponentException: java.net.SocketTimeoutException: Connect timed out

Do you have prosody running on localhost port 5275?

yes it is running on port 5222 by default. Can you please help me full setup for windows.?

Then probably you are using wrong port, by default component port is 5347

I downloaded java jdk, maven and did all setup. and after that running

mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.Main --domain --host --port --secret=“password” -Djava.library.path=D:/New folder/VCC/jitsi-videobridge-master/lib/native/linux-64 -Djava.util.logging.config.file=D:/New folder/VCC/jitsi-videobridge-master/lib/logging.properties -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-videobridge"

this command but not getting any succes.
and for procody i download prosody docker imgae from
https://hub.docker.com/r/prosody/prosody/
this link and run it on docker. but still no success.

Am I missing anything? Please help for windows setup of videobridge.

Pass --apis=“rest” next to host and port params.

1 Like

@userJVB This how i run jvb in windows

jvb installations on windows

  1. Downlaod jvb from here and unzip
  2. run this command(run as adminstation) on jvb unzip filder
    C:\Users\Administrator\Downloads\jitsi-videobridge-windows-x64-1123\jitsi-videobridge-windows-x64-1123\jvb.bat --secret=QKFPN0Hl --domain=link-meet.yourdomain.com --host=13.234.208.148 --port=5347
  3. you should open firewall for tcp port 443,4443 udp 10000-20000
  4. Passing JAVA properties : JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties"
1 Like

Now i run
mvn compile exec:exec -Dexec.executable=java -Dexec.args="-cp %classpath org.jitsi.videobridge.Main --domain --host --port --apis=“rest” --secret=“password” -Djava.library.path=D:/New folder/VCC/jitsi-videobridge-master/lib/native/linux-64 -Djava.util.logging.config.file=D:/New folder/VCC/jitsi-videobridge-master/lib/logging.properties -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-videobridge"
this command but still getting error. u can see it in image…

yes i did the same also… but where should i do these settings…

JAVA_SYS_PROPS="-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=/etc/jitsi -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=videobridge -Dnet.java.sip.communicator.SC_LOG_DIR_LOCATION=/var/log/jitsi -Djava.util.logging.config.file=/etc/jitsi/videobridge/logging.properties"

as you told.

May 25, 2020 7:20:09 PM org.jitsi.utils.logging.LoggerImpl log
SEVERE: Failed to initialize and/or start a new Jetty HTTP(S) server instance.
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:394)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.jitsi.rest.AbstractJettyBundleActivator.doStart(AbstractJettyBundleActivator.java:215)
at org.jitsi.rest.AbstractJettyBundleActivator.start(AbstractJettyBundleActivator.java:607)
at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:479)
at java.base/sun.nio.ch.Net.bind(Net.java:468)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
… 14 more

May 25, 2020 7:20:09 PM org.jitsi.impl.osgi.framework.BundleImpl start
SEVERE: Error starting bundle: org.jitsi.videobridge.rest.RESTBundleActivator@791ef4c2
java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:394)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.jitsi.rest.AbstractJettyBundleActivator.doStart(AbstractJettyBundleActivator.java:215)
at org.jitsi.rest.AbstractJettyBundleActivator.start(AbstractJettyBundleActivator.java:607)
at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:479)
at java.base/sun.nio.ch.Net.bind(Net.java:468)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
… 14 more

May 25, 2020 7:20:09 PM org.jitsi.impl.osgi.framework.launch.FrameworkImpl startLevelChanged
SEVERE: Error changing start level
org.osgi.framework.BundleException: BundleActivator.start
at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:327)
at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:472)
at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:137)
at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:122)
at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:28)
at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:231)
Caused by: java.io.IOException: Failed to bind to 0.0.0.0/0.0.0.0:8080
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:346)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:308)
at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.server.Server.doStart(Server.java:394)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.jitsi.rest.AbstractJettyBundleActivator.doStart(AbstractJettyBundleActivator.java:215)
at org.jitsi.rest.AbstractJettyBundleActivator.start(AbstractJettyBundleActivator.java:607)
at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:307)
… 5 more
Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method)
at java.base/sun.nio.ch.Net.bind(Net.java:479)
at java.base/sun.nio.ch.Net.bind(Net.java:468)
at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:220)
at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88)
at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:342)
… 14 more

This error comes after this command execute

May 25, 2020 7:20:24 PM org.jitsi.utils.logging.LoggerImpl log
SEVERE: The invocation of the method org.jitsi.videobridge.health.Health.run() threw an exception.
java.lang.UnsatisfiedLinkError: ‘boolean org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(int)’
at org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(Native Method)
at org.jitsi_modified.sctp4j.Sctp4j.init(Sctp4j.java:40)
at org.jitsi.videobridge.sctp.SctpManager.(SctpManager.java:54)
at org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:866)
at org.jitsi.videobridge.health.Health.check(Health.java:69)
at org.jitsi.videobridge.health.Health.performCheck(Health.java:203)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

May 25, 2020 7:20:30 PM org.jitsi.utils.logging2.LoggerImpl log
SEVERE: Health check failed in PT0S:
java.lang.Exception: Failed to bind single-port
at org.jitsi.videobridge.health.Health.performCheck(Health.java:192)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

FYI the OP was using javavideobridge. By ‘Jvb’ you are meaning Javavideobridge2
That’s not the same beast. Jvb2 use a native library for sctp connections.
unzip jniwrapper-native-1.0-SNAPSHOT.jar
Archive: jniwrapper-native-1.0-SNAPSHOT.jar
creating: META-INF/
inflating: META-INF/MANIFEST.MF
creating: META-INF/maven/
creating: META-INF/maven/org.jitsi/
creating: META-INF/maven/org.jitsi/jniwrapper-native/
inflating: META-INF/maven/org.jitsi/jniwrapper-native/pom.properties
inflating: META-INF/maven/org.jitsi/jniwrapper-native/pom.xml
inflating: README.md
creating: lib/
creating: lib/darwin/
inflating: lib/darwin/libjnisctp.jnilib
creating: lib/linux/
inflating: lib/linux/libjnisctp.so

Note: no lib/windows ! So if you want to run jvb2 on windows you have to compile yourself libjnisctp.dll and include it somehow in the jniwrapper-native-1.0-SNAPSHOT.jar

please help me i am facing this issue and os issue also there

May 27, 2020 5:54:42 PM org.ice4j.ice.harvest.SinglePortUdpHarvester
INFO: Initialized SinglePortUdpHarvester with address 192.168.194.81:10000/udp
Error loading native library: java.lang.Exception: Unsupported OS: Windows 10
May 27, 2020 5:54:45 PM org.jitsi.utils.logging.LoggerImpl log
SEVERE: The invocation of the method org.jitsi.videobridge.health.Health.run() threw an exception.
java.lang.UnsatisfiedLinkError: ‘boolean org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(int)’
at org.jitsi_modified.sctp4j.SctpJni.usrsctp_init(Native Method)
at org.jitsi_modified.sctp4j.Sctp4j.init(Sctp4j.java:40)
at org.jitsi.videobridge.sctp.SctpManager.(SctpManager.java:54)
at org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:866)
at org.jitsi.videobridge.health.Health.check(Health.java:69)
at org.jitsi.videobridge.health.Health.performCheck(Health.java:203)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

May 27, 2020 5:54:50 PM org.jitsi.utils.logging2.LoggerImpl log
INFO: create_conf, id=42191a7c24fb3fe8 gid=null logging=false
May 27, 2020 5:54:50 PM org.jitsi.utils.logging.LoggerImpl log
SEVERE: The invocation of the method org.jitsi.videobridge.health.Health.run() threw an exception.
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.videobridge.sctp.SctpManager
at org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:866)
at org.jitsi.videobridge.health.Health.check(Health.java:69)
at org.jitsi.videobridge.health.Health.performCheck(Health.java:203)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

May 27, 2020 5:55:00 PM org.jitsi.utils.logging2.LoggerImpl log
INFO: create_conf, id=9430d8775a7e1511 gid=null logging=false
May 27, 2020 5:55:00 PM org.jitsi.utils.logging.LoggerImpl log
SEVERE: The invocation of the method org.jitsi.videobridge.health.Health.run() threw an exception.
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.videobridge.sctp.SctpManager
at org.jitsi.videobridge.Endpoint.createSctpConnection(Endpoint.java:866)
at org.jitsi.videobridge.health.Health.check(Health.java:69)
at org.jitsi.videobridge.health.Health.performCheck(Health.java:203)
at org.jitsi.health.AbstractHealthCheckService.run(AbstractHealthCheckService.kt:144)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.run(RecurringRunnableExecutor.java:216)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.runInThread(RecurringRunnableExecutor.java:292)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor.access$000(RecurringRunnableExecutor.java:36)
at org.jitsi.utils.concurrent.RecurringRunnableExecutor$1.run(RecurringRunnableExecutor.java:328)

I have already given you my answer, I have no better one to give you, sorry.