Skip to content

CMTime.positiveInfinity unavailable in Skip; how to seek to live edge for HLS? #19

@marcprux

Description

@marcprux

Discussed in https://github.com/orgs/skiptools/discussions/581

Originally posted by ajayjapan January 16, 2026
I’m working with an HLS live stream and need to seek to the live edge before starting playback.

On Apple platforms, this is commonly done with AVPlayer using:

player?.seek(to: CMTime.positiveInfinity)

However, in Skip, this API is not available and results in a compile-time error:

type 'CMTime' has no member 'positiveInfinity'

Because of this, it’s unclear how to correctly seek to the live position of an HLS stream when using Skip.

Is there another recommened way to seek to the live edge for HLS streams?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions