Skip to content

Commit 12853f5

Browse files
authored
Merge pull request #69 from itzmanish/main
update CF relay url for draft-14
2 parents a8ca08f + dc6ae05 commit 12853f5

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

demo/config.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
// Development configuration (localhost)
55
const LOCALHOST_CONFIG = {
6-
relay: "https://localhost:4443",
7-
fingerprint: "https://localhost:4443/fingerprint",
8-
environment: "development"
6+
relay: "https://localhost:4443",
7+
fingerprint: "https://localhost:4443/fingerprint",
8+
environment: "development"
99
};
1010

1111
// Production configuration (Cloudflare)
1212
const CLOUDFLARE_CONFIG = {
13-
relay: "https://interop-relay.cloudflare.mediaoverquic.com",
14-
fingerprint: null, // No fingerprint needed for trusted certificate
15-
environment: "production"
13+
relay: "https://draft-14.cloudflare.mediaoverquic.com",
14+
fingerprint: null, // No fingerprint needed for trusted certificate
15+
environment: "production"
1616
};
1717

1818
// Current active configuration
@@ -31,14 +31,14 @@ const isProduction = () => CONFIG.environment === "production";
3131

3232
// Export configuration and helpers
3333
window.MoQConfig = {
34-
CONFIG,
35-
LOCALHOST_CONFIG,
36-
CLOUDFLARE_CONFIG,
37-
getRelayUrl,
38-
getFingerprintUrl,
39-
getEnvironment,
40-
isLocalhost,
41-
isProduction
34+
CONFIG,
35+
LOCALHOST_CONFIG,
36+
CLOUDFLARE_CONFIG,
37+
getRelayUrl,
38+
getFingerprintUrl,
39+
getEnvironment,
40+
isLocalhost,
41+
isProduction
4242
};
4343

4444
// Log current configuration

samples/simple-player/simple-player.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
var config = {
99
// url: "https://localhost:4443",
1010
// fingerprint: "https://localhost:4443/fingerprint",
11-
url: "https://interop-relay.cloudflare.mediaoverquic.com",
11+
url: "https://draft-14.cloudflare.mediaoverquic.com",
1212
canvas: elem,
1313
namespace: "bbb",
1414
};

0 commit comments

Comments
 (0)