viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
364 stars 108 forks source link

Videomaterial sometimes won't play on objects in Android #337

Closed HedwigAR closed 4 years ago

HedwigAR commented 4 years ago

Environment

Please provide the following information about your environment:

  1. OS: Mac
  2. Version: v2.17.0
  3. Device(s): Android Samsung Galaxy S9

Description

While the videomaterial works perfectly on iOS, sometimes it won't start on android. I see this error in the log W/SimpleExoPlayer: Player is accessed on the wrong thread. See https://google.github.io/ExoPlayer/faqs.html#what-do-player-is-accessed-on-the-wrong-thread-warnings-mean

I've searched and saw that this issue has been noticed before: https://github.com/viromedia/viro/issues/484 And has been fixed before: https://virocore.viromedia.com/v1.14.0/docs/releases https://github.com/viromedia/virocore/commit/66efb56659b6bbcde4194dee1a9000906e1942d1

Any idea what could make it act up again?

HedwigAR commented 4 years ago

It doesn't seem to be related to the exoplayer itself, as https://docs.viromedia.com/docs/virovideo-2-compare will work each time.