The connect method is working without any parameters, i.e. connect(String server, int port, String application, IPendingServiceCallback connectCallback) and what I need is connect(String server, int port, Map
Ok, so i thought, i will do this way, but here my problem does not ends. What i am doing now is accepting connection to each user and in callback function, i am sending user credentials from Java client and if those credentials are not correct, i am rejecting this client.
Now once the client is accepted and i have to invoke couple of methods on server. The problem starts again. Invoke() function does not work as expected. It's working only from within the connectCallback block.
public void resultReceived( IPendingServiceCall call ) {
// If you call invoke() from here. it works.
}
It means, I call invoke methods from within this block and not from outside of this block. Then I Googled and found many people facing the same problem. The only working solution was http://www.nabble.com/Re%3A-RTMPClient.invoke%28%29-p15075904.html
It's bad to see not much progress on Java RTMPClient in Red5 from so long. I tested with different versions and upto latest one and everywhere it's same. I am still doing workarounds to let RTMPClient working in my application. :(











1 comments:
nice information subil. your blog is very attractive & informative too. keep it up.
are you intersted in link exchange?
Post a Comment