I want to know how to limit the time a client play from a
broadcast publishing point.
i.e. The publishing point keeps on running, whenever a
client play from the publishing point, the client can
only see 30 seconds and then stop playing.
Jorge Novillo [MS] - 22 Dec 2003 18:14 GMT
If you're using Windows Media Services 9 Series that ships with Windows
Server 2003, then you can enable a wrapper playlist on the Broadcast
publishing point that limits the duration of the broadcast. Of course,
once the player enters the stopped state, the user could re-connect to the
broadcast and continue streaming. If you're looking for a way to limit the
user to 30sec of streaming and prevent them from re-connecting in the
future, you'll have to write a custom plugin to do this.
Here's an example of the wrapper playlist solution i mentioned above:
<?wsx version="1.0"?>
<smil>
<media src="%requestedUrl%" dur="30" />
</smil>
Thanks for using Windows Media Technologies.
Jorge Novillo [MS]
Digital Media Division
This posting is provided "AS IS" with no warranties, and confers no rights.
The use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm