When we add a background audio element in tvOs v15 it generates the exception below:
Exception NSException * "*** -[AVPlayerPlaybackCoordinator setFigPlaybackCoordinator:] invalid parameter not satisfying: figPlaybackCoordinator != NULL" 0x00006000010d16e0
Below is our TVML:
<?xml version="1.0" encoding="UTF-8" ?>
<document>
<head>
<style>
* {
<!-- To cutomize the interval image is displayed on screen -->
tv-transition-interval:8.0;
}
</style>
</head>
<mainTemplate>
<background>
<img src="{{ our server }}/temp/AppleTvProto1/splash.jpg" />
<img src="{{ our server }}/temp/AppleTvProto1/splash_1.jpg" />
<img src="{{ our server }}/temp/AppleTvProto1/splash_2.jpg" />
<audio>
<asset id="main_audio" src="{{ our server }}/temp/AppleTvProto1/background.mp3" />
</audio>
</background>
<menuBar>
<section>
<menuItem onselect="getDocument('/appletv-live')">
<title>Live</title>
</menuItem>
<menuItem onselect="getDocument('/appletv-messages')">
<title>Messages</title>
</menuItem>
<menuItem onselect="getDocument('/appletv-music')">
<title>Music</title>
</menuItem>
</section>
</menuBar>
</mainTemplate>
</document>