Avoid redirection while using recording with URL queries

I want to record a live stream using the url query method. I used the following syntax.

http://[wowza-ip-address]:8086/livestreamrecord?app=live&streamname=myStream&action=startRecording

But my problem is , i am getting redirected to this page to indicate recording has been started

I am using the record function inside a website and i dont want that status page. Is there any way to get rid of that?

Another problem is, the stream is recording if i set output format to FLV. By default the recorded file size will be 4KB only.

Hi,

There is no way to remove the redirection. You would need to put the call into a remote query CGI call, so processing it by your server rather than a link on your page. If the codecs in use are H264/AAC/MP3 you can not record it into a FLV so I suspect this is the cause of the 4kB file, does MP4 output work ?

Andrew.

All the MP4 files are recording with 4K. FLV works fine. Camera input is not AAC/AVC.