# librtmp and ModuleRTMPAuthenticate module

**URL:** <https://community.wowza.com/t/librtmp-and-modulertmpauthenticate-module/458>\
**Category:** Wowza Streaming Engine\
**Created:** [March 8, 2011, 11:48am UTC](https://community.wowza.com/t/librtmp-and-modulertmpauthenticate-module/458 "2011-03-08T11:48:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [March 8, 2011, 11:48am UTC](https://community.wowza.com/t/librtmp-and-modulertmpauthenticate-module/458/1 "2011-03-08T11:48:43Z")

</div>

I’m using ffmpeg with librtmp to send live streams to Wowza 2.

How can I authenticate using the ModuleRTMPAuthenticate and librtmp ?

Is there any useful Connection Parameter I can use for that in librtmp as is documented in [http://rtmpdump.mplayerhq.hu/librtmp.3.html](http://rtmpdump.mplayerhq.hu/librtmp.3.html) ?

Mabbe using conn=type:data to send AMF Data with the connect message ?

Any experiences about it ?

Thanks,

---

<div class="post-metadata">

**Author:** ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)\
**Post date:** [March 8, 2011, 5:39am UTC](https://community.wowza.com/t/librtmp-and-modulertmpauthenticate-module/458/2 "2011-03-08T05:39:24Z")

</div>

We do not have any experience with this.

Charlie

---

<div class="post-metadata">

**Author:** ![Antonio\_Jose\_Tomas\_M](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Antonio\_Jose\_Tomas\_M](https://community.wowza.com/u/Antonio_Jose_Tomas_M)\
**Post date:** [March 8, 2011, 7:28pm UTC](https://community.wowza.com/t/librtmp-and-modulertmpauthenticate-module/458/3 "2011-03-08T19:28:39Z")

</div>

Thanks Charlie,

I’m very sorry for starting this thread, because the solution is at thread:

> [@ffmpeg for pseudo live with protected publish stream](http://community.wowza.com/t/-/36046):
>
> Hello, I try to use ffmpeg to stream a file to a live stream like this ffmpeg -i mytestfile.flv -re -sameq -acodec copy -vcodec copy -f flv rtmp://localhost/live/myStream.sdp I protected live-Application publishing with login and pass like it is described in the media security addon. With flash media encoder it works fine, but i cant connect with ffmpeg to the publishing interface - i tried many combinations for command line options but nothing works. Please help - how can ffmpeg authentific…

Regards,
