Menu

1 / 2

WebRTC Calls, Key Agreement and ORM Checks at Build Time

DEV Community: java·Shai Almog·5 days ago
#rhTjDJln
#devtojava#devto#dev#webrtc#name
Reading 0:00
15s threshold

The last post this week covers what Parley , Savor and Wayline needed underneath: calls, encryption and a backend you can trust with real data. These are features you'd usually assemble from three vendors and a few weekends of glue code.

What is Codename One? Codename One is an open-source framework for building native iOS, Android, desktop, and web apps from a single Java or Kotlin codebase. Learn more at codenameone.com .

Voice and video calls with WebRTC

com.codename1.webrtc carries live audio and video directly between two devices, encrypted on the way, with a TURN relay when there's no direct path. On Android it's Google's WebRTC library, on iOS the Apple build of the same library, and in the browser it's the browser's own WebRTC. Referencing the package is what adds the native library to a build, so apps that don't make calls don't pay for it.

WebRtc . openUserMedia ( true , true , true ). ready ( media -> { PeerConnectionConfig config = new PeerConnectionConfig () . addIceServer ( IceServer .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.