views:

146

answers:

1

With IMFMediaSource and IMFByteStreamHandler I can access bytes from media source to determine media type and audio/video stream parameters, such as duration, quality, number of streams, etc. But can I replace these bytes and send them back to client? E.g. I receive zip file bytestream, extract actual media and send another bytestream with asf (for example) data. Is this possible?

A: 

Yes. You can create your own bytestream and create an ASF source with it. ASF source is not going to know where bytes are coming from so you can modify the original source if necessary.

AlexEzh