mirror of
https://github.com/markqvist/Sideband.git
synced 2026-04-27 22:25:39 +00:00
Fixed missing telephone announce handler in frontend/service proxy on Android
This commit is contained in:
parent
3754f3bfa9
commit
92635ea1f2
2 changed files with 3 additions and 1 deletions
|
|
@ -2150,6 +2150,7 @@ class SidebandCore():
|
|||
elif "telephone_set_microphone" in call: connection.send(self.telephone.set_microphone(call["telephone_set_microphone"])) if self.telephone else False
|
||||
elif "telephone_set_ringer" in call: connection.send(self.telephone.set_ringer(call["telephone_set_ringer"])) if self.telephone else False
|
||||
elif "telephone_set_low_latency_output" in call: connection.send(self.telephone.set_low_latency_output(call["telephone_set_low_latency_output"])) if self.telephone else False
|
||||
elif "telephone_announce" in call: connection.send(self.telephone.announce()) if self.telephone else False
|
||||
else:
|
||||
connection.send(None)
|
||||
|
||||
|
|
|
|||
|
|
@ -201,4 +201,5 @@ class ReticulumTelephoneProxy():
|
|||
def set_speaker(self, speaker): return self.owner.service_rpc_request({"telephone_set_speaker": speaker })
|
||||
def set_microphone(self, microphone): return self.owner.service_rpc_request({"telephone_set_microphone": microphone })
|
||||
def set_ringer(self, ringer): return self.owner.service_rpc_request({"telephone_set_ringer": ringer })
|
||||
def set_low_latency_output(self, enabled): return self.owner.service_rpc_request({"telephone_set_low_latency_output": enabled})
|
||||
def set_low_latency_output(self, enabled): return self.owner.service_rpc_request({"telephone_set_low_latency_output": enabled})
|
||||
def announce(self): return self.owner.service_rpc_request({"telephone_announce": True})
|
||||
Loading…
Add table
Add a link
Reference in a new issue