Network Transmission System

-1

Hello, can someone give me a bit of how the network broadcast works like the spotify that in your web player appears a broadcast button, that when it clicks it will appear my SMART TV and by clicking on it automatically the music passes to it, is it possible to do this with js?

    
asked by anonymous 21.06.2018 / 15:55

1 answer

0

The question is very broad, but you can leave some basic concepts and practices. Most of these applications are connected to platforms or APIs that are in the cloud and what you see on your mobile or on the TV screen are just clients that communicate with the same API on the server or with APIs that communicate with each other. / p>

Most of the time you are not transmitting content from one device to another, but rather sending the information to a service that you want to watch certain content on a particular device. Since this platform knows where you are with the application open it can send the command to start playback on the selected device.

But it is also possible to broadcast from one device to another through protocols such as DLNA that is supported by many TV sets, cell phones, tablets and so on. (practically, if it is a media production device and connects to a network via ethernet, provalvente supports DLNA .) There are several libraries that implement or attempt to implement the protocol's API ( examples )

There are many other ways to approach the issue, such as Kodi , which is the successor to XMBC .

    
26.06.2018 / 16:43