CPC H04M 1/72457 (2021.01) [H04M 1/6058 (2013.01); H04M 1/72454 (2021.01)] | 20 Claims |
1. A voice call method, applied to a voice call system, wherein the voice call system comprises a first terminal device, a second terminal device, and a first headphone connected to the first terminal device, and the method comprises:
displaying, by the first terminal device, a first interface, wherein the first interface is an interface used for calling the second terminal device, and comprises a first control;
receiving, by the first terminal device, a first operation of selecting the first control;
enabling, by the first terminal device, a first function in response to the first operation, wherein the first function is used to implement a positioning assist during a voice call;
sending, by the first terminal device, a first request to the second terminal device, wherein the first request is used for requesting location information of the second terminal device;
sending, by the second terminal device, a first message to the first terminal device, wherein the first message contains the location information of the second terminal device;
obtaining, by the first terminal device, azimuth information between the first terminal device and the second terminal device based on location information and orientation information of the first terminal device and the location information of the second terminal device;
when the azimuth information indicates that the second terminal device is located at a first side of the first terminal device, processing, by the first terminal device, a voice signal from the second terminal device based on the azimuth information and a spatial cue to obtain a first-channel voice signal and a second-channel voice signal, wherein the spatial cue is obtained from a preset spatial cue library based on a correspondence with the azimuth information;
sending, by the first terminal device, the first-channel voice signal and the second-channel voice signal to a first channel and a second channel of the first headphone, respectively, wherein the first headphone comprises a first earpiece and a second earpiece, the first earpiece corresponds to the first channel, and the second earpiece corresponds to the second channel; and
playing, by the first headphone, the first-channel voice signal and the second-channel voice signal in the first channel and the second channel, respectively.
|