# Capturing a stream

**URL:** <https://community.wowza.com/t/capturing-a-stream/37402>\
**Category:** Wowza Streaming Engine\
**Created:** [October 10, 2011, 4:33pm UTC](https://community.wowza.com/t/capturing-a-stream/37402 "2011-10-10T16:33:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Coulbourne](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gary\_Coulbourne](https://community.wowza.com/u/Gary_Coulbourne)\
**Post date:** [October 10, 2011, 4:33pm UTC](https://community.wowza.com/t/capturing-a-stream/37402/1 "2011-10-10T16:33:39Z")

</div>

I have a Sercomm camera that supports pushing, although this consists of sending a long stream of media to some URL. I created an HTTProvider to listen to the data, with a filter of \*. However, the camera is not sending a proper HTTP message. When the server runs, and the camera sends data, I get:

```auto
02011-10-10 17:24:23,747 [VHostHandler._defaultVHost_.71] DEBUG - open
02011-10-10 17:24:23,760 [VHostHandler._defaultVHost_.71] INFO - handshake0: 212
02011-10-10 17:24:23,832 [VHostHandler._defaultVHost_.73] INFO - handshake0: 539
02011-10-10 17:24:23,832 [VHostHandler._defaultVHost_.73] INFO - handshake0: 589
02011-10-10 17:24:23,833 [VHostHandler._defaultVHost_.73] INFO - handshake0: 2037
02011-10-10 17:24:23,851 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[1]: length:1948
02011-10-10 17:24:23,851 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[2]: length:412
02011-10-10 17:24:23,851 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[2]: length:1860
02011-10-10 17:24:23,852 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[2]: length:3308
02011-10-10 17:24:23,852 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[2]: length:4756
02011-10-10 17:24:23,852 [VHostHandler._defaultVHost_.73] DEBUG - Handshake[2]: length:6204

```

What I would like to do is catch the stream as soon as it is connected, and do the parsing myself. I’m not sure which API calls I can use to do this, since it looks like HTTProviders only handle actual HTTP data. Perhaps some way to hook into the “handshake”? Any suggestions?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 10, 2011, 10:44pm UTC](https://community.wowza.com/t/capturing-a-stream/37402/2 "2011-10-10T22:44:49Z")

</div>

HTTProvider cannot handle large http post data like this.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [October 11, 2011, 1:20pm UTC](https://community.wowza.com/t/capturing-a-stream/37402/3 "2011-10-11T13:20:01Z")

</div>

You can install a web server on the same machine to handle uploads

Richard

---

<div class="post-metadata">

**Author:** ![Gary\_Coulbourne](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gary\_Coulbourne](https://community.wowza.com/u/Gary_Coulbourne)\
**Post date:** [October 11, 2011, 8:03am UTC](https://community.wowza.com/t/capturing-a-stream/37402/4 "2011-10-11T08:03:55Z")

</div>

Is there a recommended way to handle video data that comes in via a large http post?
