Skip to content

wantsExtendedDynamicRangeContent is only available in iOS 17.0 or newer #3

Closed

Description

@ijuniorfu

Activity

  1. superuser404notfound commented on May 10, 2026

    @superuser404notfound
    Owner

    Fixed in 0be1624. The #available(iOS 16.0, macOS 13.0, *) annotation around wantsExtendedDynamicRangeContent was wrong; the property is iOS 17.0+ / macOS 14.0+. Corrected to match Apple's actual minimums.

    Package deployment target stays at iOS 16 / tvOS 16 / macOS 14; on iOS 16 the property is just skipped at runtime, no behavioral regression. tvOS has no equivalent property and uses sample-buffer attachments + the dvcC atom path, which this change doesn't touch.

    Thanks for the report!

  2. ijuniorfu commented on May 10, 2026

    @ijuniorfu
    Author

    Fixed in 0be1624. The #available(iOS 16.0, macOS 13.0, *) annotation around wantsExtendedDynamicRangeContent was wrong; the property is iOS 17.0+ / macOS 14.0+. Corrected to match Apple's actual minimums.

    Package deployment target stays at iOS 16 / tvOS 16 / macOS 14; on iOS 16 the property is just skipped at runtime, no behavioral regression. tvOS has no equivalent property and uses sample-buffer attachments + the dvcC atom path, which this change doesn't touch.

    Thanks for the report!

    This project is fantastic; it would be even better if there were an iOS demo.

  3. superuser404notfound commented on May 10, 2026

    @superuser404notfound
    Owner

    Thanks a lot!! There will be an iOS version once the tvOS build is stable and live on the app store! We are currently working on the engine which takes some time because its made from the ground up.

  4. ijuniorfu commented on May 14, 2026

    @ijuniorfu
    Author

    Thanks a lot!! There will be an iOS version once the tvOS build is stable and live on the app store! We are currently working on the engine which takes some time because its made from the ground up.

    Does player.load support headers? This feature is also commonly used.

  5. superuser404notfound commented on May 14, 2026

    @superuser404notfound
    Owner

    Just shipped in 9e2281d. Use LoadOptions.httpHeaders:

    var options = LoadOptions()
    options.httpHeaders = [
        "Authorization": "Bearer \(token)",
        "X-Custom-Header": "value"
    ]
    try await engine.load(url: sourceURL, options: options)

    Plumbs through to every request the engine makes against the source URL (HEAD probe + Range or streaming GETs in the AVIO reader, on both the native AVPlayer path and the dav1d software path). Headers persist through internal pipeline rebuilds too, like a mid-playback audio-track switch.

    Not (yet) forwarded to:

    • selectSidecarSubtitle(url:), separate load entry that has its own URL.
    • The AVPlayer instance itself (it only ever fetches from the engine's loopback HLS server, never the source URL).

    Let me know if you hit anything!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions