introduced send fec command

This commit is contained in:
DJ2LS 2023-02-12 17:45:03 +01:00
parent 996de08767
commit 2292898f1a

View file

@ -678,6 +678,13 @@ exports.sendTestFrame = function () {
writeTncCommand(command);
};
// SEND FEC
exports.sendFEC = function (mode, payload) {
command = '{"type" : "fec", "command" : "send_fec", "mode" : "' + mode + '", "payload" : "' + payload + '"}';
writeTncCommand(command);
};
// RECORD AUDIO
exports.record_audio = function () {
command = '{"type" : "set", "command" : "record_audio"}';