# RTMP stream playback security

**URL:** <https://community.wowza.com/t/rtmp-stream-playback-security/48313>\
**Category:** Wowza Streaming Engine\
**Created:** [March 16, 2017, 12:02pm UTC](https://community.wowza.com/t/rtmp-stream-playback-security/48313 "2017-03-16T12:02:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adarsh\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Adarsh\_Agarwal](https://community.wowza.com/u/Adarsh_Agarwal)\
**Post date:** [March 16, 2017, 12:02pm UTC](https://community.wowza.com/t/rtmp-stream-playback-security/48313/1 "2017-03-16T12:02:26Z")

</div>

Hello all,

I was trying out secure rtmp playback while using the option to protect all streams using hash 256 algorithm and shared secret. I faced a NetStream.play.failed error and connection was closed. I had checked from the examples provided that my hash generation was correct. Also I had deselected the option to use TEA for secure rtmp and also the option to use secure rtmp connection.

I had the following questions -

1. What can be other causes of error in this scenario ?

2. Also is it necessary to mention wowzatokenstarttime and wowzatokenendtime as zero always ?

3. What is the correct order for providing these parameters for hash generation ? Is there a fixed order ?

4. Is this a licensing issue ? because I am currently using a trial license for the streaming engine.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Adarsh\_Agarwal](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@Adarsh\_Agarwal](https://community.wowza.com/u/Adarsh_Agarwal)\
**Post date:** [March 17, 2017, 9:39am UTC](https://community.wowza.com/t/rtmp-stream-playback-security/48313/2 "2017-03-17T09:39:51Z")

</div>

@Jermaine Hemby could You please help me out with those questions ? Thanks in advance.
