A peer-to-peer in-game proximity voice chat for RageMP developped for San Andreas Advanced Roleplay V.
This script use the PeerJS API which is based on WebRTC.
Installation:
- Place the content of
./html/
on your secure http server; - Run
npm install peer
in your RageMP server directory. This should add PeerJS Server and its dependendies in your 'node_modules' folder; - Include
./voiceChat_client.js
and./voiceChat_server.js
into your script; - Change the default value in the files:
- Restart your server
- Enjoy?
This project is not near ready to release its first stable version, but as soon as it was presentable, I though it was best to put the code open source because of 2 reasons: for RageMP in general to improve, and for this plugin to develop faster. There is a lot of cleaning to do bare with me, I released this so bugs can be fixed, I do not expect you guys to clean my code.
Thank you for the testing: Amata, Austin, BlackBlitch, Bouzigoloum, James Cole, Kiper, LukEL, Mos, StreetGT.