Package org.signal.chat.calling
Services
service Calling
Provides methods for getting credentials and relay options for one-on-one calls.
rpc GetCallingRelays
Request: org.signal.chat.calling.GetCallingRelaysRequest
Response:
org.signal.chat.calling.GetCallingRelaysResponse
Retrieves TURN credentials and relay options for one-on-one calls.
Messages
message GetCallingRelaysResponse
| Field | Type | Description | |
|---|---|---|---|
| 1 | relays |
repeated
org.signal.chat.calling.GetCallingRelaysResponse.Relay
|
A collection of calling relays a client may use for one-on-one calls. |
message HostnameUrlList
(Nested in org.signal.chat.calling.GetCallingRelaysResponse
)
| Field | Type | Description | |
|---|---|---|---|
| 1 | urls |
repeated
string
|
A collection of hostname-based TURN, TURNS, or STUN URLs a client can use to connect to a relay. |
message IpUrlList
(Nested in org.signal.chat.calling.GetCallingRelaysResponse
)
| Field | Type | Description | |
|---|---|---|---|
| 1 | urls |
repeated
string
|
A collection of IP-based TURN, TURNS, or STUN URLs a client can use to connect to a relay. |
| 2 | hostname |
optional
string
|
A hostname clients must use to validate the relay's TLS certificate when
connecting via an IP-based TURNS URL. May not be specified if |
message Relay
(Nested in org.signal.chat.calling.GetCallingRelaysResponse
)
| Field | Type | Description | |
|---|---|---|---|
| 1 | username |
string
|
A username that can be presented to authenticate with a TURN server. |
| 2 | password |
string
|
A password that can be presented to authenticate with a TURN server. |
| 3 | credential_ttl_seconds |
uint64
|
The duration, in seconds, after which the included username and password will no longer be valid. |
| 4 | hostname_urls |
optional
org.signal.chat.calling.GetCallingRelaysResponse.HostnameUrlList
|
A collection of hostname-based URLs clients may use to connect to this relay. |
| 5 | ip_urls |
optional
org.signal.chat.calling.GetCallingRelaysResponse.IpUrlList
|
A collection of IP-based URLs clients may use to connect to this relay. |