RSSI
Pre-requisite: The LiveView should be already started before making any interactions.
Setting Listener for RSSI
If the camera supports the RSSI feature. You can set a collector on the flow to receive the RSSI updates. The RSSI value is in dBm.
viewModelScope.launch {
client.signalStrength.collectLatest { rssi -> // Int?; null until the first reading, polled every 10 s
// rssi is the signal strength in dBm
}
}