11-27-2019, 10:29 AM
Code:
procedure TForm1.udpreciverUDPRead(AThread: TIdUDPListenerThread;
const AData: TIdBytes; ABinding: TIdSocketHandle);
var
AudioDataSize: Integer;
deData : TIdBytes;
straudio : string;
begin
straudio := BytesToString(AData, 6, AData[High(AData)]); // here i have tried to get the orginal Bytes without Audio1
dedata := Tobytes(straudio);
end;
i tried to keep the original bytes after cutting it out
but its always get corrupted what i am doing wrong ?