a346827ea6
The Tauri app vendors tmeet for browser OAuth, lists and creates meetings, launches the desktop client, and sends local playback audio to Doubao streaming ASR.
98 lines
4.1 KiB
HTML
98 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<title>OOKIE 腾讯会议测试台</title>
|
||
<link rel="stylesheet" href="app.css" />
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<div>
|
||
<h1>腾讯会议测试台</h1>
|
||
<p id="account">个人版 · 内置 tmeet · 豆包实时识别</p>
|
||
</div>
|
||
<div id="auth" class="auth">未检查</div>
|
||
</header>
|
||
|
||
<nav>
|
||
<button data-tab="meetings" class="on">会议</button>
|
||
<button data-tab="people">人员</button>
|
||
<button data-tab="transcript">转写</button>
|
||
<button data-tab="settings">设置</button>
|
||
</nav>
|
||
|
||
<main>
|
||
<section id="meetings" class="panel on">
|
||
<div class="row">
|
||
<button id="login">连接腾讯会议</button>
|
||
<button id="logout" class="ghost">登出</button>
|
||
<button id="refresh">刷新会议</button>
|
||
</div>
|
||
<p class="hint">连接会先尝试拉起本机客户端,再打开浏览器完成授权。拉起本身拿不到 Token。客户端登录的个人账号必须和授权账号一致。</p>
|
||
<ul id="meeting-list" class="list"></ul>
|
||
|
||
<form id="create" class="card">
|
||
<h2>建一场面试</h2>
|
||
<label>主题 <input name="subject" value="面试" required /></label>
|
||
<label>开始 <input name="start" required placeholder="2026-11-14T15:00:00+08:00" /></label>
|
||
<label>结束 <input name="end" required placeholder="2026-11-14T16:00:00+08:00" /></label>
|
||
<div class="row">
|
||
<button type="button" id="preview">预览参数</button>
|
||
<button type="submit">确认建会</button>
|
||
</div>
|
||
<pre id="create-preview" class="log"></pre>
|
||
</form>
|
||
</section>
|
||
|
||
<section id="people" class="panel">
|
||
<form id="people-form" class="row">
|
||
<input name="code" placeholder="9 位会议号" inputmode="numeric" />
|
||
<button type="submit">查询</button>
|
||
<button type="button" id="join">拉起客户端入会</button>
|
||
</form>
|
||
<p class="hint">受邀人是会前名单。参会明细是入会/离会记录,会还没开始时为空,不是接口失败。没有直播在线花名册。</p>
|
||
<div class="cols">
|
||
<article><h2>受邀人</h2><pre id="invitees" class="log"></pre></article>
|
||
<article><h2>等候室记录</h2><pre id="waiting" class="log"></pre></article>
|
||
<article><h2>参会明细</h2><pre id="participants" class="log"></pre></article>
|
||
</div>
|
||
</section>
|
||
|
||
<section id="transcript" class="panel">
|
||
<div class="row">
|
||
<button id="test-asr">测试识别(fixture)</button>
|
||
<button id="start-capture">开始采集</button>
|
||
<button id="stop-capture" class="ghost">停止</button>
|
||
</div>
|
||
<p class="hint" id="capture-note"></p>
|
||
<p class="warn">候选人的声音会发到设置里填写的豆包服务。开始采集前需要已告知对方。豆包的说话人编号不是腾讯会议里的人名。</p>
|
||
<ol id="lines" class="lines"></ol>
|
||
</section>
|
||
|
||
<section id="settings" class="panel">
|
||
<form id="speech" class="card">
|
||
<h2>豆包语音识别</h2>
|
||
<label>鉴权
|
||
<select name="auth_mode">
|
||
<option value="new">新版 API Key</option>
|
||
<option value="legacy">旧版 App Key + Access Key</option>
|
||
</select>
|
||
</label>
|
||
<label>API Key <input name="api_key" type="password" autocomplete="off" placeholder="留空表示不修改" /></label>
|
||
<p class="hint" id="api-key-hint"></p>
|
||
<label>App Key <input name="app_key" autocomplete="off" /></label>
|
||
<label>Access Key <input name="access_key" type="password" autocomplete="off" placeholder="留空表示不修改" /></label>
|
||
<p class="hint" id="access-key-hint"></p>
|
||
<label>资源 ID <input name="resource_id" /></label>
|
||
<label>Endpoint <input name="endpoint" /></label>
|
||
<label>热词(一行一个) <textarea name="hotwords" rows="4"></textarea></label>
|
||
<button type="submit">保存到系统钥匙串</button>
|
||
</form>
|
||
</section>
|
||
</main>
|
||
|
||
<footer id="status">就绪</footer>
|
||
<script src="app.js"></script>
|
||
</body>
|
||
</html>
|