# Twitch/YouNow style RTMP publishing authentication in WSE

**URL:** https://community.wowza.com/t/twitch-younow-style-rtmp-publishing-authentication-in-wse/46931
**Category:** Wowza Developer Dojo
**Tags:** wowza-streaming-server-java-api
**Created:** [April 23, 2016, 10:54am UTC](https://community.wowza.com/t/twitch-younow-style-rtmp-publishing-authentication-in-wse/46931 "2016-04-23T10:54:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Matt\_Dev](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt\_Dev](https://community.wowza.com/u/Matt_Dev)
#### Post date: [April 23, 2016, 10:54am UTC](https://community.wowza.com/t/twitch-younow-style-rtmp-publishing-authentication-in-wse/46931/1 "2016-04-23T10:54:42Z")

</div>

Twitch, YouNow, Youtube and others have an RTMP system that authenticates publishers through a “private” stream key. Now I understand that the stream key is basically the stream name in Wowza, however in the YouNow system, this key is private only to the publisher. As I understand it, in Wowza streaming engine, the stream name is not private and known to all viewers.

Here is an example of YouNow’s OBS configuration instructions: [https://younow.zendesk.com/hc/en-us/articles/206439166-External-Streaming-Settings-](https://younow.zendesk.com/hc/en-us/articles/206439166-External-Streaming-Settings-)

Is there a way to implement this kind of system in Wowza Streaming Engine? My assumptions is that this needs custom development using the Java APIs but any other insight is also welcome.

Thanks in advance,

Matt

---

<div class="post-metadata">

### Author: ![Gerard\_MAULINO](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@Gerard\_MAULINO](https://community.wowza.com/u/Gerard_MAULINO)
#### Post date: [April 23, 2016, 6:36pm UTC](https://community.wowza.com/t/twitch-younow-style-rtmp-publishing-authentication-in-wse/46931/2 "2016-04-23T18:36:03Z")

</div>

Hi Matt,

Yes, the stream name can be restricted via a custom module development (not to complex).

Otherwise if you just want to secure the publishing there are other feature already available like authentication, secoreToken…

Gerard

---

<div class="post-metadata">

### Author: ![Matt\_Dev](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Matt\_Dev](https://community.wowza.com/u/Matt_Dev)
#### Post date: [April 23, 2016, 3:46pm UTC](https://community.wowza.com/t/twitch-younow-style-rtmp-publishing-authentication-in-wse/46931/3 "2016-04-23T15:46:13Z")

</div>

Thanks Gerard. Appreciate the response.

> Yes, the stream name can be restricted via a custom module development (not to complex).
> 
> Its great news that it is possible. Some pointers on how it can be done would also be great as well. Any examples, tutorials, API classes or interfaces, or anything else that will help me started would be invaluable.
> 
> Thanks again,
> 
> Matt
