Skip to content

Commit

Permalink
Merge pull request #20 from ant-media/implementMicrophoneToggle
Browse files Browse the repository at this point in the history
Add ability to mute/unmute mic and open/close camera
  • Loading branch information
lastpeony authored Apr 1, 2024
2 parents f1ff4b2 + 17757c8 commit 41f2dda
Show file tree
Hide file tree
Showing 366 changed files with 2,966 additions and 67,576 deletions.
1 change: 1 addition & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ task copyDownloadableDepsToLibs(type: Copy) {
}

apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: file("../../node_modules/react-native-vector-icons/fonts.gradle")

def isNewArchitectureEnabled() {
// To opt-in for the New Architecture, you can either:
Expand Down
4 changes: 2 additions & 2 deletions example/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { AppRegistry } from 'react-native';
import App from './src/App';
//import App from './src/App';
//import App from './src/Play';
//import App from './src/Peer';
//import App from './src/conference';
import App from './src/Conference';
import { name as appName } from './app.json';

AppRegistry.registerComponent(appName, () => App);
158 changes: 158 additions & 0 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@
"react-native": "0.68.2",
"react-native-eject": "^0.2.0",
"react-native-incall-manager": "^4.0.0",
"react-native-vector-icons": "^10.0.3",
"react-native-webrtc": "111.0.0"
},
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/runtime": "^7.18.3",
"@types/react-native-incall-manager": "^3.2.1",
"@types/react-native-vector-icons": "^6.4.18",
"babel-plugin-module-resolver": "^4.0.0",
"metro-react-native-babel-preset": "^0.71.0"
}
Expand Down
Loading

0 comments on commit 41f2dda

Please sign in to comment.