how to detect when an external process starts a stream?

Hi all:

I am using ffmpeg to generate streams, then pushing those streams to wowza. I was hoping to use the IMediaStreamActionNotify3 class’ onPublish method to detect when the generated stream were ready. However, it seems like ffmpeg creates the stream too soon, sometimes several seconds before there is any data being streamed.

Is there any way to detect when a stream both exists AND is streaming data?

Thanks,

Taras.

Hi Taras.

If you are streaming true live streams you can use this module to look at when there are packets available:

How to monitor live streams using IMediaStreamActionNotify2

If you are streaming a file as live streams you may want to consider using this scheduler:

How to do scheduled streaming with Stream class streams

Salvadore