How to Airplay Apple TV + using Ipad or Iphone to Nebula Cosmos ?

I tried streaming content from my Apple TV+ app to my Nebula Cosmos but was unable to.
I was able to stream content from the Youtube app though.

Anybody knows why and how this can be sorted ?