feat(calling/server): Using source as channel id

This commit is contained in:
Christopher committed 2021-01-23 20:58:05 +01:00
1 parent d6e9a85b40
commit 03ecd5226b
1 file changed
+3 -1
+3 -1
View File
@@ -39,7 +39,9 @@ onNet(events.PHONE_BEGIN_CALL, async (phoneNumber: string) => {
const targetName = targetPlayer.getName();
console.log('got the target name: ', targetName);
const channelId = pSource + targetPlayer.source;
const channelId = pSource
// target
// Sends information to the client: sourec, playerName, number, isTransmitter