Use MPSC channel instead of Arc<Mutex<_>> for the audio graph
Open
enhancement
- Dominant language
- Rust
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Instead of sharing the graph between the engine and RPC threads, let the engine own the graph and the RPC handlers send messages via an MPSC channel to fetch/mutate the graph.
Contributor guide
No contributing guide indexed for this repository
Research direction
No files or tests are named. Start by locating the audio engine's graph ownership and the JSON-RPC handlers, then trace how they currently share the graph; done means the engine owns it and RPC handlers communicate through an MPSC channel for graph fetches and mutations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- audio-video-rtc, backend-api-design
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100