Skip to content

Missing constants for CMFormatDescription.MediaSubType #23217

@jeremy-visionaid

Description

@jeremy-visionaid

Apple platform

iOS, Mac Catalyst

Framework version

net9.0-*

Affected platform version

.NET 9.0.301

Description

The static fields for identifying the MediaSubType of a CMFormatDescription appear to be missing:
https://developer.apple.com/documentation/coremedia/cmformatdescription/mediasubtype-swift.struct

On the Apple side, MediaSubType is a struct with a FourCharCode (UInt32) member. On the dotnet side it's a uint, but I can't see any constants available to compare to a known value (e.g. MediaSubType.pixelFormat_422YpCbCr8)

Steps to Reproduce

N/A

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions