hi, live-input's current state isn't getting updated when user stops streaming WebRTC (WHIP/WHEP). t

hi, live-input's current state isn't getting updated when user stops streaming WebRTC (WHIP/WHEP). this just recently started happening.
this keeps returning true.
isConnected: json.result.status?.current?.state === 'connected'

this is the endpoint we're calling:
https://api.cloudflare.com/client/v4/accounts/accountId/stream/live_inputs/input.inputId
Was this page helpful?