mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-06 10:50:13 +00:00
* replace react-native-incall-manager with @mattermost/calls-native for audio management Removes react-native-incall-manager entirely and implements audio session lifecycle, route selection, and ringtone playback directly in calls-native on both iOS (AVAudioSession) and Android (AudioManager). Adds smart priority-based auto-routing (BT > WiredHeadset > Earpiece) with user-intent pinning. Unifies AudioDevice/AudioRoute types in calls-native as the single source of truth. * feedback review * feedback on tests * feedback review * have callkit use the ringtone selected by the user * feedback review * destroy db after test * route to wired headset on android * Android bring back vibration
36 lines
765 B
TypeScript
36 lines
765 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export {
|
|
loadConfig,
|
|
loadCalls,
|
|
enableChannelCalls,
|
|
joinCall,
|
|
leaveCall,
|
|
muteMyself,
|
|
unmuteMyself,
|
|
raiseHand,
|
|
unraiseHand,
|
|
handleCallsSlashCommand,
|
|
startCallRecording,
|
|
stopCallRecording,
|
|
dismissIncomingCall,
|
|
hostMake,
|
|
hostMuteSession,
|
|
hostMuteOthers,
|
|
hostStopScreenshare,
|
|
hostLowerHand,
|
|
hostRemove,
|
|
setPreferredAudioRoute,
|
|
initializeVoiceTrack,
|
|
sendReaction,
|
|
endCall,
|
|
loadCallForChannel,
|
|
loadConfigAndCalls,
|
|
checkIsCallsPluginEnabled,
|
|
canEndCall,
|
|
getEndCallMessage,
|
|
} from './calls';
|
|
|
|
export {hasMicrophonePermission} from './permissions';
|