Hi!
We have MediaCasterStreamManager instance starting some streams with startStream(name, type) method.
We have void ModuleBase:: onStreamCreate(IMediaStream stream) overloaded, to add an IMediaStreamActionNotify3 to the stream when its created.
Now once we get notifications about stream events, we would like to monitor somehow if stream was succesfully started, is running healthy, or is down for some reason.
onPublish happens regardless of stream health, if we startStream(“test”, “thisURLdoesNotExist”) it still throws onPublish. Ok, lets say we can use onMetaData, onCodecInfoAudio and onCodecInfoVideo as those are fired only if URL is right and stream is actually published.
But how to determine when/if it goes down for some reason (is not available from URL anymore)? We can see stream resets by timeout, but no event is fired (i suppose it have to be onUnPublish/onPublish pair fired on every timeout reset?)
We have older implementation where streams are started from Wowza user interface, not using MediaCasterStreamManager, and it efficiently fires onPublish/onUnPublish events on timeout reset.
Many thanks, Alex.