Patent ID: 11869516
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 0:
1. A voice processing method for a terminal, comprising:
performing voice speed detection on a voice obtained from a voice source, to obtain a voice speed value of the voice, wherein the voice speed value indicates a speaking speed of a speaker that utters the voice;
obtaining a forward error correction (FEC) redundancy;
adjusting the FEC redundancy according to the voice speed value to obtain a target redundancy, comprising:
in response to determining that the voice speed value is greater than a voice speed lower limit and less than a voice speed upper limit, calculating an adjustment parameter based on the voice speed value, and adjusting the FEC redundancy according to the adjustment parameter to obtain the target redundancy, wherein the adjusted FEC redundancy corresponding to a smaller voice speed value is less than the adjusted FEC redundancy corresponding to a greater voice speed value;
performing voice encoding on the voice to obtain a voice encoded packet;
performing FEC encoding on the voice encoded packet according to the target redundancy to obtain a redundancy packet; and
transmitting the redundancy packet and the voice encoded packet to a receiving end.