• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

RTMPS not working in Android Air 3.8.0.820

Explorer ,
Jul 04, 2013 Jul 04, 2013

Copy link to clipboard

Copied

If i build my app with 3.7.0.1530 then an RTMPS connection (proxyType = "best") works fine. If I build with 3.8.0.820, on Android I get a NetConnection.Connect.Failed after about 10 seconds. Works fine with 3.8 on iOS & OS X.

Any ideas?

TOPICS
Air beta

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 05, 2013 Jul 05, 2013

Copy link to clipboard

Copied

Could you please share a reproducible sample application. It will help us reproduce the issue quickly. Also, share the device name and OS version you are using.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 05, 2013 Jul 05, 2013

Copy link to clipboard

Copied

Hi Nimit,

I've spent the day on this and I do have a test application I can share, although i'd rather not do so publically due to the hostnames contained within. Email would be fine.

However - i've noticed that this problem only occurs when connecting to Red5, not when connecting to AMS so i'm not sure if you want to look at it. We have migrated most of our application to your AMS EC2 AMI but still have some core RPC stuff going over an RTMPS connection to a Red5 instance. It's planned to be migrated from, but it's a bit of work.

For a long time, Android wouldn't connect to Red5 on the first attempt, but would on the second. I worked around this by establishing a throwaway HTTP request 'to bring the network up' for the RTMPS connection request. This seemed to work and I moved on - the plan is to leave Red5 behind anyway at some point. Don't see this behaviour on web / desktop or iOS. In 3.7, this approach, or simply trying the connection after the first one fails, works. On 3.8, each connection attempt fails.

Thanks for any help you can provide,
Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 22, 2013 Jul 22, 2013

Copy link to clipboard

Copied

Just recently I've been seeing RTMPS connection issues from customers on desktop, Windows-only. What was the resolution on this Android issue?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 22, 2013 Jul 22, 2013

Copy link to clipboard

Copied

No resolution for Air 3.8 + Android + RTMPS as yet, I expect that since further digging revealed this to be an issue only for Red5, they're not interested. Are you using Adobe Media Server or something else?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 25, 2013 Jul 25, 2013

Copy link to clipboard

Copied

LATEST

Hi xtyler,

Are they failing to connect first time, but working second time? Or are they completely unable to connect?

If the latter I have some things that you can try, although I would have expected that these will only assist with Air 3.8 issues, which your customers probably aren't running yet.

1. Use something like stunnel or Amazon ELB to handle the SSL, and have it forward the resulting non-SSL TCP connection to your RTMP port (not RTMPS)

2. If your server is something other than Adobe Media Server and is a java program running on openjdk, try the steps listed here and restart your server. NOTE: This effects your SSL configuration. I can't comment on whether this lowers, raises or doesn't effect the resulting security.

http://shickys.blogspot.com.au/2012/11/addressing-openjdk-bug-with-ssl-on.html

These workarounds both allow Android Air 3.8.0.930 to establish an RTMPS connection to Red5.

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 22, 2013 Jul 22, 2013

Copy link to clipboard

Copied

Hi David,

Thanks for the reply. Please share the sample application at nimitjain@adobedotcom.

Regards,

Nimit

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 23, 2013 Jul 23, 2013

Copy link to clipboard

Copied

Hi Nimit,

I've sent the application, thanks. I forgot to answer before that i've tested this on:

Android 4.2.1 - Samsung Galaxy Nexus

Android 4.1.2 - Samsung Galaxy Note 2 GT N7105T

Android 2.3.5 - HTC Desire HD

Dave

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines