googleinterns / screen-latency-testing

Apache License 2.0
3 stars 1 forks source link

Fix app crash on video frame read #11

Closed aquatiko closed 4 years ago

aquatiko commented 4 years ago

Previously app was trying to read all video frames in a single request to mediaMetadataRetriever, now video file is loaded in chunks.

Fixes: #10

Looks like some limitation on mediaMetadataRetriever API being unable to read all frames at once. Note: A disadvantage obeserved while reading in chunks was longer load time opposed to a single load requests (which crashes on large requests).