Skip to content

Precise time callback on Mac os

Hello,

I have an application on mac which uses VLCKit to display the video and a graph. I need a smooth progress on the graph and therefore need a precise callback from VLCKit. Current delegate method mediaPlayerTimeChanged is called every second which gives a jerky motion in progress.

I found on stackoverflow that there is a property timeChangeUpdateInterval which can help me get more fine control but it is isn't available in the master version of the repo and the one it is available in 4.0.0a1 does not compile on mac os. I get the error Declaration of 'CGImageRef' must be imported from module 'CoreGraphics.CGImage' before it is required which points to me that it is made for iOS only as of now.

Can anyone provide more info on how to proceed.

Thanks

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information