en:tvip_tms_faq_new
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:tvip_tms_faq_new [2021/10/27 12:55] – [Enabling option of VOD] Виталий Журавлев | en:tvip_tms_faq_new [2023/01/10 13:03] (current) – [How to enable logs at TMS] Виталий Журавлев | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| Set account login and password and save changes: | Set account login and password and save changes: | ||
| - | {{:en:private: | + | {{:en:screenshot_from_2022-09-30_17-21-02.png? |
| - | STB without [[provisioning| provision]], | + | STB without [[provisioning| provision]], |
| - | From the Launcher screen go to TV settings | + | From the Launcher screen go to TV settings |
| - | {{::stb_login_step_01.jpg?400|}} | + | {{:en:main1.png?400|}} |
| Choose Middleware API protocol (same as jsonapi in provision) | Choose Middleware API protocol (same as jsonapi in provision) | ||
| - | + | {{:en:main2.png?400|}} | |
| - | {{::stb_login_step_02.jpg?400|}} | + | |
| Setup protocol: | Setup protocol: | ||
| - | {{::stb_login_step_04.jpg?400|}} | + | {{:en:main5.png?400|}} |
| As server you must setup address of your server, example has http:// | As server you must setup address of your server, example has http:// | ||
| Line 27: | Line 26: | ||
| After applying server you must see " | After applying server you must see " | ||
| - | {{::stb_login_step_05.jpg?400|}} | + | {{:en:main4.png?400|}} |
| After successful registration you can go to TV interface and check channel availability. | After successful registration you can go to TV interface and check channel availability. | ||
| - | {{::stb_login_step_08.jpg?400|}} | + | {{:en:screenshot_from_2022-10-03_11-01-31.png?400|}} |
| Line 113: | Line 112: | ||
| From **4.0.11** version icon changed to cinema film in the EPG screen: | From **4.0.11** version icon changed to cinema film in the EPG screen: | ||
| - | {{:dvr_4.0.13.jpg? | + | {{:en: |
| STB used "deep value" from TMS, if archive unavailable STB return to live stream. | STB used "deep value" from TMS, if archive unavailable STB return to live stream. | ||
| Line 175: | Line 175: | ||
| systemctl restart gateway-tvip-cas-api | systemctl restart gateway-tvip-cas-api | ||
| </ | </ | ||
| + | |||
| + | ==== Authorization of access to the stream by token on the streamer ==== | ||
| + | |||
| + | === How it works === | ||
| + | |||
| + | * TMS sends an access token to the device along with a link to the stream | ||
| + | * the device calls the streamer for the stream and passes the token | ||
| + | * the streamer checks the token using a known algorithm and allows/ | ||
| + | |||
| + | === Token Generation Format === | ||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | </ | ||
| + | * key - secret row | ||
| + | * ip - ip address of client | ||
| + | |||
| + | === TVIP TMS Settings === | ||
| + | |||
| + | * Enable token settings for provider | ||
| + | |||
| + | Provider section -> Your Provider, specify Secure link algoritm **WOWZA_TOKEN** | ||
| + | |||
| + | * Secret row settings and Time to live of token. | ||
| + | In config file on TMS add next: **/ | ||
| + | < | ||
| + | wowza: | ||
| + | app: | ||
| + | | ||
| + | key: yourverysecretkey | ||
| + | ttl: 87000 | ||
| + | </ | ||
| + | * restart service for applying settings | ||
| + | < | ||
| + | systemctl restart gateway-tvip-tms-tvip-api | ||
| + | </ | ||
| + | |||
| + | |||
| + | === Setting up a token check on the example of a web server Nginx === | ||
| + | |||
| + | < | ||
| + | location / { | ||
| + | set $secret " | ||
| + | secure_link $arg_secure, | ||
| + | secure_link_md5 " | ||
| + | |||
| + | if ($secure_link = "" | ||
| + | return 403; | ||
| + | } | ||
| + | |||
| + | if ($secure_link = " | ||
| + | return 410; | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| ===== Regions in TVIP TMS ===== | ===== Regions in TVIP TMS ===== | ||
| Line 251: | Line 308: | ||
| + | ===== Channel selection priority ===== | ||
| + | |||
| + | |||
| + | For a specific channel, you can set a priority - this allows you to show a specific channel after the set-top box goes into standby mode or reboots.\\ | ||
| + | This is configurable via TMS: create a new channel and in the " | ||
| + | You could to possible to assign different priorities for channels, the highest priority is selected by default, the use of different priority values allows you to make tariffs with different priority channels.\\ | ||
| + | |||
| + | {{: | ||
| + | ===== How to enable logs at TMS ===== | ||
| + | |||
| + | |||
| + | You should enable logging for each micro-service.\\ | ||
| + | All log files located in / | ||
| + | |||
| + | * application.log - general log file of application | ||
| + | * framework.log - service log file | ||
| + | * access.log - information of external operation | ||
| + | * audit.log - extended information of external operation | ||
| + | |||
| + | Enabling logs to configure file: **/ | ||
| + | < | ||
| + | logging: | ||
| + | config: log4j2-example.yml | ||
| + | </ | ||
| + | |||
| + | |||
| + | Then you should restart micro-service . | ||
| + | < | ||
| + | systemctl restart manager-tvip-*name.service | ||
| + | </ | ||
| + | |||
| + | |||
| + | :!: Where //*name// - the micro-service name | ||
| + | |||
| + | |||
| + | |||
| + | ===== How to Reset password for Administrator in TVIP-TMS ===== | ||
| + | |||
| + | You could reset password for admin user in TVIP-TMS | ||
| + | |||
| + | * Connect to your TVIP-TMS server via ssh: | ||
| + | < | ||
| + | $ ssh login@tms.example.com | ||
| + | </ | ||
| + | * Connect to TMS database: | ||
| + | < | ||
| + | # psql -U tvip-tms tvip-tms | ||
| + | </ | ||
| + | * Replace password for user admin, in example used password is **admin** | ||
| + | < | ||
| + | tvip-tms=> | ||
| + | </ | ||
| + | * Leave database console | ||
| + | < | ||
| + | tvip-tms=> | ||
| + | </ | ||
| ===== Recommended parameters for icons ===== | ===== Recommended parameters for icons ===== | ||
en/tvip_tms_faq_new.1635339355.txt.gz · Last modified: by Виталий Журавлев
