Claes,
There is really no support for this in .NET (unlike in COM, where the
IStream interface defined a copy method).
The only way I can think of is to copy it into memory, into a
MemoryStream, and then play that back as you wish. As low latency is
important, I would make sure that you have a good amount of physical memory
on the machine as well.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Claes Mogren" <ml***@hotmail.com> wrote in message
news:78**************************@posting.google.c om...
Hey!
I'm wondering what the best way to clone/duplicate/copy a stream is?
The application is supposed to accept an RTP stream and forward the
data (video frames) to one or more clients. Is the best way really to
buffer everything in an array? (Low latency is important)
Thankful for hints on what to use!
/Claes Mogren