Is your app setup for background execution mode audio / video ?
https://developer.apple.com/documentation/xcode/configuring-background-execution-modes
Topic:
App & System Services
SubTopic:
CarPlay
Tags: