In IOS setMicrophoneEnabled(true) through Error
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- audio-video-rtc, mobile
Research direction
Start by reading LocalAudioTrack.startCapture in package:livekit_client/src/track/local/audio.dart, where the reported AudioProcessingException(platformUnavailable) originates. Trace how setMicrophoneEnabled(true) reaches that call on iOS and check linked pull request #1212 for work already underway; done means the microphone can be enabled without this error.
Written by the indexing model from the issue text.
Description
Hi I am facing this issue on IOS, each time it stuck the flow at setMicrophoneEnabled(true), How to fix it?
flutter: ENABLING MICROPHONE...
flutter: ========== LIVEKIT INIT ERROR ==========
flutter: ERROR: AudioProcessingException(platformUnavailable): audio device module is unavailable
flutter: #0 LocalAudioTrack.startCapture (package:livekit_client/src/track/local/audio.dart:92:9)
flutter: <asynchronous suspension>
flutter: #1 Track.start (package:livekit_client/src/track/track.dart:113:5)
flutter: <asynchronous suspension>
flutter: #2 LocalParticipant._publishAudioTrack (package:livekit_client/src/participant/local.dart:179:7)
flutter: <asynchronous suspension>
flutter: #3 SerialRunner.run (package:livekit_client/src/support/serial_runner.dart:45:14)
flutter: <asynchronous suspension>
flutter: #4 LocalParticipant.publishAudioTrack (package:livekit_client/src/participant/local.dart:157:20)
flutter: <asynchronous suspension>
flutter: #5 _PrivateAudioCallState.initLiveKit (package:vibetag/screens/chat_screens/calling/voice_calling/private_voice_calling/screen/private_audio_call.dart:487:9)
flutter: <asynchronous suspension>
- Dominant language
- Dart
- Stars
- 421
- Forks
- 260
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from livekit/client-sdk-flutter
-
`jwtPayload.roomConfiguration` returns null fields for tokens from LiveKit server SDKsPossibly taken @RaphaelFakhri claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
livekit/client-sdk-flutter#1243 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
livekit/client-sdk-flutter#1227 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
livekit/client-sdk-flutter#1221 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
livekit/client-sdk-flutter#1219 · 1 reaction ·
Maintainers usually reply within 1 day
-
iOS: ADM unavailable when a second Flutter engine replaces flutter_webrtc's sharedSingletonPossibly taken @hiroshihorie claimed this 32 days ago. Open
livekit/client-sdk-flutter#1206 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in livekit/client-sdk-flutter
Similar issues
-
area: ui feature priority: medium
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
AimesSoft/NipaPlay-Reload#1022 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
maplibre/flutter-maplibre-gl#1094 ·
Maintainers usually reply within 1 day
-
bug to check
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
zjs81/meshcore-open#602 · 3 comments ·
Maintainers usually reply within 1 day