26-05-2023 дата публикации
Номер: CN116170423A
Принадлежит:
The invention relates to a nodejs middleware-based talkback recording coding and decoding system and method. The method comprises the following steps: a client obtains the use permission of a sound sensor; calling a sound sensor to collect original pcm audio data in a single-channel mode; the nodejs middleware merges and compresses the original pcm audio data, further compresses, encapsulates and sorts the original pcm audio data to obtain a processed audio packet, and sends the processed audio packet to a server; the server receives the processed audio packets, checks whether the audio packets conform to the specification or not, and receives the audio packets conforming to the specification; and when the server sends the processed audio packets to the nodejs middleware for receiving, the processed audio packets are decompressed and restored to obtain pcm audio packets, the pcm audio packets are sorted and combined, the pcm audio packets are sent to the client through socket connection ...
Подробнее