When I execute the client code, why do I keep getting service=null

Code Snippet : Client

RTMPClient client = *new* RTMPClient();

IPendingServiceCallback callBack = *new* MyCallback(client);

client.connect("localhost", 1935, "oflaDemo", callBack);



Call Back Class


*

static class MyCallback implements IPendingServiceCallback {

RTMPClient localClient;

 public MyCallback() {

}

public MyCallback(RTMPClient client) {

localClient = client;

}

public void resultReceived(IPendingServiceCall call) {

System.out.println("R E S U L T R E C E I V E D");

}

}



I am trying to get the live stream of OflaDemo ....



*
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to