Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • VLCKit VLCKit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 114
    • Issues 114
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VideoLANVideoLAN
  • VLCKitVLCKit
  • Merge requests
  • !208

VLCMediaPlayer: update time and position implementation to libvlc v4

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Felix Paul Kühne requested to merge fkuehne/VLCKit:update-time-position into master Aug 11, 2022
  • Overview 19
  • Commits 8
  • Pipelines 10
  • Changes 4

This removes the previously cached ObjC objects for the time and moves to a struct from libvlc that is updated by default at a maximum every 500 ms, often less. To save energy, the API user can configure an even more rare time interval.

However, time and position will always return the current values at subsecond precision based on interpolation against libvlc and the system time.

The currently known VLCKit API and its behavior including notifications and delegate calls remains unchanged.

Additionally, this MR adds a helper to VLCTime that renders a stringValue with sub seconds.

Depends on !207 (merged)

Edited Sep 03, 2022 by Felix Paul Kühne
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: update-time-position

VideoLAN code repository instance