# WebRTC Calls, Key Agreement and ORM Checks at Build Time

DevFeed: [WebRTC Calls, Key Agreement and ORM Checks at Build Time](<https://devfeed.tech/articles/webrtc-calls-key-agreement-and-orm-checks-at-build-time-105770.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/private-calls-and-safer-backends/>)

Author: Shai Almog

Published: 2026-10-29T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [WebRTC](<https://devfeed.tech/topics/webrtc.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Hibernate](<https://devfeed.tech/topics/hibernate.md>), [certificates](<https://devfeed.tech/topics/certificates.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [aes](<https://devfeed.tech/tags/aes.md>), [android](<https://devfeed.tech/tags/android.md>), [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [apple](<https://devfeed.tech/tags/apple.md>), [application](<https://devfeed.tech/tags/application.md>), [apps](<https://devfeed.tech/tags/apps.md>), [archive](<https://devfeed.tech/tags/archive.md>), [assemble](<https://devfeed.tech/tags/assemble.md>), [backend](<https://devfeed.tech/tags/backend.md>), [build](<https://devfeed.tech/tags/build.md>), [fail](<https://devfeed.tech/tags/fail.md>), [key](<https://devfeed.tech/tags/key.md>), [mistakes](<https://devfeed.tech/tags/mistakes.md>), [orm](<https://devfeed.tech/tags/orm.md>), [video](<https://devfeed.tech/tags/video.md>), [voice](<https://devfeed.tech/tags/voice.md>), [webrtc](<https://devfeed.tech/tags/webrtc.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

Codename One adds WebRTC calling, portable key derivation, backend mutual TLS, and compile-time ORM checks. Its WebRTC package uses the platform's WebRTC library and sends media directly between devices, with TURN relaying when needed; apps provide their own signaling transport, and media does not pass through Parley's server. ECDH uses native platform crypto, while portable Java HKDF derives purpose-specific keys consistently across devices and the backend. Backend WebClient supports client certificates, HTTP/2, timeouts, and connection pooling; it always verifies server certificates and host names and keeps connections separate between clients. The ORM checks entity mappings and repository methods at compile time, and offers schema reports that compare mappings with existing tables without modifying them.

## Source excerpt

WebRTC voice and video calls, key agreement and HKDF everywhere, a backend WebClient with mutual TLS, and ORM mistakes that fail the build.