1.5.0 • Published 3 years ago

@telefonica/stb-url-launch v1.5.0

Weekly downloads
59
License
ISC
Repository
-
Last release
3 years ago

Launch URL to Living Apps STB.

usage:

npx @telefonica/stb-url-launch <url>

Automatically replaces localhost by your home IP address.

HTTP API usage

STB_URL_LAUNCH_HOST=example.tef-dc1.softether.net npx @telefonica/stb-url-launch <url>

Designed for using STBs via remote VPN Server.

It's possible to launch stb-url-launch in HTTP API mode, so you can launch URLs using the following HTTP call:

POST <host>:3000/launch

payload:

{
  "url": "...",
  "stb" "xxx"
}

Config using environment variables:

  • STB_URL_LAUNCH_HOST: Server public IP
  • ADMIN_CODE: Movistar Admin Code (optional)

It will authenticate using <STB_URL_LAUNCH_HOST>:8<ID>, where ID comes from stb parameter.

Therefore, you'll need to apply the following port forwarding rule in your server:

  • External: 8. Internal: 8090. IP Address: 192.168.1.

Also, you'll need to configure static IP for your STB: 192.168.1.

Why so weird? Due to VPN server limitations it's not possible to reach VPN client (STB) from VPN Server (same host as API Server) :(

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

1.0.0-beta.1

5 years ago

1.0.0-beta.0

5 years ago