Getting value of dynamic element

I’d like to get the video duration and the current time where the video is

and I’m using these two lines to get those.

duration = driver.find_element(AppiumBy.ID, '').text
ccurrent_time = driver.find_element(AppiumBy.ID, '').text

However, they are very slow, and I can’t read the real progress of the video. Is there any alternative?

  1. how slow it is?
  2. try to add waitForIdleTimeout capability with 0 -> more to read