dotnet / dotnet/android-libraries

[Media3] ExportException: "codecInfo" not bound

Open
#1,263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
317
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
17

Description

### Android framework version

net9.0-android

### Affected platform version

.NET 9

### Description

I'm interested in the [codecInfo](https://developer.android.com/reference/androidx/media3/transformer/ExportException#codecInfo()) field of [ExportException](https://developer.android.com/reference/androidx/media3/transformer/ExportException), which is currently not bound

I'm using `Xamarin.AndroidX.Media3.Transformer 1.7.1.1`

### Steps to Reproduce

This doesn't compile because the `CodecInfo` property is missing
`var codecInfo = ExportException.CreateForUnexpected(null).CodecInfo`

### Did you find any workaround?

I could use reflection or call `ToString()` on the exception to parse the info from the CodecInfo, both are hacks that I'd prefer not to use

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.