SwiftUI_AVPlayer_callback based on https://github.com/ChrisMash/AVPlayer-SwiftUI/blob/master/AVPlayer-SwiftUI/AudioView.swift