-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bad video quality and java issue #1829
Comments
What is the java version you use to run jvb? |
I tried with both of these which give me the same feedback and bad video quality.
|
Can you post the full exception? Are you using sctp data channels? |
Not sure what java was used to compile those, but you can try java 11 and see whether that changes anything. |
@damencho Thanks, but this issue did not come up with a new java version but with some Jitsi update. @bgrozev Does this help?
|
Yes, we have seen a similar problem with jigasi. Compiled with java 11 and running with java8. I'm just saying you can quickly fix it by running java11. Can you confirm what is the java version that was used to create the binary packages you use? |
@tiiiecherle The exception indeed explains the low quality. PR #1830 should fix it. You can also setup websockets instead of SCTP data channels, or run on jre9+ (I don't think we've tested 17 though). |
@damencho and @bgrozev Indeed using jre11-openjdk seems to fix the issue for now. Thanks also for implementing a fix so fast. I will stick with version 11 for now. It would be nice if one of the next versions would be working with the latest java again. Thanks again ;) I think for now this can be closed. |
One last question for this issue: |
What changes are necessary to switch to using websockets? Is there a documentation about it somewhere? Thanks |
See here for web sockets: https://github.com/jitsi/jitsi-videobridge/blob/master/doc/web-sockets.md |
I don't understand your question. You can use this flag to force G1, but the shell script sets the preferred version automaticall (https://github.com/jitsi/jitsi-videobridge/blob/master/jvb/resources/jvb.sh) |
1 2 Edit: added rephrased question below. |
It seems that So I rephrase the question and sorry for the confusion. What is the recommended way for testing another java version that is not the system default? |
That's incorrect (just confirming what you already found out).
It's best to change the system's default java. |
@bgrozev |
JVBs do not run anymore on JRE8. We get:
since upgrading to 2.1-665 and with 2.1-681. We thought that #1830 still allows using JRE8. Sure, JVBs work well with JRE11, however we are running some bridges on BigBlueButton servers (to share resources and save energy costs) which still support JRE8 only (BBB 2.4). |
We migrated all jitsi components to support java11+. Java8 is no longer an option in any of the components. |
The Debian package shouldn't install with JDK8 even. |
Hey,
first of all thanks a lot for this project. We use it as an installation on our own archlinux server with all packages up-to-date.
We use the "*-bin" packages from the AUR for Jitsi.
I'm sorry I don't know exactly when but I think this issue started two Jitsi releases ago.
We did not change any Jitsi or component settings and the quality of the videos got really bad and blurry. Additionally I started seeing this in the logs.
Mar 8 14:35:49 archlinux jvb.sh[]: Exception in thread "Global IO poolpool-8-thread-2" java.lang.NoSuchMethodError: java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
I don't know if the issues are related in any way. Please let me know what else you would need to track down the issue. Perhaps it is already known.
Thanks a lot in advance.
The text was updated successfully, but these errors were encountered: