mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-08 13:24:44 +00:00
chore: update default Jitsi service URL to meet.handyweb.org
This commit is contained in:
@@ -88,7 +88,7 @@ func TestRunWithConfigValidationAndDataDirErrors(t *testing.T) {
|
||||
Mode: "srv",
|
||||
Transport: "datachannel",
|
||||
Auth: "jitsi",
|
||||
RoomID: "https://meet.small-dm.ru/test",
|
||||
RoomID: "https://meet.handyweb.org/test",
|
||||
KeyHex: "key",
|
||||
DNSServer: "8.8.8.8:53",
|
||||
}
|
||||
@@ -135,7 +135,7 @@ link: direct
|
||||
auth:
|
||||
provider: jitsi
|
||||
room:
|
||||
id: https://meet.small-dm.ru/test
|
||||
id: https://meet.handyweb.org/test
|
||||
crypto:
|
||||
key: key
|
||||
net:
|
||||
|
||||
@@ -41,7 +41,7 @@ type Provider struct{}
|
||||
// Engine reports which engine consumes credentials from this auth provider.
|
||||
func (Provider) Engine() string { return "jitsi" }
|
||||
|
||||
const defaultServiceURL = "https://meet.small-dm.ru"
|
||||
const defaultServiceURL = "https://meet.handyweb.org"
|
||||
|
||||
// DefaultServiceURL returns the default Jitsi Meet service URL used by config
|
||||
// defaults and interactive helpers. Users should verify which server is
|
||||
|
||||
@@ -21,7 +21,7 @@ func TestParseRoomURL(t *testing.T) {
|
||||
room string
|
||||
wantErr bool
|
||||
}{
|
||||
{name: "https url", raw: "https://meet.small-dm.ru/" + testRoom, host: "meet.small-dm.ru", room: testRoom},
|
||||
{name: "https url", raw: "https://meet.handyweb.org/" + testRoom, host: "meet.handyweb.org", room: testRoom},
|
||||
{name: "http url", raw: "http://" + testHost + "/" + testRoom, host: testHost, room: testRoom},
|
||||
{name: "scheme-less", raw: "meet.example.com/" + testRoom, host: "meet.example.com", room: testRoom},
|
||||
{name: "trailing slash", raw: "https://" + testHost + "/" + testRoom + "/", host: testHost, room: testRoom},
|
||||
@@ -54,14 +54,14 @@ func TestParseRoomURL(t *testing.T) {
|
||||
|
||||
func TestProviderIssue(t *testing.T) {
|
||||
creds, err := Provider{}.Issue(context.Background(), auth.Config{
|
||||
RoomURL: "https://meet.small-dm.ru/olcrtc",
|
||||
RoomURL: "https://meet.handyweb.org/olcrtc",
|
||||
Name: "olcrtc-test",
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("Issue: %v", err)
|
||||
}
|
||||
if creds.URL != "meet.small-dm.ru" {
|
||||
t.Fatalf("URL = %q, want %q", creds.URL, "meet.small-dm.ru")
|
||||
if creds.URL != "meet.handyweb.org" {
|
||||
t.Fatalf("URL = %q, want %q", creds.URL, "meet.handyweb.org")
|
||||
}
|
||||
if got := creds.Extra[CredentialKeyRoom]; got != "olcrtc" {
|
||||
t.Fatalf("room = %q, want %q", got, "olcrtc")
|
||||
|
||||
@@ -43,7 +43,7 @@ const (
|
||||
localDNSServer = "127.0.0.1:53"
|
||||
videoHWNone = "none"
|
||||
testClientDeviceID = "client-1"
|
||||
defaultJitsiRoomURL = "https://meet.small-dm.ru/deadbeef"
|
||||
defaultJitsiRoomURL = "https://meet.handyweb.org/deadbeef"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -709,7 +709,7 @@ func realE2EExpectationLabel(expectation realE2EExpectation) string {
|
||||
// logUnstableOutcome records the result of an Unstable matrix entry
|
||||
// without failing the test. Unstable combos exist to keep the matrix
|
||||
// honest about transports that flap against a particular carrier
|
||||
// (e.g. seichannel against meet.small-dm.ru's bandwidth allocator)
|
||||
// (e.g. seichannel against meet.handyweb.org's bandwidth allocator)
|
||||
// while still surfacing whether the run happened to pass or fail.
|
||||
func logUnstableOutcome(t *testing.T, label, carrierName, transportName string, err error) {
|
||||
t.Helper()
|
||||
@@ -845,7 +845,7 @@ func realRoomURL(ctx context.Context, t *testing.T, carrierName string) string {
|
||||
return ""
|
||||
case "jitsi":
|
||||
// Jitsi has no notion of "creating" a room - names are conjured
|
||||
// on first join. The default flag points at meet.small-dm.ru
|
||||
// on first join. The default flag points at meet.handyweb.org
|
||||
// by default. When the flag is left at its default value, a
|
||||
// per-process random suffix is appended
|
||||
// to the slug: two participants share a single room by design (one
|
||||
|
||||
Reference in New Issue
Block a user