Right now, the application is structured as follows:
- MediaServerProxy which creates/manages the NetConnection object.
- MediaServerCommand which calls the connection() function of MediaServerProxy
- A view component(TextInput) which displays the NetStatusEvent codes
I would like some help about the following:
- Can I still improve on how I have currently structured the application?
- I am stuck as to how it would be best to retrieve the playlist from red5.
It has to call a server-side function, getListOfAvailableFLVs(), which returns a Java type of Map<String, Map<String, Object>>. I am able to do this when it was still coded in Flash using:
var connection:NetConnection = new NetConnection();
//...
this.connection.call("demoService.getListOfAvailableFLVs", responder);
- An example code would be nice.