KEMBAR78
[AVFoundation] Missing AVAssetExportSessionPreset enum values · Issue #23267 · dotnet/macios · GitHub
Skip to content

[AVFoundation] Missing AVAssetExportSessionPreset enum values #23267

@tipa

Description

@tipa

Apple platform

iOS & macOS

Framework version

net9.0-*

Affected platform version

.NET 9

Description

The AVAssetExportSessionPreset enum is missing values like HEVCHighestQuality.
Additionally, the enum value PresetHevc1920x1080 is annotated as deprecated with "Use 'AVOutputSettingsPreset.PresetHevc1920x1080' instead" - but that is a different enum - how would I use this with the current signature of the AVAssetExportSession constructor?

Steps to Reproduce

var exporter = new AVAssetExportSession(asset, AVAssetExportSessionPreset.HEVCHighestQuality);

Did you find any workaround?

I can use the constructor that takes a string. But I need to use Xcode to find out the correct string value since the global variables don't appear to be bound either

Build logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions