- 
                Notifications
    You must be signed in to change notification settings 
- Fork 63
Dash factory fix #1251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dash factory fix #1251
Conversation
| /azp run | 
| No pipelines are associated with this pull request. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you make changes, make sure to commit the updated PublicApi.*.txt files, thanks!
        
          
                source/androidx.media3/media3-exoplayer/Additions/TrackGroupArray.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                source/androidx.media3/media3-exoplayer/Additions/TrackSelectionArray.additions.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                source/androidx.media3/media3-exoplayer-dash/Additions/DashMediaSourceFactoryExtensions.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | I'm refactoring this PR now to match Google media3 API and will be removing anything that does not match. | 
…and improved enumeration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this PR adds the ImmutableList and then this all appears magically: #1243
If we merge that, then I think all are there. Let me know if I missed an API.
| 
 Looks like the other PR fixes the issue in this PR. I am going to do some more testing but it looks like I will be closing this one. | 
| Just confirmed this PR is not needed if #1243 is merged. | 
Pull Request Summary: AndroidX Libraries Updates and Enhancements
Overview
This pull request encompasses multiple improvements to the AndroidX libraries bindings, focusing on enhancing usability, fixing binding issues, and updating various library components. The changes are in Media3.
Key Changes
1. Media3 ExoPlayer DASH Enhancements 🎥
Files Modified:
source/androidx.media3/media3-exoplayer-dash/Additions/DashMediaSource.Factory.cs(new)source/androidx.media3/media3-exoplayer-dash/Additions/DashMediaSourceFactoryExtensions.cs(new)source/androidx.media3/media3-exoplayer-dash/Transforms/Metadata.xmlsource/androidx.media3/media3-exoplayer/Additions/TrackGroupArray.cs(new)source/androidx.media3/media3-exoplayer/Additions/TrackSelectionArray.additions.cs(new)Improvements:
DashMediaSource.Factoryto properly implementIMediaSourceMediaSourceIFactorySetDrmSessionManagerProviderChained,SetLoadErrorHandlingPolicyChained) that return the concrete factory type instead of the interface, enabling proper fluent chainingGetGroup(int index)method as an alias for the existingGet()methodthis[int index]for more idiomatic C# accessIEnumerable<ITrackSelection?>for iteration supportOfType<T>()method for type-filtered selection retrievalMetadata and Binding Fixes 🔧
Files Modified:
source/androidx.media3/media3-exoplayer-dash/Transforms/Metadata.xmlFixes:
Technical Benefits
For Developers:
For Maintainers:
Impact Assessment
Breaking Changes: ❌ None
New Features: ✅ Multiple
Bug Fixes: ✅ Several
Testing Recommendations
DashMediaSource.FactoryCompatibility Matrix
Commit History
c34f5cd5: [add] Enhance DashMediaSource and TrackGroupArray with fluent API and usability improvementsReady for Review: This PR enhances the AndroidX libraries with better .NET ergonomics while maintaining full backward compatibility.