I have an Apple Music subscription and a playlist of music videos that I can watch on my mac, Applet TV, iPad and iPhone. I want to be able to mirror from iPad or iPhone so I can connect them to a sound system and watch the videos on Apple TV. I can mirror both iPad and iPhone and see their content on Apple TV but when I start playing the music videos, they disconnected from Apple TV.
This is the error displayed on Apple TV

<Post Branched by Host>