>The question for WMS gurus - is there any way to organize delayed streaming
>for WMS, like 8 hours delay from the original live stream? Possibly this can
>be done programmatically?
>Regards,
Supposing you create a dummy WMV file and point a publishing point at
it, setting the broadcast start time as a WallClock value 8 hours
after expected stream start.
http://msdn2.microsoft.com/en-us/library/ms755434(VS.85).aspx
Make that publishing point public (i.e.not requiring authorisation)
Now create a second publishing point to accept the stream from the
encoder - set it to Archive on the server, to the dummy filename you
created earlier. You could ensure that's not available (guessable) to
the internet by setting authorisation for the stream.
Once the encoder has finished, the complete file should be archived
and available for on-demand streaming, with the start time determined
by the WallClock value of the public publishing point.
In theory, the on demand PP could be trying to read from the file as
it's being encoded if you tried to overlap stream times, but AFAIK
that won't cause a problem on the server unless the user tries to fast
forward that stream to / past it's live endpoint.
You can lock that behaviour on the server to prevent that though
http://msdn2.microsoft.com/en-us/library/ms782509(VS.85).aspx
or by using a client side ASX playlist.
To get a similar-to live performance, make sure advanced fast start is
enabled so the client end gets to begin playing the content ASAP :
http://www.microsoft.com/windows/windowsmedia/technologies/bettertogether.aspx#a
dvancedfaststart
HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2008
http://mvp.support.microsoft.com/mvpfaqs
Vladimir Polischuk - 19 Mar 2008 08:00 GMT
Neil,
Thanks a lot for your answer - it gives me the direction. But I see a
potential problem -
this is a live stream so encoder may work for a long period of time - the
dummy.WMS can grow much in size and take up all disk space. Possibly there
is a way to use 2 WMS files and swap then periodically? Or use one file but
somehow make the first publishing point to write to the beginning of the
file after 8 hours? After that the second publishing point can be set to
read from the dummy.WMV in a loop.
Regards,
Vladimir V. Polischuk
www.voynex.com - custom software development,
solutions for Windows Media (pay-per-minute billing,
streaming content protection, access control)
> Supposing you create a dummy WMV file and point a publishing point at
> it, setting the broadcast start time as a WallClock value 8 hours
[quoted text clipped - 31 lines]
> Digital Media MVP : 2004-2008
> http://mvp.support.microsoft.com/mvpfaqs
TotalStream.net - 19 Mar 2008 13:00 GMT
But you dont want to loop the second stream, just delay it by 6 or 8
hours.
And you want to have minimal impact encoder for the primary stream,
as it will be going continously.
So the trick is going to be to archive the primary stream to a hard
drive, preferably on a different workstation/server, for use 6-8 hours
later; and to have those files time-stamped sequentially, with
different file names; and then deleting those files automatically
Then have the second encoder push the files out as a stream, at the
selected time (delayed by 6 or 8 hours) automatically
The real trick is going to be changing from one *.wmv file to the
next *.wmv file to the CDN, without the viewers seeing any
buffering
We are doing it now with flash (archiving the primary stream to a hard
drive automatically) Dont know how to do it for *.wmv
On Mar 19, 12:00 am, "Vladimir Polischuk" <v...@exclusivesoft.com>
wrote:
> Neil,
>
[quoted text clipped - 49 lines]
>
> - Show quoted text -
Vladimir Polischuk - 24 Mar 2008 15:27 GMT
I'm talking about the cycle for the second stream to make it read the
dummy.wmv again, but with the new content.
But you dont want to loop the second stream, just delay it by 6 or 8
hours.
And you want to have minimal impact encoder for the primary stream,
as it will be going continously.
So the trick is going to be to archive the primary stream to a hard
drive, preferably on a different workstation/server, for use 6-8 hours
later; and to have those files time-stamped sequentially, with
different file names; and then deleting those files automatically
Then have the second encoder push the files out as a stream, at the
selected time (delayed by 6 or 8 hours) automatically
The real trick is going to be changing from one *.wmv file to the
next *.wmv file to the CDN, without the viewers seeing any
buffering
We are doing it now with flash (archiving the primary stream to a hard
drive automatically) Dont know how to do it for *.wmv