I've been digging around and found the publishing point sub-event
WMS_EVENT_PUBLISHING_POINT_STREAM_END, which is (*I think*) exactly
what I need. Problem is I can't figure out when the thing fires.
I've written an event notification plugin that watches for this event
as well as gone the VBScript/WMS Active Script Event Handler route
with no luck. The docs say:
'The publishing point has stopped sending a stream. Because a
publishing point does not automatically stop when an encoder, for
example, sends an end-of-stream notification, this event can be used
to determine when the stop method should be called to disconnect all
clients.'
The way I read that, once I stop an encoder stream the publishing
point will continue to stream (I would guess briefly) until it's
buffer/whatever runs out. Once that happens I would expect
WMS_EVENT_PUBLISHING_POINT_STREAM_END to fire. I'm I interpreting
this wrong? Can anyone point me in the right direction?
Thanks
> Hi,
>
[quoted text clipped - 14 lines]
>
> Josh
Ravi Raman - 20 May 2004 19:14 GMT
Josh,
Can I suggest an alternate method? There is a sample event
plug-in that ships with the SDK that dumps all the events
that get fired and the associated context values to a
file. May be, you can compile it, enable it on your
server, get the output file and look at the list of events
to find the sweet spot that might fit you?
The WMS_EVENT_PUBLISHING_POINT_STREAM_END is the event
subtype. You should be looking for
WMS_EVENT_PUBLISHING_POINT and once you get the event,
look for the WMS_COMMAND_CONTEXT_EVENT in the command
context. This should match
WMS_EVENT_PUBLISHING_POINT_STREAM_END but I am not 100%
sure if it would work, you should try it though.
The Windows Media Services SDK should give you plenty of
information on this topic.
Thx,
Ravi
--
This posting is provided "AS IS" with no warranties, and
confers no rights.
>-----Original Message-----
>I've been digging around and found the publishing point sub-event
[quoted text clipped - 37 lines]
>> Josh
>.