« Return to Thread: RTMPClient on Android

Re: RTMPClient on Android

by Andy Shaules :: Rate this Message:

Reply to Author | View in Thread

Depends on how much functionality you want.

Starting with sucessfull handshake and connection to an app scope would have
be toasting myself congrats.

After that, hand built service calls making success.

Then maybe extend to proper stucture with constants and put it into a usable
interface where other programmers would look at it and it would make sense,
and maybe even be usable beyond my own nefarious purposes.



----- Original Message -----
From: "Raul Raja" <raulraja@...>
To: <Red5@...>
Sent: Wednesday, July 08, 2009 2:05 PM
Subject: Re: [Red5] RTMPClient on Android


>
> How much work do you think would go on it?
> Have you tried running the red5 RTMPClient inside android?
>
> thanks
>
> Raul
>
>
> Andy Shaules wrote:
>>
>> I will be writing an rtmp client for android from scratch using the
>> published RTMP spec for excersize very soon.
>>
>>
>>
>> ----- Original Message -----
>> From: "Raul Raja" <raulraja@...>
>> To: <Red5@...>
>> Sent: Wednesday, July 08, 2009 1:54 PM
>> Subject: [Red5] 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
>>> --
>>> View this message in context:
>>> http://www.nabble.com/RTMPClient-on-Android-tp24367870p24367870.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
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/RTMPClient-on-Android-tp24367870p24399390.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

 « Return to Thread: RTMPClient on Android