<?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: gw ch</title>
    <description>The latest articles on DEV Community by gw ch (@shanchang).</description>
    <link>https://dev.to/shanchang</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%2F2239086%2F65287aee-9231-4431-8d15-25cf03cfdc1b.jpg</url>
      <title>DEV Community: gw ch</title>
      <link>https://dev.to/shanchang</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shanchang"/>
    <language>en</language>
    <item>
      <title>Wiring Gemini 4 Live Translate into Zoom &amp; Teams via Rust + Virtual Audio (16kHz/24kHz PCM &amp; AEC Notes)</title>
      <dc:creator>gw ch</dc:creator>
      <pubDate>Sat, 05 Dec 2026 12:55:18 +0000</pubDate>
      <link>https://dev.to/shanchang/wiring-gemini-4-live-translate-into-zoom-teams-via-rust-virtual-audio-16khz24khz-pcm-aec-98n</link>
      <guid>https://dev.to/shanchang/wiring-gemini-4-live-translate-into-zoom-teams-via-rust-virtual-audio-16khz24khz-pcm-aec-98n</guid>
      <description>&lt;p&gt;Google launched &lt;strong&gt;Gemini 4 Live Translate&lt;/strong&gt; on December 2, 2026—bringing continuous streaming speech-to-speech translation across &lt;strong&gt;70+ two-way languages&lt;/strong&gt;, reported sub-2-second start offsets, and zero-enrollment voice matching.&lt;/p&gt;

&lt;p&gt;The catch for developers and cross-company teams: native access is scoped to eligible Google Meet / Workspace tiers and the mobile Translate app. If your calls bounce between &lt;strong&gt;Zoom, Microsoft Teams, Google Meet, Tencent Meeting, and Feishu&lt;/strong&gt;, you can't force external guests to switch tools or accept a third-party recording bot in the participant roster.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I work on **Parley Voice&lt;/em&gt;&lt;em&gt;, a Windows/macOS desktop app written in Rust (&lt;code&gt;Slint&lt;/code&gt; UI + &lt;code&gt;cubeb&lt;/code&gt; audio engine). We shipped Gemini 4 support in **Parley 0.1.35&lt;/em&gt;* (live today). Below are the concrete audio-pipeline, PCM framing, AEC, and probe details from our integration.*&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Dual-Path Virtual Audio Topology (Zero Bot, Zero Guest Install)
&lt;/h2&gt;

&lt;p&gt;Instead of joining calls via platform bot APIs, Parley bridges audio at the OS device layer so the meeting app sees an ordinary microphone and speaker:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Outbound: Local Mic -&amp;gt; Translated Speech Into Call]
Wired Headset Mic
   │
   ▼  Resample + Capture-Side AEC (ref: headset playback + ~15% ear return)
parley-audio (cubeb) -&amp;gt; 16 kHz Mono PCM (100 ms / 40 ms packet framing)
   │
   ▼  RTC / WSS -&amp;gt; Singapore Route -&amp;gt; gemini-4-live-translate
24 kHz Translated PCM + Incremental Bilingual Captions
   │
   ├──► (100%) Virtual Microphone (VB-Audio Virtual Cable / macOS VirtualMic)
   │           └──► Zoom / Teams / Meet / Tencent Meeting Mic Input
   └──► (~15%) Wired Headset Ear Return (monitor pacing &amp;amp; catch misheard terms)

[Inbound: Remote Call Audio -&amp;gt; Translated Speech Into Headset]
Zoom / Teams / Meet Remote Audio
   │
   ▼  Windows: Hi-Fi Virtual Cable or Win11 Process Capture
      macOS 14.5+: Native Core Audio Process Capture
parley-audio (cubeb) -&amp;gt; 16 kHz Mono PCM
   │
   ▼  RTC / WSS -&amp;gt; Singapore Route -&amp;gt; gemini-4-live-translate
24 kHz Translated PCM + Incremental Bilingual Captions
   │
   ├──► Wired Headset Playback
   └──► Local Bilingual Caption History + Local SRT Export
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why this architecture pays off:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero guest friction:&lt;/strong&gt; Remote participants install nothing and never see a bot enter the roster.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;App-agnostic:&lt;/strong&gt; Works across Zoom, Teams, Meet, Tencent Meeting, Feishu, and browser WebRTC calls with the exact same routing model.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  2. Three Audio-Engineering Traps We Had to Handle
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Capture-Side AEC + Wired Headphones
&lt;/h3&gt;

