@livedesk/client 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/livedesk-client-node.js +11 -0
- package/package.json +1 -1
|
@@ -861,6 +861,15 @@ async function handleRemoteCommand(socket, options, message, nextFrameSeq, activ
|
|
|
861
861
|
return;
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
+
if (command === 'audio.start' || command === 'audio.stop') {
|
|
865
|
+
writeJsonLine(socket, {
|
|
866
|
+
type: 'command.result',
|
|
867
|
+
commandId: message.commandId,
|
|
868
|
+
error: 'remote audio is only available in a RemoteFast engine with audio support'
|
|
869
|
+
});
|
|
870
|
+
return;
|
|
871
|
+
}
|
|
872
|
+
|
|
864
873
|
if (command === 'input.control') {
|
|
865
874
|
writeJsonLine(socket, {
|
|
866
875
|
type: 'command.result',
|
|
@@ -936,6 +945,8 @@ function connectOnce(options, deviceId) {
|
|
|
936
945
|
thumbnail: options.thumbnailEnabled,
|
|
937
946
|
liveStream: options.liveEnabled,
|
|
938
947
|
control: false,
|
|
948
|
+
audio: false,
|
|
949
|
+
remoteAudio: false,
|
|
939
950
|
fileTransfer: true,
|
|
940
951
|
remoteFiles: true,
|
|
941
952
|
fileTransferMaxBytes: MAX_FILE_TRANSFER_BYTES,
|