I want to upload a video file to my S3 input bucket –as soon as a Wowza file write is complete- so the Amazon Elastic Transcoder can transcode the file.
Is there a way to tell Wowza to execute a program after a file write is complete?
I found the IMediaWriterActionNotify and I did the following:
Installed Wowza IDE
Followed the Project and Module Class Creation (from here) to create a Wowza Media Server Project
At this point, if I run/debug the sample code, onAppStart, onAppStop, etc. are not being called.
Then I edited the MyFirstModule class and pasted the example code from IMediaWriterActionNotify
But for some reason, the onFLVAddMetadata and onWriteComplete are not being called. Does anybody know what I am missing here?