summary refs log tree commit diff
path: root/src/webrtc
diff options
context:
space:
mode:
Diffstat (limited to 'src/webrtc')
-rw-r--r--src/webrtc/Server.ts2
-rw-r--r--src/webrtc/events/Close.ts4
-rw-r--r--src/webrtc/events/Connection.ts2
-rw-r--r--src/webrtc/events/Message.ts2
-rw-r--r--src/webrtc/opcodes/BackendVersion.ts2
-rw-r--r--src/webrtc/opcodes/Heartbeat.ts2
-rw-r--r--src/webrtc/opcodes/Identify.ts6
-rw-r--r--src/webrtc/opcodes/SelectProtocol.ts6
-rw-r--r--src/webrtc/opcodes/Speaking.ts2
-rw-r--r--src/webrtc/opcodes/Video.ts6
-rw-r--r--src/webrtc/opcodes/index.ts2
-rw-r--r--src/webrtc/util/MediaServer.ts2
12 files changed, 19 insertions, 19 deletions
diff --git a/src/webrtc/Server.ts b/src/webrtc/Server.ts
index 8b86236e..0ba2e41b 100644
--- a/src/webrtc/Server.ts
+++ b/src/webrtc/Server.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { closeDatabase, Config, initDatabase, initEvent } from "@fosscord/util";
+import { closeDatabase, Config, initDatabase, initEvent } from "@spacebar/util";
 import dotenv from "dotenv";
 import http from "http";
 import ws from "ws";
diff --git a/src/webrtc/events/Close.ts b/src/webrtc/events/Close.ts
index ba2a3142..7b71e9ce 100644
--- a/src/webrtc/events/Close.ts
+++ b/src/webrtc/events/Close.ts
@@ -16,8 +16,8 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { WebSocket } from "@fosscord/gateway";
-import { Session } from "@fosscord/util";
+import { WebSocket } from "@spacebar/gateway";
+import { Session } from "@spacebar/util";
 
 export async function onClose(this: WebSocket, code: number, reason: string) {
 	console.log("[WebRTC] closed", code, reason.toString());
diff --git a/src/webrtc/events/Connection.ts b/src/webrtc/events/Connection.ts
index d8b4d683..6c5bab03 100644
--- a/src/webrtc/events/Connection.ts
+++ b/src/webrtc/events/Connection.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { CLOSECODES, Send, setHeartbeat, WebSocket } from "@fosscord/gateway";
+import { CLOSECODES, Send, setHeartbeat, WebSocket } from "@spacebar/gateway";
 import { IncomingMessage } from "http";
 import { URL } from "url";
 import WS from "ws";
diff --git a/src/webrtc/events/Message.ts b/src/webrtc/events/Message.ts
index dac9095e..22189e95 100644
--- a/src/webrtc/events/Message.ts
+++ b/src/webrtc/events/Message.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { CLOSECODES, Payload, WebSocket } from "@fosscord/gateway";
+import { CLOSECODES, Payload, WebSocket } from "@spacebar/gateway";
 import { Tuple } from "lambert-server";
 import OPCodeHandlers from "../opcodes";
 import { VoiceOPCodes } from "../util";
diff --git a/src/webrtc/opcodes/BackendVersion.ts b/src/webrtc/opcodes/BackendVersion.ts
index b466c300..60de3e58 100644
--- a/src/webrtc/opcodes/BackendVersion.ts
+++ b/src/webrtc/opcodes/BackendVersion.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Payload, Send, WebSocket } from "@fosscord/gateway";
+import { Payload, Send, WebSocket } from "@spacebar/gateway";
 import { VoiceOPCodes } from "../util";
 
 export async function onBackendVersion(this: WebSocket, data: Payload) {
diff --git a/src/webrtc/opcodes/Heartbeat.ts b/src/webrtc/opcodes/Heartbeat.ts
index 95e991ad..3d8e187b 100644
--- a/src/webrtc/opcodes/Heartbeat.ts
+++ b/src/webrtc/opcodes/Heartbeat.ts
@@ -22,7 +22,7 @@ import {
 	Send,
 	setHeartbeat,
 	WebSocket,
-} from "@fosscord/gateway";
+} from "@spacebar/gateway";
 import { VoiceOPCodes } from "../util";
 
 export async function onHeartbeat(this: WebSocket, data: Payload) {
diff --git a/src/webrtc/opcodes/Identify.ts b/src/webrtc/opcodes/Identify.ts
index 9a9904df..3f65127e 100644
--- a/src/webrtc/opcodes/Identify.ts
+++ b/src/webrtc/opcodes/Identify.ts
@@ -16,13 +16,13 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { CLOSECODES, Payload, Send, WebSocket } from "@fosscord/gateway";
+import { CLOSECODES, Payload, Send, WebSocket } from "@spacebar/gateway";
 import {
 	validateSchema,
 	VoiceIdentifySchema,
 	VoiceState,
-} from "@fosscord/util";
-import { endpoint, getClients, VoiceOPCodes, PublicIP } from "@fosscord/webrtc";
+} from "@spacebar/util";
+import { endpoint, getClients, VoiceOPCodes, PublicIP } from "@spacebar/webrtc";
 import SemanticSDP from "semantic-sdp";
 const defaultSDP = require("./sdp.json");
 
