File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44// Development configuration (localhost)
55const 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)
1212const 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
3333window . 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
Original file line number Diff line number Diff line change 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 } ;
You can’t perform that action at this time.
0 commit comments