Baseflow / XamarinMediaManager

Cross platform Xamarin plugin to play and control Audio and Video
https://baseflow.com
MIT License
761 stars 304 forks source link

CANNOT PLAY AUDIO FILE USING PLUGIN.MEDIAMANAGER ANDROID 9.0 UPWARD #872

Closed onlinespec closed 1 year ago

onlinespec commented 1 year ago

πŸ’¬ Questions and Help

Please I need your help. This great tool works for me in IOS and ANDROID. I just notice that if I want to play an mp3 file using from URL file, it plays very well from ANDROID 8 downwards. But it just does not play from Android 9.0 upward.

BUT IT PLAYS ON A LOCAL FILE

this is my code IMediaItem mediaItem = await CrossMediaManager.Current.Play("http://reset.spoudazo.com.ng/messages/No Fear Here (Faith Feast) Day 1.mp3"); No exception at all

Thank you

For questions or help we recommend checking:

ligeirow commented 1 year ago

share you project please i try several times and not run anything video on visual studio 2022 media manager 1.1.1 only black screen

onlinespec commented 1 year ago

share you project please i try several times and not run anything video on visual studio 2022 media manager 1.1.1 only black screen

        var mediaInfo = CrossMediaManager.Current;
                string path = "http://reset.spoudazo.com.ng/messages/No Fear Here (Faith Feast) Day 1.mp3";
                    IMediaItem currentAudioItem = await mediaInfo.Play(path);

ALSO TRIED

    var mediaInfo = CrossMediaManager.Current;
            string path ="http://reset.spoudazo.com.ng/messages/No%20Fear%20Here%20(Faith%20Feast)%20Day%201.mp3";
            IMediaItem currentAudioItem = await mediaInfo.Play(path);

Visual Studio 2022

IOS is working ok (Local & URL) Android Plays local file and url on android 8 and earlier but does not play from 9.0 and latter

ligeirow commented 1 year ago

Do you have any project.play video.stream?

Get Outlook for Androidhttps://aka.ms/ghei36


From: onlinespec @.> Sent: Tuesday, August 9, 2022 5:27:37 PM To: Baseflow/XamarinMediaManager @.> Cc: ligeirow @.>; Comment @.> Subject: Re: [Baseflow/XamarinMediaManager] CANNOT PLAY AUDIO FILE USING PLUGIN.MEDIAMANAGER ANDROID 9.0 UPWARD (Issue #872)

share you project please i try several times and not run anything video on visual studio 2022 media manager 1.1.1 only black screen

            var mediaInfo = CrossMediaManager.Current;
            string path1 = "http://reset.spoudazo.com.ng/messages/No Fear Here (Faith Feast) Day 1.mp3";
                    IMediaItem currentAudioItem = await mediaInfo.Play(path);

Visual Studio 2022

IOS is working ok (Local & URL) Android Plays local file

β€” Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBaseflow%2FXamarinMediaManager%2Fissues%2F872%23issuecomment-1209840445&data=05%7C01%7C%7C187f27d129ce4148510208da7a459a1b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637956736645082486%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=nMiea55znoJMZYfWTh4ktwtLWbx4S8EmBifqsA3gJ00%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB5OEE2JFKBRPR6ERJ25K33VYK5LTANCNFSM56ABMCGA&data=05%7C01%7C%7C187f27d129ce4148510208da7a459a1b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637956736645082486%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=sieErbRwU%2Fd1QehPwf9uHb3N2bE2nr%2BB5zWDW3qYYsE%3D&reserved=0. You are receiving this because you commented.Message ID: @.***>

onlinespec commented 1 year ago

@ligeirow For now NO. am just interested in audio for now.

ligeirow commented 1 year ago

try please i need video but media manager not work

[cid:a55a7b94-a9b8-429a-a800-9cf64e80b232]

Connect: Facebookhttps://www.facebook.com/adriano.nascimento.357 | LinkedInhttps://www.linkedin.com/in/adriano-nascimento-90150023/http://blog.rht.com/


De: onlinespec @.> Enviado: terça-feira, 9 de agosto de 2022 20:51 Para: Baseflow/XamarinMediaManager @.> Cc: ligeirow @.>; Mention @.> Assunto: Re: [Baseflow/XamarinMediaManager] CANNOT PLAY AUDIO FILE USING PLUGIN.MEDIAMANAGER ANDROID 9.0 UPWARD (Issue #872)

@ligeirowhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fligeirow&data=05%7C01%7C%7Cb07ca73492fe4cf2b40708da7a48e836%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637956750799932990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZrwlwJeRb4Z7UFQMzF9QKB7B68ZS%2F10RZd5qYj8qyfU%3D&reserved=0 For now NO. am just interested in audio for now.

β€” Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBaseflow%2FXamarinMediaManager%2Fissues%2F872%23issuecomment-1209883059&data=05%7C01%7C%7Cb07ca73492fe4cf2b40708da7a48e836%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637956750799932990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b%2FVdD4LkdIE%2FLP0FQxE4VAaxvQnxi%2FJh%2FcbGDJPjgYc%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB5OEE33TRW3XJ3AEIZURO3VYLAEJANCNFSM56ABMCGA&data=05%7C01%7C%7Cb07ca73492fe4cf2b40708da7a48e836%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637956750799932990%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mrqLU7Ob8rwHtjTIHvAZd0UTWDuYGGGd6EjVPnD%2Ffb0%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

arahmancsd commented 1 year ago

for mp3, please have a look at #876

onlinespec commented 1 year ago

I will check it out Thanks

On Fri, 4 Nov 2022 at 11:55 AM, Abdul Rahman @.***> wrote:

for mp3, please have a look at #876 https://github.com/Baseflow/XamarinMediaManager/issues/876

β€” Reply to this email directly, view it on GitHub https://github.com/Baseflow/XamarinMediaManager/issues/872#issuecomment-1303256890, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACL5E6VG2QVUCFMTNSKMRX3WGTTRBANCNFSM56ABMCGA . You are receiving this because you authored the thread.Message ID: @.***>

[image: 29fea1d354aeccda3626f82a461c99a55e74a5f1] ​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​--

Engr. Michael Alaohuru OnlineSpec Nigeria Limited Custom Software Development. DataBase Management. Biometric Expert. Software integration Windows,Web and mobile +2347033084309.