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: docs/setup/server/voice.md
+19-11Lines changed: 19 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ WRTC_WS_PORT=3004
31
31
You also have to configure the Voice Gateway endpoint in your database. In table `config` you can set the default region endpoint to your Voice Gateway domain. It is set to `localhost:3004` by default:
2. Configure the package name in your {{ project.name }} server `.env`:
103
104
104
-
```
105
+
```.env
105
106
WRTC_LIBRARY={{ npm_packages.voice_medooze }}
106
107
```
107
108
108
109
3. Configure the public IP foryour WebRTC serverin your {{ project.name }} server `.env`. This should be a public IP that can be accessed from the internet if this is a production instance. It will be the address that will get sent to the client during the WebRTC connection negotiation:
109
110
110
-
```
111
+
```.env
111
112
WRTC_PUBLIC_IP=127.0.0.1
112
113
```
113
114
114
115
### Mediasoup implementation installation
115
116
116
117
1. First install the package in your {{ project.name }} server:
2. Configure the package name in your {{ project.name }} server `.env`:
123
124
124
-
```
125
+
```.env
125
126
WRTC_LIBRARY={{ npm_packages.voice_mediasoup }}
126
127
```
127
128
128
129
3. Configure the public IP foryour WebRTC serverin your {{ project.name }} server `.env`. This should be a public IP that can be accessed from the internet if this is a production instance. It will be the address that will get sent to the client during the WebRTC connection negotiation:
129
130
130
-
```
131
+
```.env
131
132
WRTC_PUBLIC_IP=127.0.0.1
132
-
```
133
+
```
134
+
135
+
## How to get your public ip
136
+
137
+
You can get your server's public ip by executing the following command in your server's command line:
0 commit comments