接通双端加密语音录制与播放
This commit is contained in:
1 parent
149028267e
commit
87676ae983
13 files changed
+217
-10
No files matched your search
@@ -6,6 +6,8 @@ contextBridge.exposeInMainWorld('xhchat', {
|
||||
apiBase: apiArgument?.slice('--xhchat-api='.length),
|
||||
signChallenge: (username: string, challenge: string) => ipcRenderer.invoke('device:sign', username, challenge),
|
||||
openBrowser: (url?: string) => ipcRenderer.invoke('browser:open', url),
|
||||
allowVoiceRecording: () => ipcRenderer.invoke('voice:allow'),
|
||||
endVoiceRecording: () => ipcRenderer.invoke('voice:end'),
|
||||
signMls: (username: string, kind: string, user: string, device: string, value: Uint8Array) =>
|
||||
ipcRenderer.invoke('device:sign-mls', username, kind, user, device, value),
|
||||
protectMls: (key: string) => ipcRenderer.invoke('device:protect-mls', key),
|
||||
|
||||
Reference in new issue
Block a user