question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose DataSource.Factory.CreateDataSource()

See original GitHub issue

🏗 Enhancement Proposal

DataSource.Factory.CreateDataSource() is not exposed in the current bindings.

Pitch

This is an important method used by frameworks such as XamarinMediaManager.

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
sschaubcommented, Dec 8, 2022

Does it work properly in XamarinMediaManager with your binding changes?

With this change, I was able to create a build of XamarinMediaManager that works for XF 5. I believe this change is just restoring bindings that were in effect for earlier versions of ExoPlayerXamarin, so I doubt it will introduce a regression for downstream projects.

0reactions
martijn00commented, Dec 8, 2022

I’ve fixed the last errors now and pushed some other changes. New version is online at nuget. I’ll push this to MediaManager too, not sure if it works after that…

Read more comments on GitHub >

github_iconTop Results From Across the Web

DataSource$Factory.createDataSource - Java
Returns a new {@link CacheDataSource} instance. If {@code offline} is true, it can only read * data from the cache.
Read more >
Customization
Factory allows an application to customize the way in which a MediaSource is created from a MediaItem . DataSource – ExoPlayer's upstream ...
Read more >
[Question] Exposing Raw Manifest File. · Issue #4862
Use DashMediaSource.Factory.createMediaSource(DashManifest) (or SmoothStreaming equivalent) to create your MediaSource.
Read more >
Factory Pattern Understanding
Create an interface for each datasource with all of the method that you want it to expose. Make the class itself internal or...
Read more >
Class HlsMediaSource.Factory
dataSourceFactory - A data source factory that will be wrapped by a DefaultHlsDataSourceFactory to create DataSource s for manifests, segments and keys. Factory....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found