Hi, i didn't understood, you 've copied my mail ... did you found a solution or was it just to raise the subject ?
Pierre Augier Marcel D. a écrit : > Hi ! > > i've tried to set a custom id for a client, as mentioned in the Client > getId() doc : > > "Get the unique ID for this client. This will be generated by the server > if not passed upon connection from client-side Flex/Flash app. To assign > a custom ID to the client use |params| object of > |IApplication.appConnect(IConnection, Object[])| > <http://dl.fancycode.com/red5/api/org/red5/server/adapter/IApplication.html#appConnect%28org.red5.server.api.IConnection,%20java.lang.Object%5B%5D%29> > > method, that contains 2nd all the rest values you pass to > |NetConnection.connect| method. Example: At client side: > |NetConnection.connect( "http://localhost/killerapp/";, "user123" );| > then at server side: public boolean appConnect( IConnection connection, > Object[] params ){ > > | try { connection.getClient().setStreamId( params[0] ); } > catch(Exception e){ > log.error(e); } } | > > " > > but this doesn't work, setStreamId is not defined for Client > > It has been reported before: > http://osflash.org/pipermail/red5_osflash.org/2006-December/008021.html > and also here (french) > http://flash.mediabox.fr/index.php?showtopic=71459 > > > thanks for your help > > Marcel > > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > > > > > ___________________________________________________________ > Yahoo! Answers - Got a question? Someone out there knows the answer. Try it > now. > http://uk.answers.yahoo.com/ > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
