Get Session Status
srift_session_statusGet current session details: id, role (host/guest), connection state, pending join requests, peer count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Active role: "host", "guest", or null | |
| peerCount | No | Number of connected peers in the room | |
| sessionId | No | Active session ID, if any | |
| isConnected | No | True if connected to signaling server | |
| pendingJoins | No | List of pending guest join requests waiting for host approval |