Skip to content

fix(android): include microphone foreground service type for media projection#87

Closed
Xenofic wants to merge 1 commit into
livekit:masterfrom
Xenofic:fix/media-projection-microphone
Closed

fix(android): include microphone foreground service type for media projection#87
Xenofic wants to merge 1 commit into
livekit:masterfrom
Xenofic:fix/media-projection-microphone

Conversation

@Xenofic
Copy link
Copy Markdown

@Xenofic Xenofic commented May 27, 2026

Previously, the media projection service was started only with:

  • FOREGROUND_SERVICE_TYPE_MEDIA_PROJECTION

This change also includes:

  • FOREGROUND_SERVICE_TYPE_MICROPHONE (Android 11+)

This fixes cases where microphone capture stops or becomes restricted when the app goes into the background during an active screen share.

@Xenofic Xenofic closed this by deleting the head repository May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant