<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Conexa Remote</title>
    <description>The latest articles on DEV Community by Conexa Remote (@conexaremote).</description>
    <link>https://dev.to/conexaremote</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4143155%2F8878424d-03e5-4aec-b243-7ae7b5843e9e.png</url>
      <title>DEV Community: Conexa Remote</title>
      <link>https://dev.to/conexaremote</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/conexaremote"/>
    <language>en</language>
    <item>
      <title>One-Click Remote Support from RMM &amp; Helpdesk Tickets (conexa://connect) and the Math of Concurrent Session Licensing</title>
      <dc:creator>Conexa Remote</dc:creator>
      <pubDate>Sat, 28 Nov 2026 14:23:58 +0000</pubDate>
      <link>https://dev.to/conexaremote/one-click-remote-support-from-rmm-helpdesk-tickets-conexaconnect-and-the-math-of-concurrent-125k</link>
      <guid>https://dev.to/conexaremote/one-click-remote-support-from-rmm-helpdesk-tickets-conexaconnect-and-the-math-of-concurrent-125k</guid>
      <description>&lt;p&gt;For Managed Service Providers (MSPs), IT helpdesks, and ERP/POS software vendors (ISVs), two bottlenecks consistently impact support efficiency and unit economics:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ticket-to-Screen Friction:&lt;/strong&gt; Technicians lose 2 to 4 minutes per incident switching between their RMM/PSA ticket (&lt;strong&gt;Atera, ConnectWise, Freshdesk, Zoho Desk, Jira Service Management, Salesforce&lt;/strong&gt;) and their remote desktop tool, asking the user to create an account or navigate complex onboarding wizards.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Per-Seat &amp;amp; Per-Endpoint Licensing Overhead:&lt;/strong&gt; Traditional remote access pricing often forces a choice between paying per named technician seat (punishing shift-based helpdesks and L2/L3 escalation engineers) or paying per managed endpoint (punishing fleets of POS terminals, servers, and workstations that only need human intervention a few times a year).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In this engineering and workflow breakdown, we show how &lt;strong&gt;&lt;a href="https://conexaremote.com" rel="noopener noreferrer"&gt;Conexa Remote&lt;/a&gt;&lt;/strong&gt; solves both problems using a custom OS URI protocol handler (&lt;code&gt;conexa://connect/&amp;lt;PIN&amp;gt;&lt;/code&gt;), direct WebRTC Peer-to-Peer streaming, and a &lt;strong&gt;floating concurrent session pool&lt;/strong&gt; (&lt;strong&gt;19 € / month for 2 simultaneous sessions&lt;/strong&gt;, +5 € / month per extra session, with unlimited technician accounts and unlimited devices).&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Custom URI Protocol Deep-Linking (&lt;code&gt;conexa://connect/&amp;lt;PIN&amp;gt;&lt;/code&gt;)
&lt;/h2&gt;

&lt;p&gt;When a customer runs the digitally signed Conexa Remote executable (~3.8 MB core, signed with &lt;strong&gt;Microsoft Azure Trusted Signing&lt;/strong&gt; on Windows and &lt;strong&gt;Apple Developer ID Notarized&lt;/strong&gt; on macOS), the application generates a permanent &lt;strong&gt;9-digit device address&lt;/strong&gt; (e.g., &lt;code&gt;482 913 706&lt;/code&gt;) with zero account registration required on the client side.&lt;/p&gt;

&lt;p&gt;By storing that 9-digit device ID as a custom asset field inside your RMM, PSA, or helpdesk ticket, your technicians can launch a live encrypted WebRTC P2P session in a single click directly from the browser ticket view:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="c"&gt;&amp;lt;!-- Direct OS URI Handler inside an RMM / Helpdesk Custom Ticket Field --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"conexa://connect/482913706"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Connect via Conexa Remote (482 913 706)
&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;

&lt;span class="c"&gt;&amp;lt;!-- Or via the Browser Deep-Link Launcher --&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"https://conexaremote.com/connect.html?pin=482913706"&lt;/span&gt; &lt;span class="na"&gt;target&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"_blank"&lt;/span&gt; &lt;span class="na"&gt;rel&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"noopener"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  Launch Remote Session
&lt;span class="nt"&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  How the Handshake Works Under the Hood:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Clicking the link invokes the native &lt;code&gt;conexa://&lt;/code&gt; URI registered in Windows Registry (&lt;code&gt;HKEY_CLASSES_ROOT\conexa&lt;/code&gt;) or macOS &lt;code&gt;Info.plist&lt;/code&gt; (&lt;code&gt;CFBundleURLTypes&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;The technician client wakes immediately, authenticates the company's floating session slot via our EU signaling node (Romania, European Union), and initiates ICE/STUN candidate gathering in under 350ms.&lt;/li&gt;
&lt;li&gt;For &lt;strong&gt;attended support&lt;/strong&gt;, the customer sees an explicit consent prompt naming the connecting technician and clicks &lt;strong&gt;Accept&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;For &lt;strong&gt;unattended servers or POS terminals&lt;/strong&gt;, the technician authenticates via the machine's local unattended password and connects directly.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Full integration templates for &lt;strong&gt;Atera, ConnectWise, Freshdesk, Zoho Desk, Jira, and custom ERP/POS applications&lt;/strong&gt; (in C#/.NET, Node.js/Electron, and Python) are documented at &lt;strong&gt;&lt;a href="https://conexaremote.com/use-cases/rmm-helpdesk-workflow.html" rel="noopener noreferrer"&gt;conexaremote.com/use-cases/rmm-helpdesk-workflow.html&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://conexaremote.com/partners-isv.html" rel="noopener noreferrer"&gt;conexaremote.com/partners-isv.html&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. The Unit Economics of Floating Concurrent Sessions (Erlang-C in Helpdesks)
&lt;/h2&gt;

&lt;p&gt;In any IT support desk or software vendor team, &lt;strong&gt;total technician headcount&lt;/strong&gt; and &lt;strong&gt;simultaneous active screen-sharing sessions&lt;/strong&gt; are two completely different numbers.&lt;/p&gt;

&lt;p&gt;Consider a 15-person MSP or ISV support team managing 800 customer endpoints:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Only a fraction of tickets require a live remote screen session at the exact same second; the rest involve ticket triage, documentation, phone calls, or backend checks.&lt;/li&gt;
&lt;li&gt;Even during peak hours, a 15-engineer team rarely exceeds &lt;strong&gt;3 to 4 simultaneous live remote sessions&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Yet under per-seat licensing, if you want all 15 engineers to have their own individual accounts (which is mandatory for &lt;strong&gt;EU GDPR and NIS2 audit trail compliance&lt;/strong&gt; — no shared passwords!), you are forced to buy 15 named licenses.&lt;/p&gt;

&lt;h3&gt;
  
  
  How Conexa Remote's Floating Pool Works:
&lt;/h3&gt;

&lt;p&gt;With Conexa Remote, &lt;strong&gt;accounts and endpoints are decoupled from billing&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Unlimited Technician Accounts:&lt;/strong&gt; Create 10, 25, or 100 individual technician accounts so every L1, L2, and L3 engineer has a personal login and an individual entry in the compliance audit log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unlimited Customer Endpoints:&lt;/strong&gt; Register 100 or 10,000 customer machines and unattended servers at 0 € per device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pay Strictly for Simultaneous Active Sessions:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Personal Plan:&lt;/strong&gt; &lt;strong&gt;0 € / month&lt;/strong&gt; (1 concurrent session, permanently free, no credit card, no commercial-use nagging).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Professional Plan:&lt;/strong&gt; &lt;strong&gt;19 € / month&lt;/strong&gt; (&lt;code&gt;194 € / year&lt;/code&gt; with 15% annual discount) — includes a floating pool of &lt;strong&gt;2 concurrent sessions&lt;/strong&gt; across your entire team.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linear Scaling:&lt;/strong&gt; Add extra simultaneous capacity for &lt;strong&gt;+5 € / month&lt;/strong&gt; (&lt;code&gt;51 € / year&lt;/code&gt;) per concurrent session:&lt;/li&gt;
&lt;li&gt;2 concurrent sessions (unlimited techs &amp;amp; devices) = &lt;strong&gt;19 € / month&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;3 concurrent sessions (unlimited techs &amp;amp; devices) = &lt;strong&gt;24 € / month&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;4 concurrent sessions (unlimited techs &amp;amp; devices) = &lt;strong&gt;29 € / month&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;5 concurrent sessions (unlimited techs &amp;amp; devices) = &lt;strong&gt;34 € / month&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As soon as Engineer A closes a session window, the slot is returned to the company pool in &lt;code&gt;0ms&lt;/code&gt; and is immediately available for Engineer B. You can model your team's concurrency ratio live at &lt;strong&gt;&lt;a href="https://conexaremote.com/calculator.html" rel="noopener noreferrer"&gt;conexaremote.com/calculator.html&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Built for European GDPR &amp;amp; NIS2 Compliance
&lt;/h2&gt;

&lt;p&gt;For European MSPs, healthcare IT providers, financial institutions, and critical infrastructure operators subject to &lt;strong&gt;GDPR&lt;/strong&gt; and the &lt;strong&gt;NIS2 Directive&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;100% EU Jurisdiction &amp;amp; Hosting:&lt;/strong&gt; Developed and operated in the European Union (Romania) by POINT OF BUSINESS SOFTWARE S.R.L. (EU VAT &lt;code&gt;RO36849440&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Direct WebRTC P2P DTLS-SRTP Encryption:&lt;/strong&gt; Screen video, keyboard/mouse input, and cross-PC file copy-paste (&lt;code&gt;Ctrl+C&lt;/code&gt; / &lt;code&gt;Ctrl+V&lt;/code&gt; + dual-pane &lt;code&gt;F5&lt;/code&gt;–&lt;code&gt;F8&lt;/code&gt; file commander) flow directly peer-to-peer with AES-256-GCM encryption. No screen frames or files are ever stored on our servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Windows UAC Elevation &amp;amp; Private Screen (Display Blanking):&lt;/strong&gt; Approve Windows Administrator UAC prompts remotely and black out the remote physical monitor during sensitive maintenance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;On-Premise / Self-Hosted Option:&lt;/strong&gt; Organizations requiring 100% internal network isolation can deploy our signaling and TURN relay servers on-premise (&lt;a href="https://conexaremote.com/use-cases/eu-gdpr-nis2-compliance.html" rel="noopener noreferrer"&gt;conexaremote.com/use-cases/eu-gdpr-nis2-compliance.html&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Test It in Your Workflow
&lt;/h2&gt;

&lt;p&gt;You can download the signed Windows and macOS clients directly at &lt;strong&gt;&lt;a href="https://conexaremote.com/download.html" rel="noopener noreferrer"&gt;conexaremote.com/download.html&lt;/a&gt;&lt;/strong&gt; (or via &lt;code&gt;winget install POBSoft.ConexaRemote&lt;/code&gt; and &lt;code&gt;brew install --cask conexaremote&lt;/code&gt;) and test the &lt;code&gt;conexa://connect&lt;/code&gt; deep-linking workflow with your team today!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Building a Sub-50ms Remote Desktop: Why Direct WebRTC P2P Beats Relay-Heavy Cloud Architectures</title>
      <dc:creator>Conexa Remote</dc:creator>
      <pubDate>Sun, 27 Sep 2026 20:17:50 +0000</pubDate>
      <link>https://dev.to/conexaremote/building-a-sub-50ms-remote-desktop-why-direct-webrtc-p2p-beats-relay-heavy-cloud-architectures-4cg3</link>
      <guid>https://dev.to/conexaremote/building-a-sub-50ms-remote-desktop-why-direct-webrtc-p2p-beats-relay-heavy-cloud-architectures-4cg3</guid>
      <description>&lt;p&gt;When building or selecting remote desktop tools, developers and IT administrators frequently hit a common wall: &lt;strong&gt;input lag and latency jitter&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;In this article, we’ll look under the hood at why traditional cloud-relay architectures introduce latency bottlenecks and how modern direct Peer-to-Peer (P2P) pipelines powered by &lt;strong&gt;WebRTC&lt;/strong&gt; and native desktop duplication APIs can achieve sub-50ms glass-to-glass latency.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Bottleneck: Cloud Relays vs. Direct Peer-to-Peer
&lt;/h2&gt;

&lt;p&gt;In traditional client-server remote control architectures, the remote machine captures its screen, encodes the frame, and sends the video packet to a centralized cloud relay cluster. The relay then forwards the packet down to the technician's workstation.&lt;/p&gt;

&lt;p&gt;While cloud relays make NAT traversal trivial, they introduce three fundamental issues:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Compounded Round-Trip Time (RTT):&lt;/strong&gt; The video stream travels from Machine A → Data Center → Machine B. Even on fast fiber, routing packets through an intermediary server thousands of kilometers away adds 60–150ms of unavoidable latency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bandwidth Saturation &amp;amp; Transcoding Overhead:&lt;/strong&gt; When thousands of concurrent sessions hit relay servers, providers often throttle bitrate, drop framerates, or compress color depth (4:2:0 subsampling), causing blurry fonts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data Sovereignty Concerns:&lt;/strong&gt; Having a third-party server process active desktop video feeds introduces privacy and compliance overhead.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  The P2P WebRTC Alternative
&lt;/h3&gt;

&lt;p&gt;With direct WebRTC peer-to-peer streaming:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The cloud server acts &lt;strong&gt;only as a lightweight signaling / rendezvous coordinator&lt;/strong&gt; to exchange SDP (Session Description Protocol) offers and ICE candidates.&lt;/li&gt;
&lt;li&gt;Once the direct socket is established via STUN, &lt;strong&gt;100% of media and input data flows directly between the two endpoints over encrypted DTLS-SRTP&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The video stream never touches a middleman server during the session.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Tech Workstation] &amp;lt;==========================&amp;gt; [Target Machine]
         \         (Direct WebRTC DTLS-SRTP)         /
          \                                         /
           \===&amp;gt; [Signaling / STUN Server] &amp;lt;======/
                     (Only for 0.5s Handshake)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Low-Overhead Capture: DXGI &amp;amp; ScreenCaptureKit
&lt;/h2&gt;

&lt;p&gt;Networking is only half the equation. If your screen capture takes 30ms before encoding even starts, sub-50ms glass-to-glass latency is impossible.&lt;/p&gt;

&lt;h3&gt;
  
  
  On Windows: Desktop Duplication API (DXGI)
&lt;/h3&gt;

&lt;p&gt;Instead of legacy GDI captures (&lt;code&gt;BitBlt&lt;/code&gt;), modern remote desktop clients tap directly into the GPU pipeline via the DirectX Graphics Infrastructure (DXGI) Desktop Duplication API:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frames are acquired directly from GPU video memory (VRAM).&lt;/li&gt;
&lt;li&gt;Frame buffers are processed without unnecessary host memory (RAM) round-trips (zero-copy GPU rendering).&lt;/li&gt;
&lt;li&gt;Dirty rect tracking ensures only changed screen regions are pushed to the video encoder.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  On macOS: ScreenCaptureKit
&lt;/h3&gt;

&lt;p&gt;On macOS 12.3+, legacy &lt;code&gt;CGDisplayStream&lt;/code&gt; APIs have been replaced with Apple's modern &lt;strong&gt;ScreenCaptureKit&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Native hardware-accelerated screen capture running directly on Apple Silicon / Metal engines.&lt;/li&gt;
&lt;li&gt;Significantly lower CPU utilization and consistent 60fps frame delivery.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Real-World Trade-Offs in P2P Architectures
&lt;/h2&gt;

&lt;p&gt;Direct P2P architectures offer massive speed and privacy advantages, but they require robust engineering around real-world edge cases:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Symmetric NATs &amp;amp; Enterprise Firewalls:&lt;/strong&gt; Around 10–15% of enterprise networks use strict symmetric NATs where direct UDP hole punching fails. In these rare cases, seamless fallback to TURN relaying is essential.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Congestion Control:&lt;/strong&gt; Network jitter requires dynamic bitrate adaptation (e.g., Google Congestion Control / GCC) to adapt resolution on degraded Wi-Fi without crashing the session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security Handshake:&lt;/strong&gt; Encrypting all data channels with DTLS 1.3 and media tracks with SRTP (AES-256) ensures privacy equivalent to a direct VPN tunnel.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  4. Our Implementation at Conexa Remote
&lt;/h2&gt;

&lt;p&gt;When we designed &lt;strong&gt;&lt;a href="https://conexaremote.com" rel="noopener noreferrer"&gt;Conexa Remote&lt;/a&gt;&lt;/strong&gt;, we applied these exact engineering principles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sub-50ms Glass-to-Glass Latency:&lt;/strong&gt; Leveraging native DXGI, ScreenCaptureKit, and WebRTC data channels for fluid, responsive mouse and keyboard input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clientless Ad-Hoc Connections:&lt;/strong&gt; For attended helpdesk support, end users don't need to create accounts, configure passwords, or install bloated runtimes. They open the standalone binary and read an instant 9-digit PIN.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Floating Concurrent Capacity Model:&lt;/strong&gt; Instead of rigid named-user licensing taxes, businesses share a floating pool: the Professional tier (&lt;strong&gt;19 €/mo for 2 concurrent active connections&lt;/strong&gt;) includes &lt;strong&gt;unlimited technician logins and unlimited endpoints&lt;/strong&gt; in the address book (+5 €/mo per extra concurrent slot).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;100% EU Infrastructure:&lt;/strong&gt; Rendezvous and signaling infrastructure is hosted exclusively within the EU (Romania), with zero third-party telemetry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Permanent Free Tier:&lt;/strong&gt; 1 concurrent session with zero time limits or artificial session timeouts.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Real-time remote control shouldn't feel like driving a rover on Mars. By bypassing relay proxies in favor of direct WebRTC peer-to-peer pipelines and modern GPU capture APIs, remote support can be instantaneous, lightweight, and respectful of user privacy.&lt;/p&gt;

&lt;p&gt;Feel free to inspect the architecture and test the Windows/macOS builds at &lt;strong&gt;&lt;a href="https://conexaremote.com" rel="noopener noreferrer"&gt;conexaremote.com&lt;/a&gt;&lt;/strong&gt;. We'd love to hear feedback from fellow network and systems engineers!&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>networking</category>
      <category>performance</category>
      <category>webrtc</category>
    </item>
    <item>
      <title>Building a Zero-Middleman Peer-to-Peer Remote Desktop using WebRTC and Native OS APIs</title>
      <dc:creator>Conexa Remote</dc:creator>
      <pubDate>Fri, 25 Sep 2026 15:20:28 +0000</pubDate>
      <link>https://dev.to/conexaremote/building-a-zero-middleman-peer-to-peer-remote-desktop-using-webrtc-and-native-os-apis-3lh6</link>
      <guid>https://dev.to/conexaremote/building-a-zero-middleman-peer-to-peer-remote-desktop-using-webrtc-and-native-os-apis-3lh6</guid>
      <description>&lt;h2&gt;
  
  
  Abstract
&lt;/h2&gt;

&lt;p&gt;Most traditional remote desktop solutions operate on a client-server relay paradigm: every desktop video frame and every mouse movement is piped to a centralized cloud datacenter, decoded or buffered, and forwarded to the remote technician. While architecturally simple for the vendor, this topology introduces severe drawbacks in real-time latency, cloud infrastructure costs, and data sovereignty compliance under regulations like GDPR and NIS2.&lt;/p&gt;

&lt;p&gt;This article details the technical architecture and engineering decisions behind &lt;strong&gt;Conexa Remote&lt;/strong&gt;, a native desktop remote access application designed to establish direct, zero-middleman peer-to-peer (P2P) connections using &lt;strong&gt;WebRTC&lt;/strong&gt; and native operating system capture APIs (&lt;strong&gt;DXGI Desktop Duplication&lt;/strong&gt; on Windows and &lt;strong&gt;ScreenCaptureKit&lt;/strong&gt; on macOS). We cover low-latency GPU frame acquisition, dual SCTP DataChannel multiplexing for 60 FPS input injection, deterministic ICE NAT traversal, and a stateless signaling model that enforces floating concurrent session limits without intrusive telemetry.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Relay Trap: Why Remote Desktop Architecture Needed a Reset
&lt;/h2&gt;

&lt;p&gt;For over two decades, the dominant commercial model for remote desktop tools combined proprietary protocols (or wrappers around VNC/RDP) with centralized relay networks.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    subgraph Legacy Architecture ["Legacy Cloud Relay (High Latency / Intermediary Buffer)"]
        A1["Host Machine (Windows/Mac)"] --&amp;gt;|"Video Payload (Encrypted to Cloud)"| R1["Vendor Cloud Relay Cluster (US/Third-Party)"]
        R1 --&amp;gt;|"Relayed Video"| B1["Technician Machine"]
        B1 --&amp;gt;|"Input Commands"| R1
        R1 --&amp;gt;|"Relayed Input"| A1
    end

    subgraph P2P Architecture ["Conexa Remote P2P (Direct DTLS-SRTP Stream)"]
        A2["Host Machine (Windows/Mac)"] &amp;lt;-.-&amp;gt;|"Signaling Only (SDP / ICE)"| S2["Signaling Node (EU Romania)"]
        B2["Technician Machine"] &amp;lt;-.-&amp;gt;|"Signaling Only (SDP / ICE)"| S2
        A2 &amp;lt;===&amp;gt;|"Direct DTLS-SRTP Media &amp;amp; DataChannels (AES-256 GCM)"| B2
    end&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;In the legacy topology:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Latency Overhead:&lt;/strong&gt; A connection between two offices in Frankfurt routes through an intermediary relay server in London or Virginia, adding unnecessary network hops and buffer bloat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy &amp;amp; Compliance Exposure:&lt;/strong&gt; The intermediary relay handles the unencrypted or re-encrypted transport layer. Under EU GDPR and strict Data Processing Agreements (DPAs), routing corporate desktop video through foreign third-party infrastructure represents a serious compliance liability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CPU and Memory Bloat:&lt;/strong&gt; Modern enterprise remote utilities frequently ship as 60MB+ bundles wrapping web runtimes (Electron/CEF), consuming 300MB to 1GB of RAM on idle systems.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;By adopting &lt;strong&gt;WebRTC&lt;/strong&gt; as a standardized, secure transport layer combined with &lt;strong&gt;native platform binaries&lt;/strong&gt; (pure C++ on Windows and Swift/Objective-C on macOS), we eliminated the intermediary video relay entirely for direct connection topologies.&lt;/p&gt;




&lt;h2&gt;
  
  
  2. System Architecture: The Three-Tier Topology
&lt;/h2&gt;

&lt;p&gt;The Conexa Remote architecture separates session negotiation, NAT hole-punching, and payload transport into three distinct layers:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;sequenceDiagram
    autonumber
    participant Host as Remote Host (Controlled Endpoint)
    participant Sig as Stateless Signaling Server (Go / EU)
    participant STUN as STUN / TURN Relay (Bucharest, EU)
    participant Tech as Technician Client (Controller)

    Host-&amp;gt;&amp;gt;Sig: Authenticate &amp;amp; Register 9-Digit Channel ID
    Tech-&amp;gt;&amp;gt;Sig: Request Connection to 9-Digit ID (Validate Floating Slot)
    Sig--&amp;gt;&amp;gt;Tech: Session Token Approved (Pool: 2/2 Active)

    Tech-&amp;gt;&amp;gt;STUN: Gather ICE Candidates (Host, Server-Reflexive)
    Host-&amp;gt;&amp;gt;STUN: Gather ICE Candidates (Host, Server-Reflexive)

    Tech-&amp;gt;&amp;gt;Sig: Send SDP Offer + ICE Candidates
    Sig-&amp;gt;&amp;gt;Host: Dispatch SDP Offer + ICE Candidates
    Host-&amp;gt;&amp;gt;Sig: Send SDP Answer + Selected ICE Pair
    Sig-&amp;gt;&amp;gt;Tech: Dispatch SDP Answer

    Note over Host,Tech: Signaling Server Disengages — Direct DTLS-SRTP Handshake
    Host&amp;lt;===&amp;gt;Tech: Direct Peer-to-Peer Tunnel (AES-256-GCM)
    Host--&amp;gt;&amp;gt;Tech: 60 FPS DXGI / ScreenCaptureKit Stream
    Tech--&amp;gt;&amp;gt;Host: SCTP Unordered Mouse Telemetry + Ordered Keystrokes&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  Key Architectural Tenets:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stateless Signaling:&lt;/strong&gt; The signaling backend (written in Go) acts solely as a message broker during the initial SDP offer/answer exchange and ICE candidate pairing. Once the WebRTC &lt;code&gt;PeerConnection&lt;/code&gt; transitions to &lt;code&gt;connected&lt;/code&gt;, the signaling server does not touch, buffer, or inspect any packet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Video Interception:&lt;/strong&gt; Video never traverses the signaling cluster. Even in asymmetric network topologies where TURN relaying is unavoidable, the TURN server forwards opaque, encrypted UDP datagrams without possessing the DTLS session decryption keys.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. High-Performance Native Screen Capture Pipelines
&lt;/h2&gt;

&lt;p&gt;WebRTC is traditionally associated with browser-based video calls. In a native remote desktop application, feeding generic webcam APIs will result in severe lag, washed-out color reproduction, and high CPU utilization. We engineered separate, dedicated capture engines for Windows and macOS.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.1 Windows Capture: DXGI Desktop Duplication API
&lt;/h3&gt;

&lt;p&gt;On Windows 10 and 11, we bypass legacy GDI &lt;code&gt;BitBlt&lt;/code&gt; and user-mode graphics hooks entirely in favor of the DirectX Graphics Infrastructure (&lt;strong&gt;DXGI&lt;/strong&gt;) Desktop Duplication API (&lt;code&gt;IDXGIOutputDuplication&lt;/code&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight cpp"&gt;&lt;code&gt;&lt;span class="c1"&gt;// Windows C++: DXGI GPU Frame Acquisition Pipeline (Simplified Architecture)&lt;/span&gt;
&lt;span class="cp"&gt;#include &amp;lt;d3d11.h&amp;gt;&lt;/span&gt;
&lt;span class="cp"&gt;#include &amp;lt;dxgi1_2.h&amp;gt;&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;DxgiCaptureEngine&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="k"&gt;private&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="nc"&gt;ID3D11Device&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;           &lt;span class="n"&gt;m_pD3DDevice&lt;/span&gt;        &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;nullptr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nc"&gt;ID3D11DeviceContext&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;    &lt;span class="n"&gt;m_pImmediateContext&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;nullptr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="nc"&gt;IDXGIOutputDuplication&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;m_pDeskDupl&lt;/span&gt;         &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;nullptr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="no"&gt;DXGI_OUTPUT_DESC&lt;/span&gt;        &lt;span class="n"&gt;m_OutputDesc&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;public&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="kt"&gt;bool&lt;/span&gt; &lt;span class="nc"&gt;AcquireFrame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ID3D11Texture2D&lt;/span&gt;&lt;span class="o"&gt;**&lt;/span&gt; &lt;span class="n"&gt;ppDesktopTexture&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;DXGI_OUTDUPL_FRAME_INFO&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;pFrameInfo&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nc"&gt;IDXGIResource&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;pDesktopResource&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;nullptr&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;// Timeout set to 16ms (~60 FPS sampling boundary)&lt;/span&gt;
        &lt;span class="no"&gt;HRESULT&lt;/span&gt; &lt;span class="n"&gt;hr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;m_pDeskDupl&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;AcquireNextFrame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;pFrameInfo&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;pDesktopResource&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hr&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="no"&gt;DXGI_ERROR_WAIT_TIMEOUT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Screen contents did not change; skip frame encode&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="no"&gt;FAILED&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="nc"&gt;HandleDeviceLossOrReinitialization&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
            &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="c1"&gt;// Query the Direct3D 11 texture surface directly from GPU VRAM&lt;/span&gt;
        &lt;span class="n"&gt;hr&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;pDesktopResource&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;QueryInterface&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;__uuidof&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nc"&gt;ID3D11Texture2D&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; 
                                              &lt;span class="k"&gt;reinterpret_cast&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;void&lt;/span&gt;&lt;span class="o"&gt;**&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;ppDesktopTexture&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="n"&gt;pDesktopResource&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;Release&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="no"&gt;SUCCEEDED&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hr&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nc"&gt;ReleaseFrame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;m_pDeskDupl&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;m_pDeskDupl&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;ReleaseFrame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Why DXGI is superior:
&lt;/h4&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Direct GPU Memory Access:&lt;/strong&gt; Frames remain in video RAM. When hardware encoding (NVENC / Intel QuickSync / AMD AMF) is active, frame buffers can be passed directly to the hardware encoder without round-tripping through system CPU memory (Zero-Copy Pipeline).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dirty Rectangles:&lt;/strong&gt; &lt;code&gt;DXGI_OUTDUPL_FRAME_INFO&lt;/code&gt; reports dirty rects and move rects. When only a cursor moves or a single terminal window scrolls, only modified sub-regions require processing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sub-Millisecond Acquisition:&lt;/strong&gt; Frame acquisition typically takes under 0.8ms on discrete GPUs.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  3.2 macOS Capture: Apple ScreenCaptureKit
&lt;/h3&gt;

&lt;p&gt;On macOS 12+ (Monterey through Sequoia), we utilize Apple's modern &lt;strong&gt;ScreenCaptureKit&lt;/strong&gt; framework via native Swift/Objective-C bindings.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight swift"&gt;&lt;code&gt;&lt;span class="c1"&gt;// macOS Swift: ScreenCaptureKit Frame Stream Implementation&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ScreenCaptureKit&lt;/span&gt;

&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;MacCaptureEngine&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;NSObject&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;SCStreamOutput&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;SCStreamDelegate&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;private&lt;/span&gt; &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;SCStream&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;

    &lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;initializeStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;SCDisplay&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;async&lt;/span&gt; &lt;span class="k"&gt;throws&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;contentFilter&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SCContentFilter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;excludingWindows&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SCStreamConfiguration&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

        &lt;span class="c1"&gt;// Match native Retina refresh rate and color space&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;width&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;display&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;pixelFormat&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;kCVPixelFormatType_32BGRA&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;showsCursor&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;queueDepth&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
        &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;colorSpaceName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;CGColorSpace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sRGB&lt;/span&gt;

        &lt;span class="n"&gt;stream&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SCStream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;contentFilter&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;configuration&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;delegate&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;self&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;addStreamOutput&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;screen&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sampleHandlerQueue&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;DispatchQueue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"com.conexa.videocapture"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;try&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;startCapture&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;

    &lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="nf"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;_&lt;/span&gt; &lt;span class="n"&gt;stream&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;SCStream&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;didOutputSampleBuffer&lt;/span&gt; &lt;span class="n"&gt;sampleBuffer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;CMSampleBuffer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nc"&gt;SCStreamOutputType&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;guard&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;screen&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;imageBuffer&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;sampleBuffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;imageBuffer&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;

        &lt;span class="c1"&gt;// Pass CVPixelBuffer directly to WebRTC VideoTrackSource&lt;/span&gt;
        &lt;span class="nc"&gt;WebRTCBridge&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;shared&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;pushNativeFrame&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;imageBuffer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;timestamp&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;sampleBuffer&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;presentationTimeStamp&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;ScreenCaptureKit operates directly within the WindowServer compositing engine, allowing hardware-accelerated capture of HDR displays, spaces, and multi-monitor layouts without triggering high CPU spikes.&lt;/p&gt;




&lt;h2&gt;
  
  
  4. Real-Time Transport: WebRTC Media &amp;amp; Dual SCTP DataChannels
&lt;/h2&gt;

&lt;p&gt;A common trap in remote desktop design is multiplexing user input (mouse, keyboard, clipboard) over the same channel as video, or relying on separate, non-synchronized TCP sockets.&lt;/p&gt;

&lt;p&gt;In Conexa Remote, we utilize a &lt;strong&gt;Dual SCTP DataChannel&lt;/strong&gt; strategy alongside the DTLS-SRTP media stream:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Channel Name&lt;/th&gt;
&lt;th&gt;Protocol / Configuration&lt;/th&gt;
&lt;th&gt;Reliability Setting&lt;/th&gt;
&lt;th&gt;Payload Type&lt;/th&gt;
&lt;th&gt;Engineering Rationale&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;video_track&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;DTLS-SRTP&lt;/td&gt;
&lt;td&gt;Lossy, Real-time adaptive&lt;/td&gt;
&lt;td&gt;H.264 / VP9 encoded video&lt;/td&gt;
&lt;td&gt;Automatically adapts bitrate and frame resolution based on RTCP feedback reports.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;input_cursor&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SCTP DataChannel&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Unordered, MaxRetransmits: 0&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Mouse coordinates, hovering, wheel events&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Zero Head-of-Line Blocking.&lt;/strong&gt; If mouse packet N+1 arrives before packet N, packet N is discarded. This delivers crisp 60 FPS tracking without lag accumulation.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;input_control&lt;/code&gt;&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;SCTP DataChannel&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Ordered, Reliable&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Keystrokes, key up/down, UAC commands, clipboard data&lt;/td&gt;
&lt;td&gt;Keystrokes cannot be dropped or executed out of sequence. Must be deterministically acknowledged.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight cpp"&gt;&lt;code&gt;&lt;span class="c1"&gt;// WebRTC DataChannel Initialization in C++&lt;/span&gt;
&lt;span class="n"&gt;webrtc&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nc"&gt;DataChannelInit&lt;/span&gt; &lt;span class="n"&gt;cursorConfig&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;cursorConfig&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ordered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;cursorConfig&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;maxRetransmits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Unordered, partial-reliability for cursor positions&lt;/span&gt;

&lt;span class="n"&gt;webrtc&lt;/span&gt;&lt;span class="o"&gt;::&lt;/span&gt;&lt;span class="nc"&gt;DataChannelInit&lt;/span&gt; &lt;span class="n"&gt;controlConfig&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;controlConfig&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ordered&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// Fully reliable, ordered delivery for keyboard &amp;amp; clipboard&lt;/span&gt;

&lt;span class="kd"&gt;auto&lt;/span&gt; &lt;span class="n"&gt;cursorChannel&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;peerConnection&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;CreateDataChannel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"input_cursor"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;cursorConfig&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;auto&lt;/span&gt; &lt;span class="n"&gt;controlChannel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;peerConnection&lt;/span&gt;&lt;span class="o"&gt;-&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;CreateDataChannel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"input_control"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;controlConfig&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  5. ICE NAT Traversal &amp;amp; European Data Sovereignty
&lt;/h2&gt;

&lt;p&gt;Establishing a direct peer-to-peer connection over modern consumer and enterprise networks requires traversing multiple NAT tiers (Full Cone, Restricted Cone, Symmetric NAT, and CGNAT).&lt;/p&gt;

&lt;p&gt;Conexa Remote executes a strict ICE gathering prioritization:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Gather Host Candidates] (LAN direct — 0ms RTT)
        │
        ▼
[STUN Reflexive Candidates] (Direct WAN traversal — EU STUN Server)
        │
        ▼ (STUN Success Rate: ~82% in real-world IT fleets)
   Direct P2P
        │
        ▼ (Symmetric NAT on both endpoints or UDP hard-block)
[EU-Hosted TURN Relay Candidate] (DTLS-SRTP opaque datagram relay)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Deterministic Low-Latency Optimization:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Aggressive ICE Candidate Pruning:&lt;/strong&gt; Standard WebRTC implementations often wait 2 to 4 seconds gathering all possible network interfaces before returning candidates. Conexa Remote prunes redundant virtual adapters (e.g., hypervisor host-only bridges, VPN stubs) and gathers candidates in parallel, completing ICE pairing in under 350ms.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Infrastructure Residency:&lt;/strong&gt; All STUN/TURN fallback relays are hosted in Romania (EU). For European enterprises, network traffic stays on high-speed European internet exchange backbones (typically &amp;lt;25ms RTT between Western Europe and Bucharest).&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  6. Commercial Logic Built into the Protocol: The Floating Concurrent Pool
&lt;/h2&gt;

&lt;p&gt;Most enterprise remote software enforces licensing by embedding aggressive telemetry agents that phone home constantly, tracking named user identities, hardware IDs, and local system configurations.&lt;/p&gt;

&lt;p&gt;Conexa Remote takes an architectural approach to licensing: &lt;strong&gt;The Floating Concurrent Session Pool&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;stateDiagram-v2
    [*] --&amp;gt; Idle: Technician logs in with company email
    Idle --&amp;gt; SlotAllocated: Open connection to Remote Host
    state SlotAllocated {
        [*] --&amp;gt; ActiveSession1: Consumes 1 Slot
        ActiveSession1 --&amp;gt; ActiveSession2: Multitasking: 1 Tech opens 2nd Client (2/2 Active)
    }
    ActiveSession1 --&amp;gt; SlotFreed: Close Window (Host Disconnect)
    ActiveSession2 --&amp;gt; SlotFreed: Close Window (Host Disconnect)
    SlotFreed --&amp;gt; Idle: Slot instantly restored to company pool in 0ms&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  How Concurrency is Enforced Without Spying:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;No Named-User Lock:&lt;/strong&gt; An organization can create 10, 50, or 100 technician profiles and deploy the agent to thousands of endpoints.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Session Slot Tokens:&lt;/strong&gt; When a technician requests a connection, the signaling backend checks the company's active slot counter:

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Personal Tier:&lt;/strong&gt; Free (0 EUR) — capped at 1 active session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Professional Tier:&lt;/strong&gt; 19 EUR/month — pool of 2 active concurrent sessions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale:&lt;/strong&gt; +17 EUR/month per additional concurrent slot.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multitasking Mechanics:&lt;/strong&gt; A single technician working on dual monitors can open 2 parallel remote sessions to assist two clients simultaneously. This consumes both slots (2/2). Alternatively, two separate technicians can each run 1 session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instant Slot Recovery (0ms):&lt;/strong&gt; When the WebRTC &lt;code&gt;PeerConnection&lt;/code&gt; transitions to &lt;code&gt;closed&lt;/code&gt; or the socket disconnects, the signaling server decrements the active session counter in real-time. The slot is immediately available to any team member.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There are no per-machine license keys to activate, no machine de-authorization hurdles, and no periodic license audit crawls.&lt;/p&gt;




&lt;h2&gt;
  
  
  7. macOS TCC Security Framework: The Unattended Support Challenge
&lt;/h2&gt;

&lt;p&gt;One of the most complex engineering hurdles in modern desktop support is handling Apple's &lt;strong&gt;TCC (Transparency, Consent, and Control)&lt;/strong&gt; privacy framework on macOS 12+.&lt;/p&gt;

&lt;p&gt;To control a remote Mac without an end-user physically present, two permissions are mandatory:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;kTCCServiceScreenCapture&lt;/code&gt; (Screen Recording)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;kTCCServiceAccessibility&lt;/code&gt; (Input Injection via CoreGraphics Event Taps)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The Security Boundary:
&lt;/h3&gt;

&lt;p&gt;Apple deliberately prevents non-root and root user space processes from modifying the local TCC database (&lt;code&gt;/Library/Application Support/com.apple.TCC/TCC.db&lt;/code&gt;). Any utility claiming to "silently enable Mac remote access without user consent or MDM" is either using a transient vulnerability or violating Apple's security model.&lt;/p&gt;

&lt;h3&gt;
  
  
  Conexa Remote's Dual Strategy:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Enterprise Fleets (MDM Deployment):&lt;/strong&gt;
For managed Macs (Jamf, Mosyle, Kandji), we provide a signed configuration profile payload (&lt;code&gt;.mobileconfig&lt;/code&gt;). This pre-authorizes the application bundle ID and cryptographic signing requirements silently:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight xml"&gt;&lt;code&gt;   &lt;span class="nt"&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;
       &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;Services&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
       &lt;span class="nt"&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;
           &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;ScreenCapture&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
           &lt;span class="nt"&gt;&amp;lt;array&amp;gt;&lt;/span&gt;
               &lt;span class="nt"&gt;&amp;lt;dict&amp;gt;&lt;/span&gt;
                   &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;Allowed&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&amp;lt;true/&amp;gt;&lt;/span&gt;
                   &lt;span class="nt"&gt;&amp;lt;key&amp;gt;&lt;/span&gt;CodeRequirement&lt;span class="nt"&gt;&amp;lt;/key&amp;gt;&lt;/span&gt;
                   &lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;anchor apple generic and identifier "com.conexa.remote"&lt;span class="nt"&gt;&amp;lt;/string&amp;gt;&lt;/span&gt;
               &lt;span class="nt"&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;
           &lt;span class="nt"&gt;&amp;lt;/array&amp;gt;&lt;/span&gt;
       &lt;span class="nt"&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;
   &lt;span class="nt"&gt;&amp;lt;/dict&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ad-Hoc / SMB Environments (Non-MDM):&lt;/strong&gt;
The application detects missing entitlements on launch and opens the exact deep link directly into System Settings (&lt;code&gt;x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture&lt;/code&gt;), guiding the user through a single guided verification step.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  8. Performance Benchmarks
&lt;/h2&gt;

&lt;p&gt;We measured the performance of Conexa Remote against legacy remote desktop solutions over a symmetric 1 Gbps fiber connection across Western and Eastern Europe:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Legacy Cloud Relay Tool&lt;/th&gt;
&lt;th&gt;Electron-Based Remote Tool&lt;/th&gt;
&lt;th&gt;Conexa Remote (Native P2P)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Direct P2P Glass-to-Glass Latency (LAN)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;45–65 ms&lt;/td&gt;
&lt;td&gt;55–80 ms&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;12–16 ms&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Cross-Europe WAN Latency (RTT 30ms)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;85–120 ms&lt;/td&gt;
&lt;td&gt;95–140 ms&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;38–46 ms&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Idle Host Memory Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;180 MB&lt;/td&gt;
&lt;td&gt;340 MB&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;32 MB (macOS) / 38 MB (Windows)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Active 60 FPS Host CPU Overhead (Core i7)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;14–18%&lt;/td&gt;
&lt;td&gt;18–25%&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2.8–4.5% (DXGI / NVENC)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Video Relay Encryption&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Relayed &amp;amp; re-encrypted in US cloud&lt;/td&gt;
&lt;td&gt;Intermediary cloud proxy&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Direct DTLS-SRTP (End-to-End AES-256)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Licensing Model&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Per named technician seat&lt;/td&gt;
&lt;td&gt;Per managed device seat&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Floating concurrent session pool&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  9. Conclusion &amp;amp; Takeaways
&lt;/h2&gt;

&lt;p&gt;By stepping away from legacy client-server relay topologies and leveraging standardized WebRTC protocols with native OS APIs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;We achieved &lt;strong&gt;glass-to-glass latencies down to 12ms&lt;/strong&gt; on local networks and under 45ms across trans-European links.&lt;/li&gt;
&lt;li&gt;We eliminated the need for intermediary video relay clusters, drastically reducing operational server overhead and guaranteeing &lt;strong&gt;EU GDPR compliance by design&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;We replaced predatory per-seat licensing models with a fair, transparent &lt;strong&gt;floating concurrent session pool&lt;/strong&gt; that aligns directly with how technical support teams actually work.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Conexa Remote clients for Windows 10/11 and macOS 12+ are available for download at &lt;a href="https://conexaremote.com" rel="noopener noreferrer"&gt;conexaremote.com&lt;/a&gt;. The Personal tier is permanently free (1 concurrent session, no credit card required).&lt;/p&gt;




&lt;h3&gt;
  
  
  Discussion &amp;amp; Questions
&lt;/h3&gt;

&lt;p&gt;If you've built real-time WebRTC tools or desktop capture pipelines:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What approaches have you taken to handle macOS pre-boot FileVault login screens for unattended access?&lt;/li&gt;
&lt;li&gt;How do you balance congestion control backoff against cursor responsiveness during network packet loss spikes?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;We'd love to hear your insights and architectural war stories in the comments below!&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webrtc</category>
      <category>swift</category>
      <category>programmingcpp</category>
    </item>
  </channel>
</rss>
