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
Copy file name to clipboardExpand all lines: content/1.astra/3.receiving/2.ip/srt.md
+40-17
Original file line number
Diff line number
Diff line change
@@ -3,38 +3,61 @@ title: "Receiving SRT"
3
3
date: 2023-03-23
4
4
---
5
5
6
-
The Secure Reliable Transport (SRT) protocol is a data transfer protocol designed to enable secure and reliable delivery of high-quality video over unpredictable networks. The Astra interface supports SRT as an input protocol, allowing users to receive SRT streams from remote sources
6
+
The Secure Reliable Transport (SRT) protocol is an open-source video streaming protocol designed to provide low-latency, high-quality video streaming over unreliable networks. SRT uses end-to-end encryption and provides a range of features designed to enhance reliability and security, including error correction, congestion control, and retransmission of lost packets. SRT is often used for live video streaming applications, such as sports and news broadcasts, where maintaining a reliable, high-quality connection is critical.
7
7
8
8
::alert
9
9
Available for Astra versions released after 2021-12-21
10
10
::
11
11
12
-
## SRT protocol
12
+
## Address format
13
13
14
-
The Secure Reliable Transport (SRT) protocol is an open-source video streaming protocol designed to provide low-latency, high-quality video streaming over unreliable networks. SRT uses end-to-end encryption and provides a range of features designed to enhance reliability and security, including error correction, congestion control, and retransmission of lost packets. SRT is often used for live video streaming applications, such as sports and news broadcasts, where maintaining a reliable, high-quality connection is critical
14
+
SRT could be received in two modes:
15
15
16
-
## Address format
16
+
-**Caller mode** - Astra sends request to the SRT server and receives content in response. This is the most popular variant
17
+
-**Listener mode** - Astra waits when SRT server established connection and receives content in request. This is point-to-point mode
18
+
19
+
Address format depends on selected mode.
20
+
21
+
### Caller mode
22
+
23
+
```
24
+
srt://address:port[#options]
25
+
```
26
+
27
+
-`address` - remote server IPv4 address or hostname
28
+
-`port` - remote port
29
+
30
+
Example:
17
31
18
-
SRT address is used to identify the location of the media stream that is being transmitted over the network
32
+
-`src://example.com:3001` - send request to the example.com
33
+
34
+
### Listener mode
35
+
36
+
In listener mode, the address format is similar to the UDP address, with the addition of the `@` symbol to indicate the local interface name.
19
37
20
38
```
21
-
srt://@:port
22
-
srt://interface@:port#options
39
+
srt://[interface]@:port[#options]
23
40
```
24
41
25
-
SRT Options:
42
+
-`interface` - local interface name where to listen for connection. By the default Astra will wait connection on all interfaces
43
+
-`port` - local port to accept incomming connection
44
+
-`options` - additional options for SRT protocol
45
+
46
+
Examples:
26
47
27
-
-`streamid=ID` – stream identifier
28
-
-`passphrase=PASS` – password for the encrypted transmission. Password length should be in range 10 .. 79 characters
29
-
-`pbkeylen=N` – crypto key length in bytes. Possible values: 16, 24, 32
-`packetfilter=S` - injecting extra processing instructions at the beginning and/or end of a transmission to implement Forward Error Correction (FEC). [Read more](https://github.com/Haivision/srt/blob/master/docs/features/packet-filtering-and-fec.md#configuring-the-fec-filter){target="_blank"} in official documentation
56
+
-`passphrase=S` – password for the encrypted transmission. Password length should be in range 10 .. 79 characters
57
+
-`pbkeylen=N` – crypto key length in bytes. Possible values: 16, 24, 32. Default value: `0`
58
+
-`streamid=ID` – stream identifier, provided to the SRT server in caller mode
59
+
-`no_tsbpdmode` – turn off timestamp-based packet delivery mode
60
+
-`oheadbw` - limits bandwidth overhead, percents. Possible values in range: 5 - 100. Default value: `25`
0 commit comments