&lt;p&gt;Continuous streaming speech models are unforgiving of acoustic feedback. If translated 24 kHz output plays through laptop speakers and leaks back into the local mic, the model loops on its own voice. We keep capture-side AEC active on the uplink, strongly recommend wired headphones, and default &lt;strong&gt;ear return&lt;/strong&gt; to roughly &lt;strong&gt;15%&lt;/strong&gt; so the speaker can verify pacing without distracting overlap.&lt;/p&gt;

&lt;h3&gt;
  
  
  &lt;code&gt;echoTargetLanguage&lt;/code&gt; Handling
&lt;/h3&gt;

&lt;p&gt;Real bilingual meetings aren't neatly segmented—speakers drop English product names inside Mandarin sentences or momentarily speak the target language. Configuring &lt;code&gt;echoTargetLanguage&lt;/code&gt; carefully avoids awkward double-translation loops when target-language words enter the source channel.&lt;/p&gt;

&lt;h3&gt;
  
  
  Clock Drift Across Heterogeneous Virtual Devices
&lt;/h3&gt;

&lt;p&gt;Bridging a USB headset, VB-Audio Virtual Cable, Hi-Fi Cable, or macOS Core Audio capture introduces slight hardware clock drift. In &lt;code&gt;parley-audio&lt;/code&gt;, &lt;code&gt;cubeb&lt;/code&gt; feeds a decoupled playback queue with bounded jitter smoothing so variable network arrival times on 24 kHz downstream chunks don't turn into clicks or runaway latency buildup.&lt;/p&gt;




&lt;h2&gt;
  
  
  3. Dec 3 Single-Stream API Probe vs. Full Desktop Benchmark
&lt;/h2&gt;

&lt;p&gt;We keep single-API timing strictly separate from full desktop playback benchmarks so other engineers can evaluate both honestly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"probe_date"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-12-03"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"provider"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"gemini-4-live-translate"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"route"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"singapore"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"input"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"60s synthetic Mandarin 16 kHz mono PCM, 100 ms packets -&amp;gt; English"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"first_nonzero_translated_audio_chunk_sec"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"default_instant_voice_matching"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.731&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"preset_voice_Kore"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mf"&gt;1.692&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"variant_chain_check"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"zh-Hans -&amp;gt; pt-PT -&amp;gt; zh-Hant (spoken + text OK)"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measurement&lt;/th&gt;
&lt;th&gt;Scope&lt;/th&gt;
&lt;th&gt;Observed Result&lt;/th&gt;
&lt;th&gt;Important Boundary&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemini 4 API Probe (2026-12-03)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;First 100 ms packet sent → first non-zero 24 kHz PCM chunk returned (Singapore)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;1.731s&lt;/strong&gt; (instant voice match)&lt;br&gt;&lt;strong&gt;1.692s&lt;/strong&gt; (&lt;code&gt;Kore&lt;/code&gt; preset)&lt;/td&gt;
&lt;td&gt;API probe only — excludes local soundcard buffers, user-to-Singapore RTT, and Zoom/Teams jitter&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;7-Tool Full Desktop Benchmark (2026-11-18)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Spoken onset → translated playback on test laptop (Qwen Shanghai route, ZH→EN)&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;3.84s&lt;/strong&gt; first run&lt;br&gt;&lt;strong&gt;5.04s&lt;/strong&gt; repeat input &lt;em&gt;(+ ~1.7s Doubao short greeting supplement)&lt;/em&gt;
&lt;/td&gt;
&lt;td&gt;Local playback on test machine; remote participant receipt not measured&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h2&gt;
  
  
  4. Handling 78 Language/Region Variants &amp;amp; Multi-Model Routing
&lt;/h2&gt;

&lt;p&gt;In Parley 0.1.35, Gemini 4 exposes &lt;strong&gt;78 selectable language/region entries&lt;/strong&gt;—separating &lt;code&gt;zh-Hans&lt;/code&gt; from &lt;code&gt;zh-Hant&lt;/code&gt; and &lt;code&gt;pt-BR&lt;/code&gt; from &lt;code&gt;pt-PT&lt;/code&gt;, plus Spanish, Hindi, Arabic, Japanese, Korean, Vietnamese, Thai, and European languages. To keep UX fast during live calls, we added Top-15 pinning and live search inside the picker, plus one-click toggling between default &lt;strong&gt;instant voice replication&lt;/strong&gt; and &lt;strong&gt;10 preset voices&lt;/strong&gt; (5F/5M including &lt;code&gt;Kore&lt;/code&gt;) for chaotic multi-speaker standups.&lt;/p&gt;

