64

I am trying to play audio through a WebView built which is built in Swift. Upon playing the audio, sometimes it will play out and other times it'll play for ~2 seconds and stop. I then get an error in the Xcode log:

/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-9.1.6.1/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 4 
Zouhair Sassi
  • 1,403
  • 1
  • 13
  • 30
JDev
  • 5,168
  • 6
  • 40
  • 61

1 Answers1

1

The solution is: app.disableHardwareAcceleration()

Pierre Janineh
  • 394
  • 2
  • 13