# Avoid redirection while using recording with URL queries

**URL:** <https://community.wowza.com/t/avoid-redirection-while-using-recording-with-url-queries/41485>\
**Category:** Wowza Streaming Engine\
**Created:** [February 12, 2014, 5:48pm UTC](https://community.wowza.com/t/avoid-redirection-while-using-recording-with-url-queries/41485 "2014-02-12T17:48:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stream\_4life](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Stream\_4life](https://community.wowza.com/u/Stream_4life)\
**Post date:** [February 12, 2014, 5:48pm UTC](https://community.wowza.com/t/avoid-redirection-while-using-recording-with-url-queries/41485/1 "2014-02-12T17:48:51Z")

</div>

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

```auto
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

![](https://www.wowza.com/downloads/images/wms_lsr_recording_in_progress.png)

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.

---

<div class="post-metadata">

**Author:** ![Andrew\_Kennedy1](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@Andrew\_Kennedy1](https://community.wowza.com/u/Andrew_Kennedy1)\
**Post date:** [February 13, 2014, 4:39am UTC](https://community.wowza.com/t/avoid-redirection-while-using-recording-with-url-queries/41485/2 "2014-02-13T04:39:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Stream\_4life](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@Stream\_4life](https://community.wowza.com/u/Stream_4life)\
**Post date:** [February 13, 2014, 6:22pm UTC](https://community.wowza.com/t/avoid-redirection-while-using-recording-with-url-queries/41485/3 "2014-02-13T18:22:13Z")

</div>

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