Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jitsi-meet/react/features/base/react-native/AudioMode.js

20 lines
414 B

import { NativeModules } from 'react-native';
import { Platform } from '../react';
let AudioMode;
if (Platform.OS === 'ios') {
AudioMode = NativeModules.AudioMode;
} else {
// TODO(saghul): Implement for Android
AudioMode = {
DEFAULT: 0,
AUDIO_CALL: 1,
VIDEO_CALL: 2,
setMode() {
return Promise.resolve(null);
}
};
}
export default AudioMode;