HTTPs behind CGNAT

actually, I want to solve the original problem, play camera on TV using homeassistant. With new media action, I can play any media and Radio/TV channel on TV successfully but can’t play generic camera. it only displays a Chromecast icon on TV.