trystero relative path
This commit is contained in:
parent
fe6a604bb3
commit
aeb1c7fa84
6 changed files with 12 additions and 69262 deletions
8
dist/xrfragment.aframe.all.js
vendored
8
dist/xrfragment.aframe.all.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* v0.5.1 generated at Wed Dec 13 07:05:52 PM CET 2023
|
||||
* v0.5.1 generated at Wed Dec 13 07:23:32 PM CET 2023
|
||||
* https://xrfragment.org
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
|
@ -2862,11 +2862,11 @@ AFRAME.registerComponent('meeting', {
|
|||
},
|
||||
|
||||
trysteroInit: async function(){
|
||||
const { joinRoom } = await import("/dist/trystero-torrent.min.js");
|
||||
const { joinRoom } = await import("./../../../dist/trystero-torrent.min.js");
|
||||
|
||||
const roomname = document.location.href.replace(/#.*/,'')
|
||||
const config = this.config = {appId: this.data.id }
|
||||
const room = this.room = joinRoom(config, roomname )
|
||||
const config = this.config = {appId: this.data.id }
|
||||
const room = this.room = joinRoom(config, roomname )
|
||||
console.log("starting webrtc room: "+roomname)
|
||||
|
||||
const idsToNames = this.idsToNames = {}
|
||||
|
|
|
|||
8
dist/xrfragment.aframe.js
vendored
8
dist/xrfragment.aframe.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* v0.5.1 generated at Wed Dec 13 07:05:52 PM CET 2023
|
||||
* v0.5.1 generated at Wed Dec 13 07:23:32 PM CET 2023
|
||||
* https://xrfragment.org
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
|
@ -2856,11 +2856,11 @@ AFRAME.registerComponent('meeting', {
|
|||
},
|
||||
|
||||
trysteroInit: async function(){
|
||||
const { joinRoom } = await import("/dist/trystero-torrent.min.js");
|
||||
const { joinRoom } = await import("./../../../dist/trystero-torrent.min.js");
|
||||
|
||||
const roomname = document.location.href.replace(/#.*/,'')
|
||||
const config = this.config = {appId: this.data.id }
|
||||
const room = this.room = joinRoom(config, roomname )
|
||||
const config = this.config = {appId: this.data.id }
|
||||
const room = this.room = joinRoom(config, roomname )
|
||||
console.log("starting webrtc room: "+roomname)
|
||||
|
||||
const idsToNames = this.idsToNames = {}
|
||||
|
|
|
|||
69252
dist/xrfragment.module.js
vendored
69252
dist/xrfragment.module.js
vendored
File diff suppressed because it is too large
Load diff
2
dist/xrfragment.three.js
vendored
2
dist/xrfragment.three.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* v0.5.1 generated at Wed Dec 13 07:05:52 PM CET 2023
|
||||
* v0.5.1 generated at Wed Dec 13 07:23:32 PM CET 2023
|
||||
* https://xrfragment.org
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
|
|
|||
2
dist/xrfragment.three.module.js
vendored
2
dist/xrfragment.three.module.js
vendored
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* v0.5.1 generated at Wed Dec 13 07:05:52 PM CET 2023
|
||||
* v0.5.1 generated at Wed Dec 13 07:23:32 PM CET 2023
|
||||
* https://xrfragment.org
|
||||
* SPDX-License-Identifier: MPL-2.0
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ AFRAME.registerComponent('meeting', {
|
|||
},
|
||||
|
||||
trysteroInit: async function(){
|
||||
const { joinRoom } = await import("/dist/trystero-torrent.min.js");
|
||||
const { joinRoom } = await import("./../../../dist/trystero-torrent.min.js");
|
||||
|
||||
const roomname = document.location.href.replace(/#.*/,'')
|
||||
const config = this.config = {appId: this.data.id }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue