Nothing wrong with that java.
Except I wonder Why you dont just return an array of names instead of all
the extra work of making the string, and then tokenizing it back to an array
for the client.
public List<String> getStreams() {
List<String> names = getBroadcastStreamNames(appScope);
System.out.println("getStreams() INVOKED ==> " + names.toString());
return names;
}
----- Original Message -----
From: "ddprasad" <
ddprasad@...>
To: <
Red5@...>
Sent: Friday, November 06, 2009 3:53 AM
Subject: [Red5] Old red5 application.java not working in new version
>
> I already have red5 application running through previous versions. Now I
> upgraded to red5 v0.9.0 Rc2. But my application.java has developed certain
> errors
>
> This is one of them.
> public String getStreams()
> {
> List<String> names= getBroadcastStreamNames(appScope);
> String listStr="";
> for(int i=0;i<names.size();i++)
> {
> listStr+=names.get(i) + ",";
> }
> if (DEBUG==true) System.out.println("getStreams() INVOKED ==> " +
> listStr);
> return listStr;
> }
>
> Does any body have whats is going wrong?
>
> --
> View this message in context:
>
http://old.nabble.com/Old-red5-application.java-not-working-in-new-version-tp26230485p26230485.html> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
>
Red5@...
>
http://osflash.org/mailman/listinfo/red5_osflash.org>
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org