# Streamlock ssl for hls: does all the traffic go to streamlock or only at the tcp handshake?

**URL:** <https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314>\
**Category:** Wowza Streaming Engine\
**Created:** [June 2, 2020, 2:28pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314 "2020-06-02T14:28:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elie\_Obeid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/elie_obeid/32/463_2.png) [@Elie\_Obeid](https://community.wowza.com/u/Elie_Obeid)\
**Post date:** [June 2, 2020, 2:28pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314/1 "2020-06-02T14:28:37Z")

</div>

We allow our customers to stream offline, meaning in order to stream, they have to be connected to our network but not the internet. We have our own servers on which wowza streaming engine is installed. We usually install SSL either on the firewall or use lets encrypt.

We have one server on which we decided to install [streamlock.net](http://streamlock.net) license provided by wowza. So now we provide the customer the streaming URL from [streamlock.net](http://streamlock.net). We use HLS

Does that mean that all the user traffic is going to the internet or only at the tcp handshake? If it’s the latter then how many tcp handshake occur in HLS streaming? Because the server keeps sending data chunks every few seconds, so if the video is 2h long, how many times the user has been forced to go online?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 4, 2020, 9:05pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314/2 "2020-06-04T21:05:11Z")

</div>

Per our Engine engineering team @Elie Obeid:

“With HTTP 1 you can see browsers open up multiple connections to servers to issue parallel requests, so you will see multiple TLS handshakes. With HTTP 2, which allows for parallel requests, you don’t have this problem. I am certain Wowza doesn’t close connections for each request for HTTP2. For HTTP1, we had a bug which would cause us to close connections if default segment sizes were used, but from what I remember that is fixed, and we keep the connection open.”

Does that help you @Elie Obeid?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 4, 2020, 7:17pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314/3 "2020-06-04T19:17:45Z")

</div>

Checking for you now @Elie Obeid sorry for delay.

---

<div class="post-metadata">

**Author:** ![Elie\_Obeid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/elie_obeid/32/463_2.png) [@Elie\_Obeid](https://community.wowza.com/u/Elie_Obeid)\
**Post date:** [June 4, 2020, 9:16pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314/4 "2020-06-04T21:16:54Z")

</div>

Yes, thank you so much, meaning there’s only 1 handshake per stream.

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [June 4, 2020, 10:04pm UTC](https://community.wowza.com/t/streamlock-ssl-for-hls-does-all-the-traffic-go-to-streamlock-or-only-at-the-tcp-handshake/55314/5 "2020-06-04T22:04:08Z")

</div>

That’s correct.
