WCS supports DTLS 1.2 handshake while establishing WebRTC connections, this protocol version is enavkled invoked by default. However, DTLS 1.0 is also supported for compatibility. Obsolete protocol support can be forced for all the clients using the following parameter in flashphoner.properties file
| Code Block |
|---|
|
dtls_force_version_0=true |
Or, since build 5.2.399, it can be switched per browser according to User Agent string that clients client sends during handshake since build 5.2.399
User Agent strings should be listed in dtls0_ua file which is placed to /usr/local/FlashphonerWebCallServer/conf folder. For example, for example
| Code Block |
|---|
|
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Since build 5.2.546, the following parameter in flashphoner.properties
| Code Block |
|---|
|
dtls0_ua_match_substring=true |
can be used to enable matching of User Agent by substring specified in dtls0_ua. For example,
| Code Block |
|---|
|
Firefox/62.0
Firefox/60.0 |
DTLS handshake errors can be written to dtls-error.log file which is placed to /usr/local/FlashphonerWebCallServer/logs folder
...