-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
6.2.1
-
None
It appears that the media player component only reports playback position changes every 100ms, regardless of the actual playback rate of the video.
In our drone application, we have recordings that are 30 or 60fps, and we have built a 'session replay' feature wherein both video and system telemetry data are time synchronized and played back to produce a UI experience equivalent to when the drone was originally piloted.
The problem is, we look up the nearest-neighbour telemetry data to the current video frame (as informed by the mediaPlayer.position value), but if this is only being reported at 10hz, then we are effectively skipping 6 samples when replaying a 60FPS recording session and 3 samples for 30fps.
This leads to a situation where video playback is perfectly smooth at the given framerate, while the telemetry playback is choppy and no longer necessarily synchronized with the video frames.
What we would expect is that the position is updated every single frame and correlates exactly to the presentation timestamp of the underlying video file.