deptofdefense / AndroidTacticalAssaultKit-CIV

Other
900 stars 321 forks source link

ATAK VIdeo Player Doesn't handle Handle a Live LL-HLS Stream Correctly #317

Open sdgirard opened 7 months ago

sdgirard commented 7 months ago

Using Media MTX to provide Secure Video using HLS I am seeing the video is not live, it's lagging behind at least 10 seconds or more. When I try play the same live video in Chrome, I can see that video is in synch the live stream with no lag. This issue is visible when play the stream in both Chrome and Atak. Atak is always behind frames.

Did a little investigation, I believe that ATAK is playing the first HLS segment it gets from the Playlist. Meanwhile, Chrome gets the playlist and determines the live segment and then asks the server to skip to that segment. I don't see this request being done by the ATAK.