Removed NativeVersion

pull/44/head
Nathan Ricci 2022-02-21 23:53:34 -05:00
parent d34251e57a
commit 2aec4982fb
1 changed files with 1 additions and 2 deletions

View File

@ -302,10 +302,9 @@ public class MediaPlayerService : Service,
{
try
{
if (NativeVersion.IsAtLeast(21))
if (true)
{
MediaMetadataRetriever metaRetriever = new MediaMetadataRetriever();
await mediaPlayer.SetDataSourceAsync(ApplicationContext, AndroidNet.Uri.Parse(AudioUrl));
await metaRetriever.SetDataSourceAsync(AudioUrl, new Dictionary<string, string>());