This is known as Internet Protocol Television [IPTV]. These devices are legal when used to watch legitimate, free to air content or for paids subscription channels such as Netflix; however, they become illegal once adapted to stream illicit content.