When I receive & accept an audio only call on iOS, the statusbar shows a green pill on the left and when I raise the phone to my ear, the screen turns black (proximity sensor). Manually switching from earpiece to speaker temporarily disables the proximity sensing.
When I start an audio only call and the other end accepts, no green pill is shown and the proximity sensing does not trigger. Changing manually from earpiece to speaker and back does not activate sensing.
When leaving the app with the call still active, an orange microphone pill appears at the top left, not the expected green telephone pill.
It seems that the correct CallKit state is only applied on the receiving end, not on the calling end.
These are the audio settings used:
await call.getOrCreate(
memberIds: receivers.map((e) => e.toString()).toList(),
ringing: true,
audio: const StreamAudioSettings(
accessRequestEnabled: true,
defaultDevice: .earpiece,
speakerDefaultOn: false,
),
videoSettings: const StreamVideoSettings(cameraDefaultOn: false),
);
pubspec.yaml:
stream_video_flutter: ^1.4.2
stream_video_push_notification: ^1.4.2
Tested on iOS 26.5
edit: an earlier version stated incorrectly that audio out is set to speaker. audio out is correctly set according to settings.
When I receive & accept an audio only call on iOS, the statusbar shows a green pill on the left and when I raise the phone to my ear, the screen turns black (proximity sensor). Manually switching from earpiece to speaker temporarily disables the proximity sensing.
When I start an audio only call and the other end accepts, no green pill is shown and the proximity sensing does not trigger. Changing manually from earpiece to speaker and back does not activate sensing.
When leaving the app with the call still active, an orange microphone pill appears at the top left, not the expected green telephone pill.
It seems that the correct CallKit state is only applied on the receiving end, not on the calling end.
These are the audio settings used:
pubspec.yaml:
Tested on iOS 26.5
edit: an earlier version stated incorrectly that audio out is set to speaker. audio out is correctly set according to settings.