Have a look at:
https://code.google.com/p/siapen/[
^]
You'll find
VFrames.pas[
^] if you dig into the code.
[Update]
1. Get raw data from ACM
2. Write the data to a MemoryStream
3. Send the MemoryStream using Indy.
Somthing similar to this:
with Owner.PeerThread.Connection do
begin
if Connected then
begin
OpenWriteBuffer;
try
WriteStream(memoryStream,True,True,LStreamPacket.Size);
finally
CloseWriteBuffer;
end;
end;
end;
Best regards
Espen Harlinn