I am using LiveKit SDK in my iOS app for live audi...
# ask-ai
d
I am using LiveKit SDK in my iOS app for live audio commentary. The audio plays in the foreground and background, but I want to control it from the lock screen and control center like a music player. How can I achieve this?
t
Thanks for reaching out, Abinash. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hi there! Are you working on integrating LiveKit with Swift, Objective-C, or perhaps another framework for your iOS app? I’d love to help you out with detailed guidance on setting up lock screen and control center controls using
MPRemoteCommandCenter
and
MPNowPlayingInfoCenter
. Just let me know how I can assist you best! Sources: ios/LiveKitReactNativeModule.swift | lib/src/track/audio_management.dart | Camera & microphone | LiveKit Docs | callkit/README.md
d
I tried this as well but didn’t worked can you send me any sample project where its working currently.
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!