fix(protocol): attach voice waveforms on outgoing records

Private-chat clients only draw the progress track from message metadata.
Compute amplitudes when uploading a record so PC and phone show the bar.
This commit is contained in:
DrSmoothl committed 2026-09-13 22:21:57 +08:00
1 parent 7ef256c487
commit 0a6c5b7d2a
6 files changed
+344 -1

No files matched your search

+6
View File
@@ -407,6 +407,12 @@ export interface VideoExtBizInfo {
bytesPbReserve?: pb<3, bytes>;
}
/** Encoded payload of `PttExtBizInfo.waveform`. Count must equal amplitudes. */
export interface PttWaveform {
size?: pb<1, uint_32>;
amplitudes?: pb<2, bytes>;
}
export interface PttExtBizInfo {
srcUin?: pb<1, uint_64>;
pttScene?: pb<2, uint_32>;