mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 06:32:34 +00:00
Remove ALL fosscord mentions
This commit is contained in:
236 files changed
+441
-429
No files matched your search
@@ -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";
|
||||
|
||||
@@ -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());
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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");
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user