Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / March 2008

Tip: Looking for answers? Try searching our database.

Delayed streaming

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vladimir Polischuk - 17 Mar 2008 13:18 GMT
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,

Vladimir V. Polischuk
http://voynex.com - custom software development,
solutions for Windows Media (pay-per-minute billing,
streaming content protection, access control)
Neil Smith [MVP Digital Media] - 17 Mar 2008 21:16 GMT
>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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.