Skip to main content
Participant
January 13, 2012
Question

help fms 4.0

  • January 13, 2012
  • 1 reply
  • 589 views

GOOD NIGHT FOR ALL

PLEASE HELP ME

I HAVE A FLASH MEDIA SERVER AND IS WORK VERY VERY GOOD

I WANT TO MAKE USER NAME AND PASSWORD FOR MY CLIENTS

LIKE THIS

rtmp://192.168.0.1/LIVE?USER=PASS/TEST

I SEARCH IN THE INTERNET AND I CANT FOUND HELP

BUT WHEN I ASK SOMEONE TELL ME YOU NEED PHP

SO HOW CAN I USE IT WITH RTMP


THANKS VERY MUCH

    This topic has been closed for replies.

    1 reply

    hamadargbAuthor
    Participant
    January 13, 2012

    PLEASE HELP

    Adobe Employee
    January 16, 2012

    You can pass any number of parameters inside nc.connect..

    Its signature are like that

    public connect(targetURI:String, [, p1,...,pN]) : Boolean  ( from http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/help.html?content=00000166.html )

    where p1, .. pN are optional params. You may send username and password as part of them..

    On application side you will recieve them in application.onConnect

    application.onConnect = function (clientObj [, p1, ..., pN]){} , wher you like to authenticate it..

    However graphically you may receive URL from users in any form like rtmp://server/live?user=xyz&pass=abc

    and then in your client application can parse this URL to make call to server for connect like this: nc.connect(rtmp://server/live, xyz, abc)