RTMPClient on Android
Hi everyone,
I have a requirement to connect to red5 from Android for video, audio and sharedobjects, initially the later if video and audio are to hard.
Before I adventure myself into trying to port RTMPClient to android, I wanted to ask if anybody has attempted to do something similar or if there is a better route to go.
The initial sample connection code seems pretty straightforward:
final RTMPClient client = new RTMPClient();
client.connect("localhost", 1935, "echo", new IPendingServiceCallback() {
public void resultReceived(IPendingServiceCall call) {
System.err.println("Connected: " + call.getResult());
client.invoke("echo", new Object[]{"Hello world!"},
new IPendingServiceCallback() {
public void resultReceived(IPendingServiceCall call) {
System.err.println("Received: " + call.getResult());
}
});
}
});
I'm guessing though that the RTMPClient class has many dependencies from the red5 server api as well as some other lower level libs to handle the sockets, connectivity etc...
Is there a red5 client library with the bare minimum dependencies so that I don't have to include all the red5 server sources into my android app?
Can someone give me some direction on what the best way to acomplish this would be?
Thanks
Raul