sagiadinos / garlic-player

Digital Signage Player Software based on SMIL
https://garlic-player.com/garlic-player/
GNU Affero General Public License v3.0
92 stars 17 forks source link

[Question] Rest api push #50

Closed santoshgistto closed 3 weeks ago

santoshgistto commented 2 months ago

Question To make rest api push to the player is both rest client and player should be in the same network ?

sagiadinos commented 2 months ago

Assuming I understand right: The player includes an HTTP-server. They can be in different subnets, but client/server should be reachable to each other via port forwarding or routing.

Example: if the player is behind a NAT router, you need to set a port forwarding.

santoshgistto commented 2 months ago

Thanks for you response. HTTP-server runs on local ip address. Do we need to use something like https://ngrok.com/ to make request ?

sagiadinos commented 2 months ago

I have no experiences with ngrok. So, I do not know if this will bridge between two different networks. Probably yes.