Streaming problems...
- From: "Nadav" <Nadav@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 May 2005 09:39:17 -0700
Hi,
Introduction:
**************
I am writing a custom MediaServer based on the NetWrite sample provided with
WMF SDK 9.5, The goal is to write a server that receive input from an
encoder, streams it to the net ( pull logic ) AND write it to the disk ( so
far all of the described functionality is supported by the media encoder ),
here is the cache: the server I am creating save the ASF data in a collection
of chunked ASF files of a constant size, this enable me to delete parts of
the recorded data when no more free space is available on the disk.
The problem:
***************
Recording the chunked data works fine, the content streamed to the server
can be consumed by a player while it is being saved to disk in .Asf chunks.
[*] When trying to play-back the chunked files: for each chunk, the WMReader
is re-Initialized, playing the first chunk woks fine BUT when switching to
the next chunk it seems that the reader is trying to catch-up: it reads the
samples from the file as fast as it can… my guess is that the problem is with
timing ( e.g. IWMReaderAdvanced->DeliverTime or so ), But what is it exactly
I don’t know… what may cause this problem ???
I am using IWMWriterNetworkSink to enable ‘pulling’ the data from my custom
server should there be any special configuration of the network sink or to
it’s associated IWMWriter?
How should I stream several distinct .ASF files of the same format is the
same NetworkSink session? What logic should I implement for timing the sink
with the files?
Any comment, help, pointer, or sample would be appreciated.
Thanks in advance,
Nadav.
.
- Follow-Ups:
- Re: Streaming problems...
- From: The March Hare [MVP]
- Re: Streaming problems...
- Prev by Date: Re: I can't get the interface of my filter!
- Next by Date: Re: Faster than realtime encoding
- Previous by thread: Faster than realtime encoding
- Next by thread: Re: Streaming problems...
- Index(es):
Relevant Pages
|