sambatech / player_sdk_ios

MIT License
6 stars 7 forks source link

player_sdk_ios parou de funcionar no iOS 15.5 #101

Open douglas-queiroz opened 2 years ago

douglas-queiroz commented 2 years ago

Ao iniciar player o thumbnail aparece, porém quando clico no play o app crash.

Logs: SambaApi Requesting URL: https://fast.player.liquidplatform.com/pApiv2/v1/<hash_hidden>/<source_id> dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib

Crash inicia na classe SambaPlayer, função playbackStateHandler na lina 1289 (delegate.onLoad?()). Passando por:

  1. Classe SambaPlayer.onLoad(), crasha na lina 1760 (self.player.configureTopBar(outputsCount: self.menuItems.count))
  2. Classe SambaPlayer.configureTopBar(), crasha ma linha 1636 (_player?.removeActionButton(byName: "menuOptions"))
  3. Classe GMFPlayerViewController.removeActionButtonByName
  4. Classe GMFTopBarView.removeActionButtonByName
  5. Classe GMFTopBarView.getActionButton

Fiz testes na versão do iOS 15.4 e o problema não ocorre.

warleyfs commented 2 years ago

Obrigado pelo report @douglas-queiroz, estamos verificando o problema e retornamos em breve.