Skip to content

Commit

Permalink
aaaaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
git@nova's optiplex committed Sep 9, 2024
1 parent 9758747 commit dc468fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/code/apps.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ var app = {
console.log('Connected')

// Send messages
var castpeer = new Peer(await fs.read('/system/deskid') + "-cast")
var castpeer = new Peer(await fs.read('/system/deskid') + "-cast", {config: {'iceServers': [ { urls: 'stun:freeturn.net:3478' }, { urls: 'turn:freeturn.net:3478', username: 'free', credential: 'free' } ]}})
castpeer.on('open', async function (id2) {
console.log(id2, castpeer)
conn.send({ name: "osAppConnect-cast", id: await fs.read('/system/deskid'), uname: await fs.read('/user/info/name') || "NovaOS User" });
Expand Down
2 changes: 1 addition & 1 deletion assets/code/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ var ptp = {
let retryc = 0;

async function attemptConnection() {
peer = new Peer(id);
peer = new Peer(id, {config: {'iceServers': [ { urls: 'stun:freeturn.net:3478' }, { urls: 'turn:freeturn.net:3478', username: 'free', credential: 'free' } ]}});

peer.on('open', (peerId) => {
ui.masschange('deskid', peerId);
Expand Down
Empty file modified runJSDOC.sh
100755 → 100644
Empty file.

0 comments on commit dc468fe

Please sign in to comment.