Exception from TVML Background Audio tvOs15 - AVPlayerPlaybackCoordinator

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>

Hey.

I've got exactly the same error. Do you already have a workaround for this crash?

Best

Alex

We still don't have a work around.

Hi

Are you testing on an real Apple TV or using the Simulator?

I stumbled on this thread when I got the same error using the simulator. But if I run it on an real Apple TV with tvOS 15.2 I do not get the exception

I have downloaded tvOS 14.5 Apple TV simulators. At least Apple TV 4K 2nd generation tvOS 14.5 simulator does play videos.

Exception from TVML Background Audio tvOs15 - AVPlayerPlaybackCoordinator
 
 
Q