RTMPClient on Android

View: New views
12 Messages — Rating Filter:   Alert me  

RTMPClient on Android

by Raul Raja :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: RTMPClient on Android

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: RTMPClient on Android

by Chris Walzl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: RTMPClient on Android

by Raul Raja :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@gmail.com>
To: <Red5@osflash.org>
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@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>


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

Re: RTMPClient on Android

by Andy Shaules :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: RTMPClient on Android

by iMDT - Tiago Jacobs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: RTMPClient on Android

by rfkrocktk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

LOL YOU ACTUALLY CALLED IT REDXUGGLUE :)

On Wed, Jul 8, 2009 at 2:54 PM, iMDT - Tiago Jacobs <tiago@...> wrote:
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



--
And do this, knowing the time, that now it is high time to awake out of sleep;
for now our salvation is nearer than when we first believed.

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

Re: RTMPClient on Android

by Raul Raja :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the info, I'm going to contact www.smaxe.com to see if their client would run on android

Chris 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@gmail.com
(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@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org


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

Re: RTMPClient on Android

by ptrthomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can also take a look at flazr.com which is a simple Java RTMP client with minimal dependencies.

- Peter

On Thu, Jul 9, 2009 at 8:46 AM, Raul Raja <raulraja@...> wrote:

Thanks for the info, I'm going to contact www.smaxe.com to see if their
client would run on android


Chris 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
>
>

--
View this message in context: http://www.nabble.com/RTMPClient-on-Android-tp24367870p24403023.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

Re: RTMPClient on Android

by Raul Raja :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was able to run www.smaxe.com RTMP client inside android and connect to my local Red5 server.
There seem to be some issues when the server invokes a method remotely and the client attempts to execute it.
Getting this exception:
Caused by: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()

It looks like android expects that before the method invocation. I sent the info to smaxe's dev and I'm trying to workaround it by implementing com.smaxe.uv.invoker.IMethodInvoker and calling that before the methods get invoked.
So far no success but I though I'd share this.

I have read many topics in the android forums and many people trying to get streaming and real time communication between android and a Red5/FMS server.

It looks like many people were complaining about google dropping support for the IM and GTALK api's in the SDK but a library like Smaxe could actually bring similar support when using a server like Red5


Thanks for the info, I'm going to contact www.smaxe.com to see if their client would run on android

Chris 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@gmail.com
(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@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org


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


Re: RTMPClient on Android

by Raul Raja :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Peter, Do you know if flazr.com works in android? I'm gonna give it a try and wanted to ask before I do.

ptrthomas wrote:
You can also take a look at flazr.com which is a simple Java RTMP client
with minimal dependencies.

- Peter

On Thu, Jul 9, 2009 at 8:46 AM, Raul Raja <raulraja@gmail.com> wrote:

>
> Thanks for the info, I'm going to contact www.smaxe.com to see if their
> client would run on android
>
>
> Chris 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@gmail.com
> > (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@osflash.org
> >> http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5@osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/RTMPClient-on-Android-tp24367870p24403023.html
> Sent from the Red5 - English mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Red5 mailing list
> Red5@osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>

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

Re: RTMPClient on Android

by ptrthomas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thu, Jul 9, 2009 at 12:23 PM, Raul Raja <raulraja@...> wrote:

Hi Peter, Do you know if flazr.com works in android? I'm gonna give it a try
and wanted to ask before I do.


I don't think anyone has tried it on Android yet, you should be able to quickly figure out if it works with the binary distribution I guess.  Do let me know how it goes.

Thanks,

Peter.
 

ptrthomas wrote:
>
> You can also take a look at flazr.com which is a simple Java RTMP client
> with minimal dependencies.
>
> - Peter
>
> On Thu, Jul 9, 2009 at 8:46 AM, Raul Raja <raulraja@...> wrote:
>
>>
>> Thanks for the info, I'm going to contact www.smaxe.com to see if their
>> client would run on android
>>
>>
>> Chris 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
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/RTMPClient-on-Android-tp24367870p24403023.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-tp24367870p24405059.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