
























@@ -103,94 +103,74 @@ Workspace Developer Preview Program for Meet media APIs.
103103104104## Config
105105106-Set config under `plugins.entries.google-meet.config`:
106+The common Chrome realtime path only needs the plugin enabled, BlackHole, SoX,
107+and an OpenAI key:
108+109+```bash
110+brew install blackhole-2ch sox
111+export OPENAI_API_KEY=sk-...
112+```
113+114+Set the plugin config under `plugins.entries.google-meet.config`:
107115108116```json5
109117{
110118 plugins: {
111119 entries: {
112120"google-meet": {
113121 enabled: true,
114- config: {
115- defaultTransport: "chrome",
116- defaultMode: "realtime",
117- defaults: {
118- meeting: "https://meet.google.com/abc-defg-hij",
119- },
120- preview: {
121- enrollmentAcknowledged: false,
122- },
123- chrome: {
124- audioBackend: "blackhole-2ch",
125- launch: true,
126- browserProfile: "Default",
127-// Command-pair bridge: input writes 8 kHz G.711 mu-law audio to stdout.
128- audioInputCommand: [
129-"rec",
130-"-q",
131-"-t",
132-"raw",
133-"-r",
134-"8000",
135-"-c",
136-"1",
137-"-e",
138-"mu-law",
139-"-b",
140-"8",
141-"-",
142- ],
143-// Output reads 8 kHz G.711 mu-law audio from stdin.
144- audioOutputCommand: [
145-"play",
146-"-q",
147-"-t",
148-"raw",
149-"-r",
150-"8000",
151-"-c",
152-"1",
153-"-e",
154-"mu-law",
155-"-b",
156-"8",
157-"-",
158- ],
159- },
160- twilio: {
161- defaultDialInNumber: "+15551234567",
162- defaultPin: "123456",
163- },
164- voiceCall: {
165- enabled: true,
166- gatewayUrl: "ws://127.0.0.1:18789",
167- dtmfDelayMs: 2500,
168- },
169- realtime: {
170- provider: "openai",
171- model: "gpt-realtime",
172- instructions: "You are joining a private Google Meet as my OpenClaw agent. Keep replies brief unless asked.",
173- toolPolicy: "safe-read-only",
174- providers: {
175- openai: {
176- apiKey: { env: "OPENAI_API_KEY" },
177- },
178- },
179- },
180- auth: {
181- provider: "google-oauth",
182- },
183- oauth: {
184- clientId: "your-google-oauth-client-id.apps.googleusercontent.com",
185- refreshToken: "stored-refresh-token",
186- },
187- },
122+ config: {},
188123 },
189124 },
190125 },
191126}
192127```
193128129+Defaults:
130+131+- `defaultTransport: "chrome"`
132+- `defaultMode: "realtime"`
133+- `chrome.audioBackend: "blackhole-2ch"`
134+- `chrome.audioInputCommand`: SoX `rec` command writing 8 kHz G.711 mu-law
135+ audio to stdout
136+- `chrome.audioOutputCommand`: SoX `play` command reading 8 kHz G.711 mu-law
137+ audio from stdin
138+- `realtime.provider: "openai"`
139+- `realtime.toolPolicy: "safe-read-only"`
140+- `realtime.instructions`: brief spoken replies, with
141+`openclaw_agent_consult` for deeper answers
142+143+Optional overrides:
144+145+```json5
146+{
147+ defaults: {
148+ meeting: "https://meet.google.com/abc-defg-hij",
149+ },
150+ chrome: {
151+ browserProfile: "Default",
152+ },
153+ realtime: {
154+ toolPolicy: "owner",
155+ },
156+}
157+```
158+159+Twilio-only config:
160+161+```json5
162+{
163+ defaultTransport: "twilio",
164+ twilio: {
165+ defaultDialInNumber: "+15551234567",
166+ defaultPin: "123456",
167+ },
168+ voiceCall: {
169+ gatewayUrl: "ws://127.0.0.1:18789",
170+ },
171+}
172+```
173+194174## Tool
195175196176Agents can use the `google_meet` tool:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。