mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 04:05:34 +08:00
[fix] fix TURN server authentication credentials, fixes #8
This commit is contained in:
@@ -453,10 +453,10 @@ int Render::CreateConnectionPeer() {
|
|||||||
sizeof(params_.turn_server_ip) - 1);
|
sizeof(params_.turn_server_ip) - 1);
|
||||||
params_.turn_server_ip[sizeof(params_.turn_server_ip) - 1] = '\0';
|
params_.turn_server_ip[sizeof(params_.turn_server_ip) - 1] = '\0';
|
||||||
params_.turn_server_port = 3478;
|
params_.turn_server_port = 3478;
|
||||||
strncpy((char*)params_.turn_server_username, "dijunkun",
|
strncpy((char*)params_.turn_server_username, "crossdesk",
|
||||||
sizeof(params_.turn_server_username) - 1);
|
sizeof(params_.turn_server_username) - 1);
|
||||||
params_.turn_server_username[sizeof(params_.turn_server_username) - 1] = '\0';
|
params_.turn_server_username[sizeof(params_.turn_server_username) - 1] = '\0';
|
||||||
strncpy((char*)params_.turn_server_password, "dijunkunpw",
|
strncpy((char*)params_.turn_server_password, "crossdeskpw",
|
||||||
sizeof(params_.turn_server_password) - 1);
|
sizeof(params_.turn_server_password) - 1);
|
||||||
params_.turn_server_password[sizeof(params_.turn_server_password) - 1] = '\0';
|
params_.turn_server_password[sizeof(params_.turn_server_password) - 1] = '\0';
|
||||||
strncpy(params_.tls_cert_path, server_cert_path.c_str(),
|
strncpy(params_.tls_cert_path, server_cert_path.c_str(),
|
||||||
|
|||||||
Reference in New Issue
Block a user