SOFTENG310-Team4 / SMARTJ

SMARTJ is a web application designed to help active job seekers practice their interview skills and find available jobs in their field of study. Developed by Team 4 as part of the SOFTENG 310 course at the University of Auckland.
MIT License
0 stars 11 forks source link

[BUG] Displayed time of recorded interview is incorrect #25

Closed RusiruD closed 3 months ago

RusiruD commented 3 months ago

The displayed time of a recorded interview when replayed is 1 second shorter than the actual length of the recorded video. When measured the time the video takes to replay fully is 1 second longer than it displays.

Expected Behavior

When the recorded practice interview is replayed the time displayed at the bottom of the video player should match the exact length of the video.

Current Behavior

Currently the time displayed at the bottom of the video player once a practice interview is recored, is one second shorter than the actual length of the video.

Possible Solution

Perhaps the MediaRecorder entity does not stop smoothly and so doesnt update the videos metadata accurately.

Steps to Reproduce

  1. Record a interview, then click replay recording while timing the replayed video/ or using console.log of Date.now() to measure the elapsed time. It will differ to the stated length of the recording in the video player.

Context (Environment)

This issue affects us, as it means users of the app will get incorrect feedback on the length of their recorded interview and may incorrectly believe the recording did nto capture their entire answer.

Detailed Description

I am proposing to ensure that the displayed length of the video be output correctly by updating the metadata manually to ensure the displayed length is accurate.

Possible Implementation

NA