oficina / meet Public

Call diagnostics name the microphone from the meter, which iPhone has too

make iphone caught AudioRoutes.inputSource, which is Mac-only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 071e7e4a9bab7ccde80fd6f82bbe4eb3d7b74cae parent 7f61ee8
1 file changed, +1 −1
  • native/apple/Sources/CallsKit/Call.swift +1 −1

CI passed — run details

CI log
=== vet ===
go vet ./...
=== fmt ===
=== test ===
go test ./...
ok  	amadan.net/oficina/calls/callscore	6.675s
?   	amadan.net/oficina/calls/cmd/calls	[no test files]
ok  	amadan.net/oficina/calls/internal/calls	1.427s
ok  	amadan.net/oficina/calls/internal/calls/apns	0.007s
ok  	amadan.net/oficina/calls/internal/calls/hub	0.285s
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	0.003s
ok  	amadan.net/oficina/calls/internal/calls/seal	0.002s
ok  	amadan.net/oficina/calls/internal/callstest	8.388s
?   	amadan.net/oficina/calls/protocol	[no test files]
=== migration-check ===
go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check
rastrillo migration check: models and migrations agree
=== race ===
CGO_ENABLED=1 go test -race ./internal/...
ok  	amadan.net/oficina/calls/internal/calls	8.391s
ok  	amadan.net/oficina/calls/internal/calls/apns	1.020s
ok  	amadan.net/oficina/calls/internal/calls/hub	2.682s
?   	amadan.net/oficina/calls/internal/calls/icons	[no test files]
ok  	amadan.net/oficina/calls/internal/calls/relay	1.015s
ok  	amadan.net/oficina/calls/internal/calls/seal	1.011s
ok  	amadan.net/oficina/calls/internal/callstest	23.845s
diff --git a/native/apple/Sources/CallsKit/Call.swift b/native/apple/Sources/CallsKit/Call.swift
index 2df695f..6484edb 100644
--- a/native/apple/Sources/CallsKit/Call.swift
+++ b/native/apple/Sources/CallsKit/Call.swift
@@ -135,7 +135,7 @@ private final class Events: NSObject, BridgeListenerProtocol {
var lines = [
"in a call: \(bridge != nil); muted \(muted); microphone track \(bridge != nil && media.localAudio != nil)",
"people here: \(self.state?.peers.count ?? 0)",
- "microphone meter: \(levels.mic.silent ? "silent" : "step \(levels.mic.step)"), speaking \(levels.mic.speaking), sending from \(audio.inputSource.isEmpty ? "-" : audio.inputSource)",
+ "microphone meter: \(levels.mic.silent ? "silent" : "step \(levels.mic.step)"), speaking \(levels.mic.speaking), sending from \(levels.mic.source.isEmpty ? "-" : levels.mic.source)",
]
if let health = audioHealth { lines.append("audio health: \(health.summary)") }
#if os(macOS)