VOOZH about

URL: https://www.nuget.org/packages/Xam.Plugins.Android.ExoPlayer.Core/

โ‡ฑ NuGet Gallery | Xam.Plugins.Android.ExoPlayer.Core 2.19.1


๏ปฟ

๐Ÿ‘ Image
Xam.Plugins.Android.ExoPlayer.Core 2.19.1

Requires NuGet 2.14 or higher.

dotnet add package Xam.Plugins.Android.ExoPlayer.Core --version 2.19.1
 
 
NuGet\Install-Package Xam.Plugins.Android.ExoPlayer.Core -Version 2.19.1
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Xam.Plugins.Android.ExoPlayer.Core" Version="2.19.1" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Xam.Plugins.Android.ExoPlayer.Core" Version="2.19.1" />
 
Directory.Packages.props
<PackageReference Include="Xam.Plugins.Android.ExoPlayer.Core" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Xam.Plugins.Android.ExoPlayer.Core --version 2.19.1
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xam.Plugins.Android.ExoPlayer.Core, 2.19.1"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Xam.Plugins.Android.ExoPlayer.Core@2.19.1
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Xam.Plugins.Android.ExoPlayer.Core&version=2.19.1
 
Install as a Cake Addin
#tool nuget:?package=Xam.Plugins.Android.ExoPlayer.Core&version=2.19.1
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ExoPlayer Plugin for Xamarin

๐Ÿ‘ license
๐Ÿ‘ Build status
๐Ÿ‘ NuGet
๐Ÿ‘ NuGet Pre Release
๐Ÿ‘ GitHub tag
๐Ÿ‘ MyGet

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:
  • Powered by: baseflow.com

Documentation

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

License

  • ExoPlayerXamarin plugin is licensed under MIT
Product Versions Compatible and additional computed target framework versions.
.NET net6.0-android33.0 net6.0-android33.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-android33.0 net7.0-android33.0 is compatible.  net8.0-android net8.0-android was computed.  net9.0-android net9.0-android was computed.  net10.0-android net10.0-android was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (26)

Showing the top 5 NuGet packages that depend on Xam.Plugins.Android.ExoPlayer.Core:

Package Downloads
Xam.Plugins.Android.ExoPlayer

Xamarin bindings for ExoPlayer

Xam.Plugins.Android.ExoPlayer.Hls

Xamarin bindings for ExoPlayer

Xam.Plugins.Android.ExoPlayer.Dash

Xamarin bindings for ExoPlayer

Xam.Plugins.Android.ExoPlayer.UI

Xamarin bindings for ExoPlayer

Xam.Plugins.Android.ExoPlayer.SmoothStreaming

Xamarin bindings for ExoPlayer

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.19.1 440,031 8/28/2023
2.19.1-xamarin1 824 8/29/2023
2.18.11 57,957 2/23/2023
2.18.10 105,837 2/16/2023
2.18.10-xamarin1 1,931 3/23/2023
2.18.9 2,136 2/6/2023
2.18.9-xamarin.1 1,815 2/6/2023
2.18.8 10,442 12/8/2022
2.18.7 511 12/7/2022
2.18.6 5,315 11/29/2022
2.18.5 648 11/18/2022
2.18.4 560 11/15/2022
2.18.3 2,075 9/2/2022
2.18.1 634 9/2/2022
2.16.1 8,192 9/2/2022
2.14.6 13,470 8/29/2022
2.14.3 781 8/11/2022
2.14.2 769 8/9/2022
2.11.8 422,916 8/10/2020
2.11.7 816 8/10/2020
Loading failed