« Return to Thread: RTMPClient on Android

Re: RTMPClient on Android

by iMDT - Tiago Jacobs :: Rate this Message:

Reply to Author | View in Thread

It is the purpose of this new project: http://code.google.com/p/redxugglue/

Why not try removing some dependencies of red5 RTMPClient? Red5 is too
good to be rewritten from scratch.

Something like: tinyred5.jar (that will satisfy the dependencies of
involved classes)? The main dependencies of red5 is at server code, i think.

Tiago



Christopher Walzl wrote:

> Hi Raul,
>
> I was looking into this a while back myself - I wanted to embed an
> RTMP Client into an applet.  The Red5 client was too tightly coupled
> with a bunch of other libraries, so it wasn't an option for me.  There
> is a commercial RTMP client that works pretty well from
> www.smaxe.com(it's very reasonably priced, I think).
>
> If there are others out there, i'd love to hear about them.  If anyone
> is going to look into writing one(or porting it from the Red5 code)
> and wants some development help, I'd be interested in that as well.
>
> Best Regards,
>
> Chris Walzl
> cwalzl@...
> (972) 974-6728
>
> Sent from my MacBook Pro
>
> On Jul 8, 2009, at 3:54 PM, Raul Raja wrote:
>
>>
>> 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

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 « Return to Thread: RTMPClient on Android