Is it possible casting (mirroring) an iOS/Android App built in unity to SmartTV?

Hello everyone, i’m trying to cast my app to smartTV with a cast button (the one like in youtube.) Basically I’m going to cast it and change screen orientation.

I found resources below but they are not supported anymore.

Any suggestions/ideas to make it possible?
Thank you.

I do also have interest in this