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:
6 files changed
+344
-1
No files matched your search
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user