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>
1 file changed,
+1
−1
native/apple/Sources/CallsKit/Call.swift+1 −1
CI passed — run details
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) |