Macromedia Flash Server - Remote procedure call to Media Server from ColdFusion

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > August 2006 > Remote procedure call to Media Server from ColdFusion





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Remote procedure call to Media Server from ColdFusion
phaedrus

2006-08-22, 7:12 pm

I'm guessing this is just a matter of not being able to properly frame the
question for google, but how do I call a procedure in Flash Com from an
external application (like Cold Fusion)?

An example would be a cold fusion application notifying the Flash
Communication server that a certain user no longer has access to a certain
resource.

I could mimic this by having the communication server frequently polling a
remoting component asking if anything has changed but that could get very
processing heavy and would greatly complicate my application.

I'm tearing my hair out trying to find an example of how to do this and I've
slipped past my deadlines and into panic.

Please help!

- phaedrus


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Stefan Richter

2006-08-23, 7:12 am

This is not possible, there is no API for this.
Adobe had announced a Java SDK a long time ago but has so far failed to
provide it. This SDK should be able to achieve what you are asking for but
unfortunately the SDK has not been released and no date for its release has
been provided.

Sorry, for now you need to poll... Sucks huh?

Stefan



> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of phaedrus
> Sent: 22 August 2006 20:21
> To: 'FlashComm Mailing List'
> Subject: [FlashComm] Remote procedure call to Media Server
> from ColdFusion
>
> I'm guessing this is just a matter of not being able to
> properly frame the question for google, but how do I call a
> procedure in Flash Com from an external application (like
> Cold Fusion)?
>
> An example would be a cold fusion application notifying the
> Flash Communication server that a certain user no longer has
> access to a certain resource.
>
> I could mimic this by having the communication server
> frequently polling a remoting component asking if anything
> has changed but that could get very processing heavy and
> would greatly complicate my application.
>
> I'm tearing my hair out trying to find an example of how to
> do this and I've slipped past my deadlines and into panic.
>
> Please help!
>
> - phaedrus
>
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>



________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Alexander Farber

2006-08-23, 7:12 am

Hello

There is also the Java-based Red5, http://osflash.org/red5
but I'm not sure if it can do it (register some event listener?)

On 8/23/06, Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org> wrote:
> This is not possible, there is no API for this.
> Adobe had announced a Java SDK a long time ago but has so far failed to
> provide it. This SDK should be able to achieve what you are asking for but
> unfortunately the SDK has not been released and no date for its release has
> been provided.
>

[vbcol=seagreen]

--
http://preferans.de
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

phaedrus

2006-08-23, 1:12 pm

Argh!

Thanks for letting me know.

I was talking to the folks that would be writing the code to call the RMI
and they were wondering if they did a "primitive" call directly to the port.
Has anyone attempted anything like this? If its possible or impossible, I'd
like to be able to point them in the right direction.

Otherwise, it looks like its polling which is a big suck.

This media server app is my first attempt at server side anything so I'm
pretty new to all off it. Not entirely sure what can and can't be done.

- phaedrus

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Alexander
Farber
Sent: Wednesday, August 23, 2006 4:03 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] Remote procedure call to Media Server from
ColdFusion

Hello

There is also the Java-based Red5, http://osflash.org/red5
but I'm not sure if it can do it (register some event listener?)

On 8/23/06, Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org> wrote:
> This is not possible, there is no API for this.
> Adobe had announced a Java SDK a long time ago but has so far failed to
> provide it. This SDK should be able to achieve what you are asking for but
> unfortunately the SDK has not been released and no date for its release

has
> been provided.
>

[vbcol=seagreen]


________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Stefan Richter

2006-08-23, 7:12 pm

Now there is an http admin api that you can use with FMS2 to administer the
server. I am not sure if there's a method that could be 'abused' to somehow
push a piece of info in...
If you check the admin API docs of FMS then you may be able to judge if this
is an option - I bet it's not.

<goes away and thinks for a minute>

Hmm maybe there is a way. How about instantiating a certain app and instance
via the admin (http) api and get your main FMS app to somehow check for the
existence of that app? This could be used as a boolean (thinking out loud
here, this may not be feasible for you).

It's clear: an external API interface into FMS is badly needed - and how
neat would it be if you could use this to (using permission levels) somehow
push info into FMS.

As I said the Java SDK is meant to be capable of this but until that's
released only the Flash Player can directly connect to FMS.

Stefan



> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of phaedrus
> Sent: 23 August 2006 18:25
> To: 'FlashComm Mailing List'
> Subject: RE: [FlashComm] Remote procedure call to Media
> Server from ColdFusion
>
> Argh!
>
> Thanks for letting me know.
>
> I was talking to the folks that would be writing the code to
> call the RMI and they were wondering if they did a
> "primitive" call directly to the port.
> Has anyone attempted anything like this? If its possible or
> impossible, I'd like to be able to point them in the right direction.
>
> Otherwise, it looks like its polling which is a big suck.
>
> This media server app is my first attempt at server side
> anything so I'm pretty new to all off it. Not entirely sure
> what can and can't be done.
>
> - phaedrus
>
> -----Original Message-----
> From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> [mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of
> Alexander Farber
> Sent: Wednesday, August 23, 2006 4:03 AM
> To: FlashComm Mailing List
> Subject: Re: [FlashComm] Remote procedure call to Media
> Server from ColdFusion
>
> Hello
>
> There is also the Java-based Red5, http://osflash.org/red5
> but I'm not sure if it can do it (register some event listener?)
>
> On 8/23/06, Stefan Richter <stefan-fMeCE+ULXElEfu+5ix1nRw@public.gmane.org> wrote:
> far failed
> are asking
> has
>
> access to a
> changed but that
>
>
> ________________________________________
_______
> FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com http://training.figleaf.com
>



________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com