We are streaming H.264 video to Wowza via RTSP using our own custom RTSP/RTP server. Some of our streams come from live cameras, others come from recorded sources (i.e. a database). However, all streams are treated as live streams from Wowza’s point of view.
The problem is that we were wondering what is the best way to signal Wowza that an “end of stream” condition has occurred. For example, our recorded source has reached its end, or we have lost connectivity to a live camera.
I have researched the RTSP spec but could not find a standard way of doing this. There are a handful of proposals out there, such as using the “END_OF_STREAM” command or using “ANNOUNCE”, but nothing that seems to have made it into an RFC.
Do you support any RTSP methods for signalling end of stream? Or would we need to notify Wowza out-of-band using a custom Wowza module (and then shut the stream down manually)?
Thanks,
Jesse