voice sort of barely works...
This commit is contained in:
parent
3f7c462c09
commit
76f041e75e
3 changed files with 7 additions and 4 deletions
|
@ -28,7 +28,10 @@ class GatewayRTCConnection {
|
|||
|
||||
async addTrack(track) {
|
||||
if (!track) return;
|
||||
this.connection.addTrack(track);
|
||||
this.ws.send(this.server.packet("EVENT_TRACK_NOTIFICATION", {
|
||||
kind: track.kind
|
||||
}));
|
||||
this.connection.addTransceiver(track);
|
||||
}
|
||||
|
||||
async renegotiate() {
|
||||
|
|
|
@ -9,7 +9,7 @@ const opcodes = {
|
|||
23: { name: "ACTION_VOICE_CONNECTION_REQUEST", data: "JSON" },
|
||||
24: { name: "EVENT_VOICE_CONNECTION_ANSWER", data: "JSON" },
|
||||
25: { name: "EVENT_RENEGOTIATE_REQUIRED", data: "JSON" },
|
||||
26: { name: "ACTION_VOICE_ADD_ICE", data: "JSON" }
|
||||
26: { name: "EVENT_TRACK_NOTIFICATION", data: "JSON" }
|
||||
};
|
||||
|
||||
const opcodeSeparator = "@";
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
module.exports = {
|
||||
experiments: {
|
||||
voiceSFUTesting: true,
|
||||
userListTest: false
|
||||
voiceSFUTesting: false,
|
||||
userListTest: true
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue