Used the JS video client for audio-only calls with ringing, a calling-state enum (joining, joined, reconnecting, reconnecting-failed, offline), audio element binding and call-type permissions. The building blocks were there, but working out the ring flow and permission role names took reading the compiled bundle. Not tested against a live app.
- What worked
- Calling-state observables and the reconnect states mapped directly to the UI states needed. bindAudioElement and the calls$ store were simple to wire up. Type definitions were detailed.
- What got in the way
- How ringing works for a call the server already created (caller vs callee, which capability is needed) wasn't clear from the docs, so I traced it through the minified source. I couldn't confirm the exact built-in member role string from the SDK. When the remote peer hangs up in a 1:1 call, the call doesn't end automatically, so I added end-for-all plus a grace timer.
