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
4. Save the file and restart the server with `sudo service antmedia restart`
22
-
23
-
5. Now you can publish the stream to the server with
24
-
25
-
`rtmps://Domain-Name:8443/LiveApp/streamId`
8
+
## Enable RTMPS
9
+
10
+
:::info
11
+
In v2.14 and above, now RTMPS can be enabled/disabled via server settings instead of enabling/disabling it from the XML files.
12
+
13
+
This allows for easy and hassle-free configuration. It also restores even after a server upgrade, whereas previously it did not restore in XML files.
14
+
:::
15
+
16
+
Follow below steps to enable/disable the RTMPS:
17
+
18
+
- Go to the conf folder under antmedia folder
19
+
20
+
```bash
21
+
cd /usr/local/antmedia/conf/
22
+
```
23
+
24
+
- Edit the red5.properties file
25
+
26
+
```bash
27
+
sudo nano red5.properties
28
+
```
29
+
30
+
- Enable/Disable the RTMPS
31
+
32
+
```json
33
+
rtmps.enabled=true
34
+
```
35
+
36
+
**By default it is enabled now and works on TCP port 8443.**
37
+
38
+
- After changing the settings, restart the server
39
+
40
+
```bash
41
+
sudo service antmedia restart
42
+
```
43
+
44
+
## Publish RTMPS Stream
45
+
46
+
To publish the RTMPS stream, follow this [OBS tutorial](https://antmedia.io/docs/guides/publish-live-stream/rtmp/publish-with-obs/) for reference and instead of using the simple RTMP endpoint, use the below RTMPS endpoint.
47
+
48
+
```json
49
+
rtmps://domain-name:8443/live/streamId
50
+
```
51
+
52
+
Check out the [playback guide](https://antmedia.io/docs/category/playing-live-streams/) to play your RTMPS stream with WebRTC, HLS etc.
0 commit comments