&lt;p&gt;Because no single provider wins every constraint, &lt;code&gt;parley-providers&lt;/code&gt; keeps all three managed models behind one prepaid wallet (no monthly subscription, &lt;strong&gt;$1 free signup credit&lt;/strong&gt;, repeatable &lt;strong&gt;$1 minimum top-up&lt;/strong&gt;, one session charge covering both meeting directions including silence):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider (Verified 2026-12-05)&lt;/th&gt;
&lt;th&gt;Managed List Rate&lt;/th&gt;
&lt;th&gt;Languages&lt;/th&gt;
&lt;th&gt;Route&lt;/th&gt;
&lt;th&gt;Current Modes &amp;amp; Limits&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Gemini 4 Live Translate&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;$0.100/min&lt;/code&gt; (&lt;code&gt;$6.00/hr&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;78 selections (70+ two-way spoken)&lt;/td&gt;
&lt;td&gt;Singapore only&lt;/td&gt;
&lt;td&gt;Desktop hosted meetings only (no venue mode or BYOK yet)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Qwen3.8 Live&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;$0.070/min&lt;/code&gt; (&lt;code&gt;$4.20/hr&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;60 input / 29 spoken output (&lt;code&gt;yue&lt;/code&gt; Cantonese input only)&lt;/td&gt;
&lt;td&gt;Shanghai / Singapore&lt;/td&gt;
&lt;td&gt;Hosted meetings + Venue Mode (&lt;code&gt;$149&lt;/code&gt; license) + BYOK (&lt;code&gt;$95&lt;/code&gt; license)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Doubao AST 2.0&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;$0.148/min&lt;/code&gt; (&lt;code&gt;$8.88/hr&lt;/code&gt;)&lt;/td&gt;
&lt;td&gt;Chinese ↔ English&lt;/td&gt;
&lt;td&gt;Shanghai&lt;/td&gt;
&lt;td&gt;Hosted meetings&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;(OpenAI &lt;code&gt;gpt-realtime-translate&lt;/code&gt; is marked coming soon and is not yet enabled in desktop meetings.)&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Honest Privacy &amp;amp; Usage Boundaries
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Live translation requires an internet connection: audio streams in real time to the selected cloud provider (managed via Parley's route, or directly from desktop in BYOK mode for eligible providers).&lt;/li&gt;
&lt;li&gt;Bilingual caption history and exported &lt;strong&gt;SRT&lt;/strong&gt; files stay strictly on local disk.&lt;/li&gt;
&lt;li&gt;If everyone on your calls already uses Google Meet with an eligible Workspace tier, Google's built-in experience requires zero audio routing.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Further Reading &amp;amp; Device Mapping Tables
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full Zoom / Microsoft Teams / Google Meet / Tencent Meeting virtual-audio guide: &lt;a href="https://www.parleyvoice.com/blog/gemini-4-live-translate-zoom-teams-tencent-meeting" rel="noopener noreferrer"&gt;https://www.parleyvoice.com/blog/gemini-4-live-translate-zoom-teams-tencent-meeting&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Interactive 78-option language-pair checker &amp;amp; Gemini 4 hub: &lt;a href="https://www.parleyvoice.com/gemini-4-live-translate-meetings" rel="noopener noreferrer"&gt;https://www.parleyvoice.com/gemini-4-live-translate-meetings&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Deep comparison of Gemini 4 vs Qwen3.8 Live vs Doubao AST 2.0: &lt;a href="https://www.parleyvoice.com/blog/gemini-4-vs-qwen-vs-doubao-live-translation-2026" rel="noopener noreferrer"&gt;https://www.parleyvoice.com/blog/gemini-4-vs-qwen-vs-doubao-live-translation-2026&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to trade notes in the comments on WASAPI / Core Audio quirks, &lt;code&gt;cubeb&lt;/code&gt; resampling, or tricky word-order pairs like &lt;code&gt;EN ↔ HI&lt;/code&gt; and &lt;code&gt;ZH ↔ PT-PT&lt;/code&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>gemini</category>
      <category>rust</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Live voice translation without a meeting bot: audio routing and a one-minute test</title>
      <dc:creator>gw ch</dc:creator>
      <pubDate>Fri, 04 Dec 2026 06:29:57 +0000</pubDate>
      <link>https://dev.to/shanchang/live-voice-translation-without-a-meeting-bot-audio-routing-and-a-one-minute-test-g4k</link>
      <guid>https://dev.to/shanchang/live-voice-translation-without-a-meeting-bot-audio-routing-and-a-one-minute-test-g4k</guid>
      <description>&lt;p&gt;A customer sends a last-minute Zoom, Teams, or Google Meet link and wants to admit only people they recognize. One person can run Parley on their computer and send translated speech as that person's microphone audio. The other participants stay in their usual meeting app. This guide is written by the Parley Voice team. The device-menu screenshot shows Zoom on Windows.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the three audio paths work
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Desktop audio routing&lt;/th&gt;
&lt;th&gt;Meeting bot&lt;/th&gt;
&lt;th&gt;Native speech translation&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Who joins?&lt;/td&gt;
&lt;td&gt;The regular participant. A virtual mic sends their translated audio into the call.&lt;/td&gt;
&lt;td&gt;In bot-based products a service participant joins the meeting.&lt;/td&gt;
&lt;td&gt;Interpretation runs in the meeting app.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where do people listen?&lt;/td&gt;
&lt;td&gt;To the shared translated feed in the original meeting.&lt;/td&gt;
&lt;td&gt;In the meeting or through a separate listener page, depending on the product.&lt;/td&gt;
&lt;td&gt;In the platform's language or speech controls.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who sets it up?&lt;/td&gt;
&lt;td&gt;The operator installs the desktop app and the required audio devices.&lt;/td&gt;
&lt;td&gt;The host typically admits the bot. Check the vendor's permissions.&lt;/td&gt;
&lt;td&gt;The organizer checks the plan, meeting type, language, and administrator policy.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Where does the audio go?&lt;/td&gt;
&lt;td&gt;The desktop app sends selected audio to a cloud model through Parley or a personal API connection.&lt;/td&gt;
&lt;td&gt;Follow the vendor's audio-processing and retention terms.&lt;/td&gt;
&lt;td&gt;Follow the platform's terms for the feature in use.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For example, DeepL Voice for Online Meetings uses a bot and shares a join link with participants. On platforms with native speech translation, verify eligibility in the workspace where the meeting will run. &lt;a href="https://support.deepl.com/hc/en-us/articles/16810100955676-About-DeepL-Voice-for-Online-Meetings" rel="noopener noreferrer"&gt;DeepL&lt;/a&gt; · &lt;a href="https://support.zoom.com/hc/en/article?id=zm_kb&amp;amp;sysparm_article=KB0084896" rel="noopener noreferrer"&gt;Zoom&lt;/a&gt; · &lt;a href="https://support.microsoft.com/en-gb/teams/copilot/interpreter-in-microsoft-teams-meetings-and-calls" rel="noopener noreferrer"&gt;Teams&lt;/a&gt; · &lt;a href="https://support.google.com/meet/answer/16221730?hl=en" rel="noopener noreferrer"&gt;Google Meet&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Set up the outgoing and incoming paths
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Outgoing:&lt;/strong&gt; Physical mic → Parley → cloud model → virtual mic → original meeting. In the meeting app, select Parley's virtual microphone. A new Windows install typically lists &lt;strong&gt;Parley Translation Microphone (VB-Audio Virtual Cable)&lt;/strong&gt;. An upgraded install may retain the older device name.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Incoming:&lt;/strong&gt; Meeting audio → selected capture source → Parley → your physical headphones. Use the documented Windows capture or isolated cable setup, or select the virtual meeting output specified in the macOS guide.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faxnuaskj0ht23brkr3oi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faxnuaskj0ht23brkr3oi.png" alt="Windows Zoom audio menu showing the Parley virtual microphone and Hi-Fi Cable setup" width="761" height="554"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The image shows the isolated cable configuration in Zoom. Use the guide to match the capture source and playback device for your configuration. &lt;a href="https://www.parleyvoice.com/guides/first-use" rel="noopener noreferrer"&gt;Parley first-use guide&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Verify both directions in one minute
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Window&lt;/th&gt;
&lt;th&gt;Say and verify&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;First 20 seconds&lt;/td&gt;
&lt;td&gt;Say “The quantity is 50, not 15. Please confirm by 3 p.m. tomorrow.” Ask the other person to repeat the quantity, the exclusion, and the time.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Next 20 seconds&lt;/td&gt;
&lt;td&gt;Have them change a number in their language, then repeat what you heard in your headphones.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Last 20 seconds&lt;/td&gt;
&lt;td&gt;Exchange one short question each. Stop translation when finished and return to the original audio devices as needed.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Tell the other person you are using translation. Use one speech-translation path at a time. If you hear double audio, verify the microphone and capture source before starting the call again.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to check about latency, privacy, and cost
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Latency:&lt;/strong&gt; Shanghai Qwen recordings N05 and N06 showed about 3.84 and 5.04 seconds to first translated audio on the recording computer. To compare what remote participants hear, record the receiver and keep the source clip, network conditions, and measurement endpoints consistent. &lt;a href="https://github.com/ElmerElla/simultaneous-translation-benchmark/blob/00bf33d187cf9fbd8a128f7324f6c51b859f3b0c/data/timing.csv" rel="noopener noreferrer"&gt;Timing CSV&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; Managed translation connects through Parley to a cloud model. Personal API mode connects to a provider selected by the operator. Parley caption history and exported SRT files live on the device. Confirm participant awareness and your organization's approved audio-processing path. &lt;a href="https://www.parleyvoice.com/privacy" rel="noopener noreferrer"&gt;Data handling&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; At the Nov 30, 2026 managed list rates, one connected 30-minute two-way meeting is $2.10 with Qwen or $4.44 with Doubao. Check the pricing page for current rates and billing details. &lt;a href="https://www.parleyvoice.com/pricing" rel="noopener noreferrer"&gt;Pricing&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use desktop routing when one translated feed fits the meeting. If listeners need independent language channels, check the meeting platform or an event interpretation service for channel controls. For a managed device where virtual audio installation is restricted, check the native options available to that workspace.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try the three-round check with a colleague before a customer call.&lt;/strong&gt; &lt;a href="https://www.parleyvoice.com/guides/first-use" rel="noopener noreferrer"&gt;Parley first-use guide&lt;/a&gt;&lt;/p&gt;

</description>
      <category>translation</category>
    </item>
    <item>
      <title>In the era of intelligent agents, how do agents interact with each other?</title>
      <dc:creator>gw ch</dc:creator>
      <pubDate>Mon, 21 Oct 2024 01:57:42 +0000</pubDate>
      <link>https://dev.to/shanchang/in-the-era-of-intelligent-agents-how-do-agents-interact-with-each-other-3ghg</link>
      <guid>https://dev.to/shanchang/in-the-era-of-intelligent-agents-how-do-agents-interact-with-each-other-3ghg</guid>
      <description>&lt;p&gt;At the recently concluded OpenAI Developer Conference, Ultraman stated that o1 has reached AGI Level 2 (inference) and will soon reach Level 3 (agent). However, before the widespread adoption of intelligent agents, there is still a key issue that has not been solved: how these agents interact with each other.&lt;/p&gt;

&lt;h1&gt;
  
  
  1. Challenges in the Era of Intelligent Agents
&lt;/h1&gt;

&lt;p&gt;In the future, billions of intelligent agents will permeate all aspects of life, assisting humans in completing various tasks.&lt;/p&gt;

&lt;p&gt;For example, a personal assistant agent ordering food needs to interact with a restaurant agent to inquire about the menu, prices, cooking methods, and delivery times. All of this relies on the collaboration between agents.&lt;/p&gt;

&lt;p&gt;For these agents to work efficiently together, they need to communicate and interoperate, seamlessly collaborating like friends and colleagues.&lt;/p&gt;

&lt;p&gt;This brings two main challenges:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How can an agent verify the identity of another?&lt;/li&gt;
&lt;li&gt;How can we ensure secure communication between intelligent agents?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz35ohro471yqhynye7kk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz35ohro471yqhynye7kk.png" alt="Image description" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If all intelligent agents can only verify identities and communicate within a single platform, the industry could face two outcomes: either a platform monopoly or isolation among intelligent agents on different platforms, leading to fragmentation and incompatibility. Even if communication mechanisms are established between some major platforms, these mechanisms are often closed and controlled, making the entire ecosystem lack openness and flexibility.&lt;/p&gt;

&lt;p&gt;Therefore, before the era of intelligent agents fully arrives, we need an open, low-cost cross-platform identity authentication and secure communication solution that allows all intelligent agents to connect freely and securely on any platform, achieving seamless collaboration.&lt;/p&gt;

&lt;h1&gt;
  
  
  2. Limitations of Existing Identity Authentication Methods
&lt;/h1&gt;

&lt;p&gt;Most existing identity authentication relies on centralized platforms and services. Common methods include social media accounts, email accounts, and bank accounts, which are independently managed by their respective platforms, requiring users to register and authenticate separately on each platform.&lt;/p&gt;

&lt;p&gt;The identity information between these centralized platforms is isolated. For example, a Google user cannot easily communicate securely with users on Facebook or X because identity information cannot be shared across platforms, and there is a lack of secure authentication methods. This limitation makes it difficult for users on different platforms to communicate directly, increasing the complexity and cost of collaboration.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1grf607ssa5k898bhgbb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1grf607ssa5k898bhgbb.png" alt="Image description" width="788" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For intelligent agents, the limitations of traditional identity authentication schemes are more pronounced, making it difficult for agents on different platforms to recognize each other’s identities and communicate seamlessly.&lt;/p&gt;

&lt;h1&gt;
  
  
  3. Email and Bitcoin: Benchmarks for Cross-Platform Authentication
&lt;/h1&gt;

&lt;p&gt;Currently, there are two identity authentication schemes on the Internet that differ from mainstream centralized methods: email and Bitcoin.&lt;/p&gt;

&lt;p&gt;Email: Email enables cross-platform authentication and communication. Whether it is Google, Microsoft, or other service providers, email accounts can recognize each other and send emails, providing a natural cross-platform authentication and communication mechanism.&lt;br&gt;
Bitcoin: Bitcoin’s identity authentication is fully decentralized without the intervention of a centralized platform. The process of creating a Bitcoin address is simple: the user generates a private key, then derives a public key from it, and performs a series of hashing operations on the public key to generate a unique Bitcoin address. This address functions like a user’s identity ID and can be used to receive and send Bitcoin. The security of transactions and identity verification relies on the protection of the private key. This method achieves true decentralized identity authentication.&lt;br&gt;
These identity authentication schemes have some common features:&lt;/p&gt;

&lt;p&gt;Cross-Platform: Whether it’s email or Bitcoin, users are not restricted to a specific platform. Email users can communicate across service providers, and Bitcoin users can trade freely without depending on any particular platform.&lt;br&gt;
Simplicity: The design of both email and Bitcoin addresses is simple. Users need only an ID to confirm their identity. Though their underlying technologies differ, both use asymmetric encryption.&lt;br&gt;
Decentralization: Especially Bitcoin, which completely removes centralized institutions, allowing users to authenticate and trade using their own private keys. While email relies on service providers, it also has a certain level of decentralization because different providers can communicate.&lt;br&gt;
Although these two solutions cannot be directly applied to intelligent agents, their technology serves as valuable references.&lt;/p&gt;

&lt;h1&gt;
  
  
  4. W3C DID Specification: A New Approach to Cross-Platform Authentication
&lt;/h1&gt;

&lt;p&gt;Is there a technology that can solve the issue of cross-platform identity authentication now? This brings us to the W3C’s recently released DID (Decentralized Identifier) specification. Although its current application is relatively limited, I believe it is the most suitable foundational technology for intelligent agent communication.&lt;/p&gt;

&lt;p&gt;DID is a new identity standard specifically designed to address cross-platform and decentralized identity authentication. Simply put, DID allows each individual or agent to have an independent, decentralized identity that is not dependent on any platform but rather controlled by the user.&lt;/p&gt;

&lt;p&gt;This way, intelligent agents can implement a unified identity authentication system that allows them to recognize and authenticate each other, regardless of the platform they run on. This not only enhances user control over identity information but also allows for seamless interoperability across platforms, breaking down traditional identity barriers and enabling true cross-platform collaboration.&lt;/p&gt;

&lt;h1&gt;
  
  
  5. DID Alliance Method: Specific Implementation
&lt;/h1&gt;

&lt;p&gt;However, the DID specification is just a framework, with many specific methods, each having different goals and technical implementations. Currently, there is no ready-made solution that fully meets the needs of intelligent agents. Therefore, we have developed a new standardized approach under the DID framework to solve the identity authentication problem for intelligent agents.&lt;/p&gt;

&lt;p&gt;This is the DID Alliance Method that we propose.&lt;/p&gt;

&lt;p&gt;Even if you are not familiar with DID, it doesn’t matter. Let me briefly introduce how to use our defined DID Alliance Method to achieve cross-platform identity authentication and secure encrypted communication.&lt;/p&gt;

&lt;h1&gt;
  
  
  6. Specific Steps of DID Alliance Method
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18ehl4k6e82whjf27x2h.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F18ehl4k6e82whjf27x2h.png" alt="Image description" width="800" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 1: Create DID and DID Documents&lt;/p&gt;

&lt;p&gt;DID is a decentralized identity identifier that is unique, created, and controlled by the user without relying on any centralized platform. The DID document contains information related to DID, such as public keys, verification methods, and service details, which help others verify the legitimacy of the identity. The DID Alliance Method is inspired by the Bitcoin address creation process: users generate a private key, derive a public key, and then hash the public key to generate a unique DID. In this way, the private key, public key, and DID form a strict one-to-one correspondence.&lt;/p&gt;

&lt;p&gt;Step 2: Publish the DID Document&lt;/p&gt;

&lt;p&gt;Users can publish DID documents on their own platform or a third-party hosting platform. All these platforms must comply with the publication and viewing standards for DID documents. Since building a self-hosted DID document platform is costly for most agents, third-party hosting platforms are an option. All compliant nodes are alliance nodes, hence the name “DID Alliance”.&lt;/p&gt;

&lt;p&gt;Step 3: Disseminate the DID of the Agent&lt;/p&gt;

&lt;p&gt;Disseminate the DID of an agent through reliable means, such as email, official websites, or authentication websites. The first step in communicating with an agent is to find its DID.&lt;/p&gt;

&lt;p&gt;Step 4: Download the DID Document According to the DID&lt;/p&gt;

&lt;p&gt;Download the DID document from a self-built platform or third-party hosting platform to obtain relevant information about the DID.&lt;/p&gt;

&lt;p&gt;Step 5: Verify the Identity of the Agent&lt;/p&gt;

&lt;p&gt;According to the DID document, find the message service endpoint of the agent and initiate an identity verification request. This involves first verifying the correctness of the public key using the DID and then verifying that the agent possesses the corresponding private key through signature verification.&lt;/p&gt;

&lt;p&gt;Step 6: Conduct Secure Encrypted Communication&lt;/p&gt;

&lt;p&gt;If verification is successful, end-to-end encrypted communication can proceed using public and private keys. We refer to the standard TLS process design to ensure the highest level of security.&lt;/p&gt;

&lt;p&gt;At this point, the identity authentication and encrypted communication process between intelligent agents is complete, without requiring users to rely on any platform.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Future Outlook
Currently, we mainly transmit text information. In the future, we will expand to more diverse formats, including files (such as audio and video), live streams, and real-time communication. This will cover the vast majority of business scenarios on the Internet.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The DID we designed is essentially equivalent to a blockchain address, which can also be used as a blockchain wallet address. Therefore, building a fully decentralized identity system based on blockchain becomes an option. We can publish DID documents on the blockchain for public access, create business-related tokens for DID-based transactions and settlements, making value transfer between intelligent agents more convenient, and organize distributed computing power using blockchain to form a decentralized intelligent agent messaging service network. The possibilities are endless for the future.&lt;/p&gt;

&lt;h1&gt;
  
  
  For further reading
&lt;/h1&gt;

&lt;p&gt;Official Website：&lt;a href="https://pi-unlimited.com/" rel="noopener noreferrer"&gt;https://pi-unlimited.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;github:&lt;a href="https://github.com/chgaowei/AgentConnect" rel="noopener noreferrer"&gt;https://github.com/chgaowei/AgentConnect&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Connect me：&lt;a href="mailto:chgaowei@gmail.com"&gt;chgaowei@gmail.com&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
