Hi

I saw several time this question but still with no answers :
On a flex side I have code like that passing parameters :
FlashChess.nc = new NetConnection();
FlashChess.nc.connect(rtmp://127.0.0.1:1935/red5java,"mylogin");

I want to do the same in java
public static void main(String[] args) {

        RTMPClient client = new RTMPClient();
//         Initialize default connection parameters
        Map<String, Object> params = new HashMap<String, Object>();
        params.put("app", "red5java");
        params.put("tcUrl", "rtmp://127.0.0.1:1935/red5java");       
        params.put("username","mylogin");
       
        client.connect("127.0.0.1",1935,params,null);      
    }

but it doesn't work

Can someone can give me the right one ?


tnx

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to