Update Frequently Asked Questions
This commit is contained in:
parent
c0e0f82309
commit
e4aa37dce2
|
@ -40,6 +40,7 @@
|
|||
- [How secure are you?](#advanced-8)
|
||||
- [When do public IPs get exposed?](#advanced-9)
|
||||
- [What port Jami uses?](#advanced-10)
|
||||
- [How can I configure the codecs even more?](#advanced-11)
|
||||
|
||||
This page aims to gather as many resources as possible (technical or not) and
|
||||
condense them to create concise documentation. Then, this can then be
|
||||
|
@ -372,4 +373,40 @@ If you run your own proxy or nameserver:
|
|||
|
||||
If you run your own TURN server:
|
||||
|
||||
+ TURN/STUN: TCP+UDP 3478, 5349
|
||||
+ TURN/STUN: TCP+UDP 3478, 5349
|
||||
|
||||
|
||||
### <a name="advanced-11">How can I configure the codecs even more?</a>
|
||||
|
||||
Codecs can be configured via a file. In the configurations files, you can create a file called `encoder.json` like this:
|
||||
|
||||
```
|
||||
{
|
||||
"libx264": {
|
||||
"profile": 100,
|
||||
"level": 42,
|
||||
"crf": 20,
|
||||
"preset": "ultrafast"
|
||||
},
|
||||
"h264_vaapi": {
|
||||
"low_power": 1
|
||||
},
|
||||
"libopus": {
|
||||
"application": "voip"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
or:
|
||||
|
||||
```
|
||||
{
|
||||
"libopus": {
|
||||
"bit_rate": 128000
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
This file is located in the same directory of `dring.yml` (https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/Ring-configuration-path)
|
||||
|
||||
The best way to check which options are supported is through the command "ffmpeg -h encoder=\[encoder_name\]" where encoder_name can be whichever of libx264, libvpx, mpeg4, h263, libopus, libspeex, g722, pcm_alaw, pcm_mulaw (FFmpeg names for all of Jami's supported encoders).
|
Loading…
Reference in New Issue