[Media3] ExportException: "codecInfo" not bound

Open
#1,263 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, csharp
Domain
mobile

Research direction

Start at the Xamarin.AndroidX.Media3.Transformer binding for ExportException and compare it with the linked AndroidX Media3 ExportException API, focusing on the missing CodecInfo member. Verify the provided ExportException.CreateForUnexpected(null).CodecInfo example compiles and that the generated binding exposes the property.

Written by the indexing model from the issue text.

Description

Android framework version

net9.0-android

Affected platform version

.NET 9

Description

I'm interested in the codecInfo field of 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

Dominant language
C#
Stars
318
Forks
73
Avg merge
2d 6h
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/android-libraries

All issues in dotnet/android-libraries

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.