Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Password publishing from an rtmp encoder

  1. #1
    Join Date
    Feb 2013
    Posts
    9

    Default Password publishing from an rtmp encoder

    Hello to all,
    sending streaming with Adobe FMLE 3.2.
    I've noticed that I can send the stream, without the server asking me the password. I entered the username and password in the file conf / publish.password, like this: user password. But it does not work, continue to publish the stream without the password prompt. What are the steps to enable password protection? I do not want to use dbase / password, I would like a simple authentication, user password.

    Thank you !

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You need to enable ModuleRTMPAuthenticate, then you will get password challenge in FMLE. Take a look at this guide:

    http://www.wowza.com/forums/content.php?449

    Richard

  3. #3
    Join Date
    Feb 2013
    Posts
    9

    Default

    Ok, it works in FMLE, request a popup window.
    But I use FMLECmd command line, how do I send the username and password automatically without request?
    Again, thanks!

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You can probably use SecureURLParams instead of ModuleRTMPAuthenticate for that:

    http://www.wowza.com/forums/content....cureURLParams)

    Richard

  5. #5
    Join Date
    Feb 2013
    Posts
    9

    Default

    Quote Originally Posted by rrlanham View Post
    You can probably use SecureURLParams instead of ModuleRTMPAuthenticate for that:

    http://www.wowza.com/forums/content....cureURLParams)

    Richard
    Nothing, with FMLECmd.exe I can not pass a string that contains user and password.

    What to do?

    I've got to start FMLECmd automatically, so I have to find a way to enter the username and passoword in the string rtmp :/ /

    Possible don't there is a solution?

    I tried so

    rtmp :/ / ip / live? doPublish = 12345
    rtmp :/ / ip: 1935/live? doPublish = 12345

  6. #6
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I don't have experience with FMLECmd, but take a look at this reference:

    http://help.adobe.com/en_US/FlashMed...abd5-7ffc.html

    Looks like you put username and password with /ap setting, but I am not sure if that will get passed to Wowza using ModuleRTMPAuthenticate.

    Did you try this form with ModuleRTMPAuthenticate

    rtmp://usernamewd@[wowza-address]/appName

    Richard

  7. #7
    Join Date
    Feb 2013
    Posts
    9

    Default

    Quote Originally Posted by rrlanham View Post
    I don't have experience with FMLECmd, but take a look at this reference:

    http://help.adobe.com/en_US/FlashMed...abd5-7ffc.html

    Looks like you put username and password with /ap setting, but I am not sure if that will get passed to Wowza using ModuleRTMPAuthenticate.

    Did you try this form with ModuleRTMPAuthenticate

    rtmp://usernamewd@[wowza-address]/appName

    Richard


    Using / ap user: pwd, do something different ...


    FMLECmd.exe using a string without / ap the result is this:

     
    Adobe(R) Flash(R) Media Live Encoder Command Line Utility v 3.2.0.9932
    Copyright(C) 2009-10 Adobe Systems Incorporated. All rights reserved.
    
    Tue Feb 05 2013 01:18:14 : Renaming existing file from c:\profiles\log\log.txt to c:\profiles\log\log.0.txt
    Tue Feb 05 2013 01:18:14 : Failed to Add entry in OSLaunch.dat file. This entry may already exist.
    
    Tue Feb 05 2013 01:18:14 : Failed to register for OS launch.
    Tue Feb 05 2013 01:18:14 : Audio Settings :-	Device      : Realtek HD Audio Input	Format      : Mp3 Stereo	Sample Rate : 22050 Hz	Bit rate    : 80 Kbps	Volume      : 81 %Stream to Flash Media Server :-	FMS URL     : rtmp://xxx.xxx.xxx.xx:1935/live	Backup URL  : 	Stream Name: myStream
    Tue Feb 05 2013 01:18:14 : Selected audio input device: Realtek HD Audio Input
    Tue Feb 05 2013 01:18:15 : Primary - Credentials required to connect to server. Cannot query credentials interactively.
    Tue Feb 05 2013 01:18:15 : Error: Problem with Primary Server. Failure to connect to Primary server. Please verify that your Server URL and application name are valid and that your Internet connection is working and retry.
    Tue Feb 05 2013 01:18:15 : Closing Application.
    response of Wowza:

    INFO session connect-pending 100.200.100.200 -
    INFO session connect 100.200.100.200 -
    INFO session disconnect 145890639 -

    using FMLECmd.exe with / ap the result is this:

    Adobe(R) Flash(R) Media Live Encoder Command Line Utility v 3.2.0.9932
    Copyright(C) 2009-10 Adobe Systems Incorporated. All rights reserved.
    
    Tue Feb 05 2013 01:18:54 : Renaming existing file from c:\profiles\log\log.txt to c:\profiles\log\log.1.txt
    Tue Feb 05 2013 01:18:54 : Failed to Add entry in OSLaunch.dat file. This entry may already exist.
    
    Tue Feb 05 2013 01:18:54 : Failed to register for OS launch.
    Tue Feb 05 2013 01:18:54 : Audio Settings :-	Device      : Realtek HD Audio Input	Format      : Mp3 Stereo	Sample Rate : 22050 Hz	Bit rate    : 80 Kbps	Volume      : 81 %Stream to Flash Media Server :-	FMS URL     : rtmp://xxx.xxx.xxx.xxx:1935/live	Backup URL  : 	Stream Name: myStream
    Tue Feb 05 2013 01:18:54 : Selected audio input device: Realtek HD Audio Input
    Tue Feb 05 2013 01:18:56 : Primary - Connected to FMS/3,5,7,7009
    Tue Feb 05 2013 01:18:56 : Primary - Network Command: onFCPublish
    Tue Feb 05 2013 01:18:56 : Primary - Stream[myStream] Status: Success
    Tue Feb 05 2013 01:18:56 : Primary - Network Status: NetConnection.Connect.Closed status
    Tue Feb 05 2013 01:19:21 : Error: Problem publishing at Primary Server. Unable to publish myStream stream either due to Network Problem at server, the stream name being used is busy, or you are not authorized to publish to this server. Please check the network connection with server, try publishing with other stream name, or contact your FMS administrator for help.
    Tue Feb 05 2013 01:19:21 : Primary - Disconnected
    Tue Feb 05 2013 01:19:21 : Closing Application.

    response of Wowza:

    INFO server comment - SecureURLParams.onAppStart: live/_definst_
    INFO server comment - ModuleRTMPAuthenticate.onAppStart: SecureToken is on
    INFO server comment - ModuleRTMPAuthenticate.onAppStart: Authorization password file: /usr/local/WowzaMediaServer/conf/live/publish.password
    INFO application app-start _definst_ live/_definst_
    INFO session connect-pending 100.200.100.200 -
    INFO session connect 100.200.100.200 -
    INFO session disconnect 100.200.100.200 -
    INFO session connect-pending 100.200.100.200 -
    INFO session connect 100.200.100.200 -
    INFO session disconnect 1990854112 -
    INFO session connect-pending 100.200.100.200 -
    INFO session connect 100.200.100.200 -
    INFO session comment 1556455150 ModuleSecureURLParams.releaseStream: Rejected: clientId:1556455150
    INFO stream create - -
    INFO stream destroy - -
    INFO session disconnect 1556455150 -
    then, after a short time of inactivity, answer Wowza

    INFO application app-stop _definst_ live/_definst_
    INFO server comment - SecureURLParams.onAppStop: live/_definst_

    does not work ....
    and say that I wanted to buy the license ... but if you do not solve this problem for me is unusable ....



  8. #8
    Join Date
    Feb 2013
    Posts
    9

    Default

    I forgot .... with FMLE gui, it works fine, I check a popup window, with a request for user and passwd, I enter the credentials and can transmit the video .....

  9. #9
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    Can you post the FMLEcmd you're submitting?, you can edit the username/password part and any other specifics such as IP address.

    Jason

  10. #10
    Join Date
    Feb 2013
    Posts
    9

    Default

    Hello,
    So, I made these attempts:

    "C: \ Programmi \ Adobe \ Flash Media Live Encoder 3,2 \ FMLECmd.exe" /p c:\profiles\newstream.xml /l c:\profile\log\log.txt /ap user:passwd /r
    "C: \ Programmi \ Adobe \ Flash Media Live Encoder 3,2 \ FMLECmd.exe" /p c:\profiles\newstream.xml /l /ap user:passwd c:\profile\log\log.txt /r
    "C: \ Programmi \ Adobe \ Flash Media Live Encoder 3,2 \ FMLECmd.exe" /p c:\profiles\newstream.xml /l /ap user:passwd /r

    Thanks !
    Last edited by rrlanham; 02-05-2013 at 03:26 PM.

Page 1 of 3 123 LastLast

Similar Threads

  1. FMS URL inline username and password format for RTMP publishing
    By migscabral in forum Live Streaming and Encoders
    Replies: 1
    Last Post: 06-27-2014, 04:18 AM
  2. Password publishing from an rtmp encoder (Adobe FMLE 3.2)
    By user5050 in forum Integrating Wowza into your workflow
    Replies: 2
    Last Post: 03-05-2013, 11:37 AM
  3. I am not able to secure RTMP publishing with password
    By kalmatv in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 12-06-2012, 03:48 PM
  4. Publishing password on rtmp server info
    By eluis2011 in forum Server Administration Discussion
    Replies: 1
    Last Post: 11-03-2011, 04:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •