Xam.Plugins.Android.ExoPlayer.Transformer
2.18.11
See the version list below for details.
Requires NuGet 2.14 or higher.
dotnet add package Xam.Plugins.Android.ExoPlayer.Transformer --version 2.18.11
NuGet\Install-Package Xam.Plugins.Android.ExoPlayer.Transformer -Version 2.18.11
<PackageReference Include="Xam.Plugins.Android.ExoPlayer.Transformer" Version="2.18.11" />
paket add Xam.Plugins.Android.ExoPlayer.Transformer --version 2.18.11
#r "nuget: Xam.Plugins.Android.ExoPlayer.Transformer, 2.18.11"
// Install Xam.Plugins.Android.ExoPlayer.Transformer as a Cake Addin #addin nuget:?package=Xam.Plugins.Android.ExoPlayer.Transformer&version=2.18.11 // Install Xam.Plugins.Android.ExoPlayer.Transformer as a Cake Tool #tool nuget:?package=Xam.Plugins.Android.ExoPlayer.Transformer&version=2.18.11
ExoPlayer Plugin for Xamarin
Xamarin bindings library for the Google ExoPlayer library.
ExoPlayer is an application level media player for Android. It provides an alternative to Android’s MediaPlayer API for playing audio and video both locally and over the Internet. ExoPlayer supports features not currently supported by Android’s MediaPlayer API, including DASH and SmoothStreaming adaptive playbacks. Unlike the MediaPlayer API, ExoPlayer is easy to customize and extend, and can be updated through Play Store application updates.
Support
- Feel free to open an issue. Make sure to use one of the templates!
- Commercial support is available. Integration with your app or services, samples, feature request, etc. Email: hello@baseflow.com
- Powered by: baseflow.com
Documentation
- The developer guide provides a wealth of information.
- The class reference documents ExoPlayer classes.
- The release notes document the major changes in each release.
- Follow our developer blog to keep up to date with the latest ExoPlayer developments!
Using ExoPlayer
The ExoPlayer plugin is available on Nuget.
var HttpDataSourceFactory = new DefaultHttpDataSource.Factory().SetAllowCrossProtocolRedirects(true);
var MainDataSource = new ProgressiveMediaSource.Factory(HttpDataSourceFactory);
var Exoplayer = new IExoPlayer.Builder(Context).SetMediaSourceFactory(MainDataSource).Build();
MediaItem mediaItem = MediaItem.FromUri(Android.Net.Uri.Parse("https://ia800806.us.archive.org/15/items/Mp3Playlist_555/AaronNeville-CrazyLove.mp3"));
Exoplayer.AddMediaItem(mediaItem);
Exoplayer.Prepare();
Exoplayer.PlayWhenReady = true;
See the Exoplayer.Droid sample app for further details.
IMPORTANT: Exoplayer 2.9.0 and up requires Visual Studio 2019 with R8 and D8. You also need to enable AAPT2. Readmore at: https://devblogs.microsoft.com/xamarin/androids-d8-dexer-and-r8-shrinker/
Thanks to
- Nathan Barger for doing the initial porting work
- MKuckert for helping with bindings and samples
- bspinner for helping with bindings and samples
License
- ExoPlayerXamarin plugin is licensed under MIT
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android32.0 is compatible. net6.0-android33.0 is compatible. net7.0-android was computed. net7.0-android33.0 is compatible. net8.0-android was computed. |
-
net6.0-android32.0
- Xam.Plugins.Android.ExoPlayer.Core (>= 2.18.11)
-
net6.0-android33.0
- Xam.Plugins.Android.ExoPlayer.Core (>= 2.18.11)
-
net7.0-android33.0
- Xam.Plugins.Android.ExoPlayer.Core (>= 2.18.11)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Xam.Plugins.Android.ExoPlayer.Transformer:
Package | Downloads |
---|---|
Xam.Plugins.Android.ExoPlayer
Xamarin bindings for ExoPlayer |
|
CommunityToolkit.Maui.MediaElement
MediaElement is a view for playing video and audio in your .NET MAUI app. |
|
Xam.Plugins.Android.AmazonExoPlayerPort
Xamarin bindings for Amazon ExoPlayer Port |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Xam.Plugins.Android.ExoPlayer.Transformer:
Repository | Stars |
---|---|
CommunityToolkit/Maui
The .NET MAUI Community Toolkit is a community-created library that contains .NET MAUI Extensions, Advanced UI/UX Controls, and Behaviors to help make your life as a .NET MAUI developer easier
|
|
functionland/fx-files
You want to literally own your files? This is something won't happen on traditional cloud services in a lifetime. And this is something is going to happen in a glance with "Fx Files" app from now on. It is a file manager which stores everything on Fula blockchain network of Bloxes.
|
Version | Downloads | Last updated |
---|---|---|
2.19.1 | 186,670 | 8/28/2023 |
2.19.1-xamarin1 | 565 | 8/29/2023 |
2.18.11 | 37,685 | 2/23/2023 |
2.18.10 | 90,339 | 2/16/2023 |
2.18.10-xamarin1 | 1,467 | 3/23/2023 |
2.18.9 | 1,407 | 2/6/2023 |
2.18.9-xamarin.1 | 1,519 | 2/6/2023 |
2.18.8 | 8,732 | 12/8/2022 |
2.18.7 | 303 | 12/7/2022 |
2.18.6 | 4,278 | 11/29/2022 |
2.18.5 | 399 | 11/18/2022 |
2.18.4 | 355 | 11/15/2022 |
2.18.3 | 1,451 | 9/2/2022 |
2.16.1 | 1,784 | 9/2/2022 |