Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The Android implementation of the MediaElement raises an unexpected Stopped state change when playback starts. This is the state change you would expect raised when playback stops. The Windows, Mac and iOS implementations work correctly.
Here the flow of state changes right now for the Android implementation:
Opening
Stopped
Paused
Buffering
Playing
Expected Behavior
This is the flow that is expected:
Opening
Paused
Buffering
Playing
Steps To Reproduce
- Open and run the project from the reproduction repository
- Make sure you are target at an Android device/emulator
- Click the button and observe the state changes in the bottom label
Link to public reproduction project repository
https://bitbucket.org/KeithBoynton/android-mediaelement-playstate-issue
Environment
- .NET MAUI MediaElement: 8.0.0
- OS: Any Android
- .NET MAUI: 10.0.31
Anything else?
This issue is actually resolved in this PR: #2897 however that PR has yet to be merged and is still in a draft state.
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
The Android implementation of the MediaElement raises an unexpected Stopped state change when playback starts. This is the state change you would expect raised when playback stops. The Windows, Mac and iOS implementations work correctly.
Here the flow of state changes right now for the Android implementation:
Opening
Stopped
Paused
Buffering
Playing
Expected Behavior
This is the flow that is expected:
Opening
Paused
Buffering
Playing
Steps To Reproduce
Link to public reproduction project repository
https://bitbucket.org/KeithBoynton/android-mediaelement-playstate-issue
Environment
Anything else?
This issue is actually resolved in this PR: #2897 however that PR has yet to be merged and is still in a draft state.