For me help change this:
try audioSession.setCategory(.playback, options: [.mixWithOthers])
To
try audioSession.setCategory(.ambient, options: [.mixWithOthers])
Topic:
App & System Services
SubTopic:
General
Tags: