<!doctype html>
<html>
  <head>
    <title>Google GenAI NodeJS SDK Live Sample</title>
  </head>
  <body>
    <h1>Google GenAI NodeJS SDK Live Sample</h1>
    <h2>Content Update (Text in, audio out):</h2>
    <form>
      <input id="input" type="text" />
    </form>
    <br />
    <h2>Realtime (Audio in, audio out):</h2>
    <button id="record">Start Realtime</button>
    <script src="/socket.io/socket.io.js"></script>
    <script>
      const socket = io();
      const messageQueue = [];
      let queuePro