Open rubdos opened 2 months ago
Rebased up to right before reqwest.
Already outdated. signalapp/Signal-Server@cacd4af
Now we're ahead of Signal Android and Signal iOS :sweat_smile:
Tested, both end points work.
v1:
TurnServerInfo {
username: "XXX",
password: "YYY",
hostname: Some("turn3.voip.signal.org"),
urls: ["turn:turn3.voip.signal.org"],
urls_with_ips: ["turn:34.1.15.80", "turn:34.1.15.80:80?transport=tcp", "turns:34.1.15.80:443?transport=tcp", "turn:35.214.194.0", "turn:35.214.194.0:80?transport=tcp", "turns:35.214.194.0:443?transport=tcp", "turn:[2600:1901:8120:e0:0:1d:0:0]", "turn:[2600:1901:8120:e0:0:1d:0:0]:80?transport=tcp", "turns:[2600:1901:8120:e0:0:1d:0:0]:443?transport=tcp", "turn:[2600:1900:4060:4603:0:24:0:0]", "turn:[2600:1900:4060:4603:0:24:0:0]:80?transport=tcp", "turns:[2600:1900:4060:4603:0:24:0:0]:443?transport=tcp"] }
v2:
[
TurnServerInfo {
username: "AAAA",
password: "BBBB",
hostname: Some("turn3.voip.signal.org"),
urls: ["turn:turn3.voip.signal.org"],
urls_with_ips: ["turn:34.1.15.80", "turn:34.1.15.80:80?transport=tcp", "turns:34.1.15.80:443?transport=tcp", "turn:35.214.194.0", "turn:35.214.194.0:80?transport=tcp", "turns:35.214.194.0:443?transport=tcp", "turn:[2600:1901:8120:e0:0:1c:0:0]", "turn:[2600:1901:8120:e0:0:1c:0:0]:80?transport=tcp", "turns:[2600:1901:8120:e0:0:1c:0:0]:443?transport=tcp", "turn:[2600:1900:4060:4603:0:24:0:0]", "turn:[2600:1900:4060:4603:0:24:0:0]:80?transport=tcp", "turns:[2600:1900:4060:4603:0:24:0:0]:443?transport=tcp"]
}
]
Things to note: username and password seem to follow a pattern. Both were distinct, so I suppose they're generated on the fly. Username seems like a versioned unix timestamp with some other number behind it (unixts:other-number:#01
), and the password looks like a base64 encoded string. These things can probably be inferred from the server source code. :-)
The IP addresses mentioned in the answers are what you get by resolving the turn3.voip.signal.org
DNS name.
Already outdated. signalapp/Signal-Server@cacd4af
Android moved on: https://github.com/signalapp/Signal-Android/commit/47300bbd563
This PR aims to add all the stuff™ necessary to make calls. Could be a lot, could be nothing at all.