muslimtv / flutter_playout

AV Playout in Flutter
BSD 3-Clause "New" or "Revised" License
154 stars 94 forks source link

the Widget blocks the UI #33

Open darwin-morocho opened 4 years ago

darwin-morocho commented 4 years ago

I am creating an interface like this

In the first render time the widget blocks the UI and also when the widget was rendered and the parameter url changes the widget blocks the UI again.

Every time I click on one of the items in the list the video url changes

KhuramKhalid commented 4 years ago

Unfortunately there isn't a way to optimise the player loading because we're using platform views which run on UI thread. There isn't any way to make them run on separate thread. This causes the whole player setup to cause jitter or blocking on the UI. Unless this feature is added to the platform views there's nothing much we can do.