(self, state)
| 260 | return position, paused, doSeek, setBy |
| 261 | |
| 262 | def _handleStatePing(self, state): |
| 263 | if "latencyCalculation" in state["ping"]: |
| 264 | latencyCalculation = state["ping"]["latencyCalculation"] |
| 265 | if "clientLatencyCalculation" in state["ping"]: |
| 266 | timestamp = state["ping"]["clientLatencyCalculation"] |
| 267 | senderRtt = state["ping"]["serverRtt"] |
| 268 | self._pingService.receiveMessage(timestamp, senderRtt) |
| 269 | messageAge = self._pingService.getLastForwardDelay() |
| 270 | return messageAge, latencyCalculation |
| 271 | |
| 272 | def handleState(self, state): |
| 273 | position, paused, doSeek, setBy = None, None, None, None |
no test coverage detected