Is there a peer client for Java to use for WebRTC? I'm currently using Kurento to stream video/audio between to browser clients. In addition, I want to attach another peer client to receive the video stream in my Java service. Is this possible? I couldn't find any WebRTC peers that uses Java.
Asked
Active
Viewed 8,766 times
6
-
https://jitsi.org ? – 9dan Jan 09 '19 at 01:47
-
https://doc-kurento.readthedocs.io/en/6.9.0/tutorials/java/tutorial-magicmirror.html , Have you tried this ? – Muljayan Jan 09 '19 at 01:48
-
Try this working very well in my project: https://developer.enablex.io/api/client-api/ – Daljeet Jan 09 '19 at 10:16
-
1Kurento Doc uses a Kurento Client SDK which isn't a WebRTC peer client. That library simply calls KMS APIs. – Hello Ward Jan 09 '19 at 18:27
-
@9dan does jitsilib support webrtc? couldn't find any conclusive information... – Wojtek Aug 19 '19 at 16:19
1 Answers
4
- WebRTC Java/Android or
- Gradle
implementation 'org.webrtc:google-webrtc:1.0.+'
or - Bintray or
- Codename One webRTC for Android, iOS, JavaScript and Desktop
There is the version for Android, but you can use it anywhere. You can also download the source code & compile it from the first link (I don't imagine is the case).
The version for Codename One works everywhere but depends on the app being a Codename One app.

Shai Almog
- 51,749
- 5
- 35
- 65

Tudor
- 1,510
- 1
- 18
- 17
-
"There is only this version for Android, but you can use it anywhere." - are you sure? I'd imaging it would have require platform support - have you tried to use it on the desktop with, let's say Swing or JavaFX? – Wojtek Aug 17 '19 at 16:45
-
@Wojtek you might be right. I only tested on Android so for Swing/JavaFX it might not work. – Tudor Aug 18 '19 at 19:43
-
1Edited and added the new webRTC implementation from Codename One to the answer – Shai Almog Mar 02 '21 at 16:34
-
1