Results 1 to 3 of 3

Thread: publish.password and Actionscript

  1. #1
    Join Date
    Sep 2013
    Posts
    2

    Smile publish.password and Actionscript

    Hi,

    Can anyone please help me with sending publish.password from AS3? I have wowza server with configured publish.password. When i connect from Adobe Flash Media Live Encoder 3.2 it prompts me for username and password. And after that, it works fine.

    How I can do this from action script? I got error: NetStream.Publish.Failed (Not authorized to publish).

    Actionscript:
    nc = new NetConnection();
    nc.connect(rtmpUrl, myUsername, myPassword); << i guess this is ok for connect.password, but not for publish.password
    ....
    ....
    nsPublish = new NetStream(nc);
    nsPublish.publish(streamName); << this one gives me error "NetStream.Publish.Failed (Not authorized to publish)"

    Thank you and best regards,
    Ivan
    Last edited by istimac; 09-03-2013 at 11:16 PM. Reason: Typing errors

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

    Default

    RTMP authentication is not supported in Flash applications. Here is an alternative

    Richard

  3. #3
    Join Date
    Sep 2013
    Posts
    2

    Default

    Hi Richard,

    Thank you very much for your answer.

Similar Threads

  1. Flash ActionScript RTMP publisher error NetStream.Publish.Failed
    By nitsuj102284 in forum Live Streaming and Encoder Discussion
    Replies: 4
    Last Post: 05-27-2013, 07:38 PM
  2. How to publish live streaming with publish.password file?
    By divyat in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 11-17-2012, 09:09 AM
  3. connect.password vs. publish.password - protecting upstream
    By riverjack in forum Server Administration Discussion
    Replies: 3
    Last Post: 06-15-2012, 05:00 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
  •