NetworkDetection: fix bandwidth measurement always returning zero
Fix bandwidth measurement always returning zero
Problem: Bandwidth measurement never worked due to two bugs:
- Read netCharBandwidth which FreeRDP never populates on server side
- Per-frame Start/Stop caused client to measure timeDelta=0 (Start and Stop PDUs arrived at client within the same millisecond)
Fix: Use callback timeDelta/byteCount to compute bandwidth, and manage measurement as a 500ms window in update() spanning multiple frames.
Edited by Liu Jie