Skip to content

chrisflatley/tauri-webrtc-permissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tauri WebRTC MacOS Permissions

# Install dependencies
npm i
# Ensure you have both targets
rustup target add aarch64-apple-darwin
rustup target add x86_64-apple-darwin

On macOS run the single architecture build

npm run build:x86_64
npm run build:aarch64
npm run build:universal

Single architecture works

Run either of the architecture build (src-tauri/target/x86_64-apple-darwin/release/bundle/macos or src-tauri/target/aarch64-apple-darwin/release/bundle/macos).

Click Connect and you will be prompted once for Microphone permission.

Then success (GotUserMedia: media stream).

Universal apps

Close the app, launch the univeral build (under src-tauri/target/universal-apple-darwin/release/bundle/macos).

You'll be prompted about five times.

Then success (GotUserMedia: media stream).

About

Example of universal app having multiple permissions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published