added updated submodules

This commit is contained in:
ojack
2022-04-08 10:28:02 +02:00
parent 724cf62667
commit 2f65d7d287
11 changed files with 10829 additions and 197 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -24,6 +24,7 @@ PBLive.prototype.init = function (stream, opts) {
stream: stream
}
console.log('initializing patch-bay', stream, opts)
this.makeGlobal = opts.makeGlobal || true
this.setPageTitle = opts.setTitle || true
@@ -104,7 +105,7 @@ PBLive.prototype.handleNewPeer = function (peer) {
PBLive.prototype.list = function () {
var l = Object.keys(this.idFromNick)
//console.log(l)
console.log(l)
return Object.keys(this.idFromNick)
}

View File

@@ -44,6 +44,7 @@ var PatchBay = function (options) {
// emit 'join' event to signalling server
this.signaller.emit('join', this._room, {uuid: this.id})
console.log('emitting join')
this.signaller.on('new peer', this._newPeer.bind(this))
}
@@ -134,7 +135,7 @@ PatchBay.prototype._newPeer = function (peer){
// // Once the new peer receives a list of connected peers from the server,
// // creates new simple peer object for each connected peer.
PatchBay.prototype._readyForSignalling = function ({ peers, servers }) {
// console.log("received peer list", _t, this.peers)
console.log("received peer list", _t, this.peers)
peers.forEach((peer) => {
this._newPeer(peer)

View File

@@ -28,7 +28,7 @@ module.exports = class Hydra extends Component {
this.hydra = hydra
osc().out()
pb.init(hydra.captureStream, {
pb.init(hydra.captureStream, {
server: window.location.origin,
room: 'iclc'
})