You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation completed, now you may check version number:
30
30
31
-
```
31
+
```sh
32
32
alta version
33
33
```
34
34
35
35
## Start service
36
36
37
37
Initialization wizard prepares new service on your system. Each service has owns configuration file, management port, and unique name. Launch initialization wizard with next command:
1. Client initiates a request to access a TV channel. This request contains identification details such as token, client ID, or some else
15
-
2. Astra sends HTTP GET request to the Middleware. This request includes identification details and session information
16
-
3. Middleware validates request and sends back a response status
17
-
4. If the Middleware grants access, then Astra provides access to the requested TV channel
15
+
1. Astra sends HTTP GET request to the Middleware. This request includes identification details and session information
16
+
1. Middleware validates request and sends back a response status
17
+
1. If the Middleware grants access, then Astra provides access to the requested TV channel
18
18
19
19
## Configuration
20
20
@@ -82,9 +82,9 @@ In a response backend may send next HTTP headers:
82
82
For example:
83
83
84
84
1. Your backend address is: `https://auth.example.com/check`
85
-
2. Client tries to start channel: `https://live.example.com/play/a001/index.m3u8?token=123`
86
-
3. Full address to HTTP backend will be: `https://auth.example.com/check?token=123`
87
-
4. In headers will be `X-Real-Path: /play/a001/index.m3u8` and other headers depending of clients request
85
+
1. Client tries to start channel: `https://live.example.com/play/a001/index.m3u8?token=123`
86
+
1. Full address to HTTP backend will be: `https://auth.example.com/check?token=123`
87
+
1. In headers will be `X-Real-Path: /play/a001/index.m3u8` and other headers depending of clients request
88
88
89
89
## Default action
90
90
@@ -96,7 +96,7 @@ If backend is not available, then Astra allows access.
96
96
97
97
If you get access to the channel without authorization, probably your HTTP backend is unavailable. You can check it with `curl` command. Open console on your server with Astra. And try to send request to the HTTP backend manually:
If your system does not have systemd you may launch process manually:
9
9
10
-
```
10
+
```sh
11
11
astra -c /etc/astra/astra.conf -p 8000
12
12
```
13
13
14
14
Process will be launched in the foreground and your console will be taken by process until it finish. To stop process just press Ctrl+C on your keyboard.
15
15
16
16
To launching process in background append symbol `&` after the command line:
17
17
18
-
```
18
+
```sh
19
19
astra -c /etc/astra/astra.conf -p 8000 &
20
20
```
21
21
22
22
Process will be launched in the background and console will be returned to your control immediately. To stop process you may launch command:
0 commit comments