PCCproject / PCC-Uspace

The userspace implementations of PCC.
BSD 3-Clause "New" or "Revised" License
119 stars 61 forks source link

Variable type bug when passing values from C++ to python code. #21

Open zxxia opened 3 years ago

zxxia commented 3 years ago

https://github.com/PCCproject/PCC-Uspace/blob/2c4853a22663f086fae073b72bfff084a30012fb/src/pcc/rate_control/pcc_python_rc.cpp#L162

The latency values here are doubles. Treating as long variables will make them zeros and lead all RTT samples to be zeros. Thus, this will cause a wrong observation to be fed into the RL model.