A control bar button that toggles the local camera on and off. Checks camera permissions before toggling.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
rtkClient |
RealtimeKitClient |
✅ | - | The RealtimeKit client instance |
import RealtimeKitUI
let videoButton = RtkVideoButtonControlBar(rtkClient: rtkClient)
view.addSubview(videoButton)