Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

509 B
Raw Blame
import { remoteDesktopViewerHtml as createHtml } from "@cindy/maker-shared/remote-desktop-mobile";
import {
  DESKTOP_KEY_CODES,
  REMOTE_DESKTOP_NETWORK,
  REMOTE_DESKTOP_ICE_SERVERS,
} from "@cindy/device-link";
export function remoteDesktopViewerHtml(
  surface: string,
  foreground: string,
  nativeMedia = false,
): string {
  return createHtml(surface, foreground, {
    net: REMOTE_DESKTOP_NETWORK,
    iceServers: REMOTE_DESKTOP_ICE_SERVERS,
    keyCodes: DESKTOP_KEY_CODES,
    nativeMedia,
  });
}