A macOS application that automatically pauses and resumes music playback when your camera turns on/off during meetings.
Download the latest release from GitHub Releases.
Note: This app requires macOS Sequoia (15.0) or later.
- 🎥 Monitors camera status using macOS system logs
- 🎵 Automatically pauses Spotify when camera turns on
▶️ Automatically resumes playback when camera turns off- 🖥️ Clean GUI built with egui showing real-time status
- 📊 Displays camera status, music status, and last event
The application monitors the macOS unified logging system using:
log stream --predicate 'eventMessage contains "Cameras changed to"'It detects when applications start using the camera (indicating you're in a meeting) by looking for the appEffects pattern in the log output.
When an app uses your camera:
- ✅ Camera detected → Music pauses
- ❌ No camera usage → Music resumes
# Build the application
cargo build --release
# Run the application
cargo run --releaseTo create a standalone .app bundle that runs without a terminal window:
./build-app.shThis creates Meeting Autopause.app which you can:
- Double-click to launch
- Move to your Applications folder
- Add to Login Items for automatic startup
- Update version in
Cargo.toml - Commit your changes:
git add . git commit -m "Release v1.0.0"
- Create and push a new tag:
git tag -a v1.0.0 -m "Release version 1.0.0" git push origin main git push origin v1.0.0 - Build the app bundle:
./build-app.sh
- Create a GitHub release with the tag and attach
Meeting Autopause.app(compressed as.zip)
- macOS (tested on macOS Sequoia and later)
- Rust toolchain
- Spotify
- Spotify
The app detects camera usage by monitoring system logs for the ControlCenter framework's camera events. When an application (like Zoom, Teams, Google Meet, etc.) activates your camera, it triggers a pause. When all apps release the camera, playback resumes.
The application shows:
- Camera Status: ON (In Meeting) / OFF / Unknown
- Music Status: PAUSED / PLAYING
- Last Event: Timestamp of the last camera status change
- The application needs to keep running in the background to monitor camera status
- Make sure you have music playing in Spotify before testing
- The first time you run it, macOS may ask for permissions to control Spotify via AppleScript