diff --git a/src/webrtc/opcodes/SelectProtocol.ts b/src/webrtc/opcodes/SelectProtocol.ts
index 798a1046..6618d83b 100644
--- a/src/webrtc/opcodes/SelectProtocol.ts
+++ b/src/webrtc/opcodes/SelectProtocol.ts
@@ -16,9 +16,9 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Payload, Send, WebSocket } from "@fosscord/gateway";
-import { SelectProtocolSchema, validateSchema } from "@fosscord/util";
-import { endpoint, PublicIP, VoiceOPCodes } from "@fosscord/webrtc";
+import { Payload, Send, WebSocket } from "@spacebar/gateway";
+import { SelectProtocolSchema, validateSchema } from "@spacebar/util";
+import { endpoint, PublicIP, VoiceOPCodes } from "@spacebar/webrtc";
 import SemanticSDP, { MediaInfo, SDPInfo } from "semantic-sdp";
 
 export async function onSelectProtocol(this: WebSocket, payload: Payload) {
diff --git a/src/webrtc/opcodes/Speaking.ts b/src/webrtc/opcodes/Speaking.ts
index dbdbcdaa..97055e0a 100644
--- a/src/webrtc/opcodes/Speaking.ts
+++ b/src/webrtc/opcodes/Speaking.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Payload, Send, WebSocket } from "@fosscord/gateway";
+import { Payload, Send, WebSocket } from "@spacebar/gateway";
 import { getClients, VoiceOPCodes } from "../util";
 
 // {"speaking":1,"delay":5,"ssrc":2805246727}
diff --git a/src/webrtc/opcodes/Video.ts b/src/webrtc/opcodes/Video.ts
index 8fd6a9e3..3228d4ee 100644
--- a/src/webrtc/opcodes/Video.ts
+++ b/src/webrtc/opcodes/Video.ts
@@ -16,9 +16,9 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Payload, Send, WebSocket } from "@fosscord/gateway";
-import { validateSchema, VoiceVideoSchema } from "@fosscord/util";
-import { channels, getClients, VoiceOPCodes } from "@fosscord/webrtc";
+import { Payload, Send, WebSocket } from "@spacebar/gateway";
+import { validateSchema, VoiceVideoSchema } from "@spacebar/util";
+import { channels, getClients, VoiceOPCodes } from "@spacebar/webrtc";
 import { IncomingStreamTrack, SSRCs } from "medooze-media-server";
 import SemanticSDP from "semantic-sdp";
 
diff --git a/src/webrtc/opcodes/index.ts b/src/webrtc/opcodes/index.ts
index f0ee23c4..34681055 100644
--- a/src/webrtc/opcodes/index.ts
+++ b/src/webrtc/opcodes/index.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { Payload, WebSocket } from "@fosscord/gateway";
+import { Payload, WebSocket } from "@spacebar/gateway";
 import { VoiceOPCodes } from "../util";
 import { onBackendVersion } from "./BackendVersion";
 import { onHeartbeat } from "./Heartbeat";
diff --git a/src/webrtc/util/MediaServer.ts b/src/webrtc/util/MediaServer.ts
index fcc1375d..0c12876c 100644
--- a/src/webrtc/util/MediaServer.ts
+++ b/src/webrtc/util/MediaServer.ts
@@ -16,7 +16,7 @@
 	along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
-import { WebSocket } from "@fosscord/gateway";
+import { WebSocket } from "@spacebar/gateway";
 import MediaServer, {
 	IncomingStream,
 	OutgoingStream,