Skip to main content
April 12, 2013
Question

rtmfp connection between content running on flash player and air for mobile

  • April 12, 2013
  • 2 replies
  • 6910 views

HI, I've been developing an app for some time that makes use of a secondary application as a remote controller.

Until AIR3.5 this worked smoothly through RTMFP: the original app (the "player") started listening at both local network ("rtmfp:") and with the aid of the Cirrus service ("rtmfp://p2p.rtmfp.net/mycirruskey"). The controller app (the "remote") first try to establish a connection on the local network and, if it does not succeed, try to locate the player using Cirrus (usually when it was run from a device connected on a 3G network).

This approach was surprisingly effective (I guess rtmfp and the cirrus service are indeed very nice), but now I'm updating my apps using AIR3.7 and the problems began - and I didn't change a single line from the original code... First, I am unable to connect the mobile app to the flash player using local rtmfp, the netgroup just doesn't get any neighbor. Second, even with the aid of Cirrus, I can only establish the connection if the player and the remote are connected on different networks (like one on my wifi connection and the other on 3G). If I put both, the computer running the player and the mobile running the remote on the same wifi, the connection is never completed.

To make the problem even stranger, if I save the player as an AIR application, for mobile or desktop, the cirrus connection does work perfeclty, so it seems that the problem is related to connections to the flash player itself.

Is this an expected baheviour of AIR3.7 for some sort of security issue (limiting flash player/air apps connection)? If not, is there a way to solve it?

Thank you!

This topic has been closed for replies.

2 replies

Adobe Employee
May 15, 2013

Could you please open a new bug reprot on this over at bugbase.adobe.com? When adding the bug, please include sample code or an application so we can quickly test this out internally. If you'd like to keep this private, feel free to email the attachment to me directly(nimitja@adobedotcom).

Once the bug has been added would you mind posting back with the URL so that others affected can add their votes and comments?

Regards,

Nimit

Known Participant
May 15, 2013

Added one yesterday:

https://bugbase.adobe.com/index.cfm?event=bug&id=3560258

Interestingly air 3.7 on IOS to Desktop air 3.7 will work.

I am investigating if I can use 3.7 on Android to connect to 3.7 on iOS - so far I cannot get the apk to install on my Galaxy S3, compile using 3.4 and all is good. Air runtime has been updated via Play store - and build uses compiled runtime.

I cannot get Flash player 11.4 to connect with air 3.7 on iOS either.

NetGroup.Neighbour.Connect never fires.

All SDKS above 3.4 upto 3.8 beta exhibit the same problem.

3.4 works perfectly and can connect to flash player, and other Air/iOS devices just fine.

Shuld not be a issue with firewalls etc, thay are all open.

I can email you the fla, it is for a product so I can't post it here.

Thanks,

Steve.

Adobe Employee
May 15, 2013

Which AIR SDK 3.7 version you are using? There was a double icon issue in 3.7.0.153 which has been resolved, see the link http://forums.adobe.com/message/5243150#5243150 for reference. Please try with latest AIR SDK 3.7.0.186(if already not using) @ http://www.adobe.com/devnet/air/air-sdk-download.html.

Please share the error that you are getting while installing apk on your device.

Regards,

Nimit

Known Participant
May 15, 2013

Hi,

I am having the same problem!

AIR 3.4 was the last SDK I could get working with rtmfp. All versions above now fail with the exact same code that does work in 3.4.

I need to update an IOS app, and can't use 3.4 due to the Invalid binary situation.

Is there any reason that this no longer works, or is it just an overlooked bug?

Thanks.