Multiple Instances of MediaElement #2896
Replies: 2 comments
-
@ne0rrmatrix here is one Has anyone experienced something similar or know how I can use MediaElement in multiple CollectionView without the app crashing on Android or giving an error on iOS?. Second is Load more than one URL and should stream next and previous video's in backend without delay. #2427). This one is also related - How to get CarouselView current and previews UI Element. #2648. Preformance wise about MediaElement? MediaElement using 100% CPU inside CarouselView. #2642 This is not related to multiple MediaElement, but [related as a persistent MediaElement](Media Element - Persist across pages #2563). Loopback to your question - Update Media Element to add missing TODO's #2501. |
Beta Was this translation helpful? Give feedback.
-
@ne0rrmatrix just an observation. There are some discussions never answered and 80% of them is related to MediaElement, always something new, not like a general idea. Maybe there are some users who would like to use MAUI + MediaElement, but have specific needs?
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The idea of having multiple media elements in a view inside a carousel view or collection view is compelling. It works sort of in android. In windows it does not work correctly most of the time. On iOS and Mac it is incredibly problematic and breaks frequently with fixes taking a long time.
Most media players offer the option for a single instance. The idea is that you reuse a single instance to play different video's. How many people need or want to play multiple video's at the same time? Are their any real world use cases?
If we go to single model of supporting just one instance I suggest we create pages in sample app to illustrate how one might transition from inside a collection or carousel view to a single instance of media element? What do people in the community think? Am I missing anything obvious or are there a lot of use cases for having multiple independent media elements? I understand the use case of a grid of items that play video. But can we not demonstrate how to do that without creating an instance for each video? It seems like that by itself would use a lot of memory and hurt performance?
I am looking for people thoughts and opinions on this and will try and bring it up at this months monthly toolkit meeting on Thursday October 2nd.
Beta Was this translation helpful? Give feedback.
All reactions