Streaming problems...



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.

.



Relevant Pages

  • Streaming problems
    ... I am writing a custom MediaServer based on the NetWrite sample provided with ... the server I am creating save the ASF data in a collection ... the next chunk it seems that the reader is trying to catch-up: ... How should I stream several distinct .ASF files of the same format is the ...
    (microsoft.public.windowsmedia.sdk)
  • Path does not exist for server side music videos
    ... When I go to a web site that has server side music video's (.asf files) I ... that it connects to the server side video and I can view the video with no ... find the file in the Temporary internet directory. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Partitioned decompression
    ... | This big compressed file will be transfered between a server and the ... | this chunk is requested by other peer, ... name, creation date, and comments to the client from the server. ... the server runs a checksum for every 100 KB ...
    (comp.compression)
  • Re: LWP get but only get the first 25% then exit/stop_retrieveing
    ... read, at least, the first chunk, entirely, regardless of length. ... coming out of a server, but not an Apache server as prior discussed. ... Use of exit will break the connection, for your script, upon reading the first ... Without an exit, the read process will continue until the final chunk arrives. ...
    (perl.beginners)
  • Re: missing charset or bung server settings?
    ... >example server outputs below, and help me understand what is wrong. ... that are causing the XML to be invalid. ... using the output directly, your client is broken, as it's not decoding the ... Chunk size here. ...
    (comp.lang.php)