You could do it if the source is a MediaCaster type, for example an IP Camera, with code like this:
http://community.wowza.com/t/-/88
But if it is RTMP/RTP push, it has to be initiated by the encoder. If you can integrate with the encoder, and send it a command, it is possible.
Richard