0

I'm using LibVLCSharp.MAUI in my MAUI app to access RTSP cameras.

Everything works fine in Debug mode both for Android and iOS, then when attempting to publish the app in the stores I noticed first the playback was not working for Android.

I was able to find information about this and noticed that since I was using r8 there was an issue with trimming. This got resolved adding the r8.cfg file as explained in a different post.

Now I'm having the exact same issue with the iOS release, but this time I cannot find any information about anyone else having this problem.

Could someone please help?

1 Answer 1

0

Turns out it's not the same problem as in Android, the MediaPlayerElement does work in release and the issue is not related to linker or trimming. The issue is related to MediaPlayerElement requesting a locations permissions (probably for casting or something) and accepting the permission causes the Mediaplayer not to work.

Sign up to request clarification or add additional context in comments.

2 Comments

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.
logs and code are missing from your question

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.