Expand my Community achievements bar.

How to activate RTMPT ?

Avatar

Former Community Member
Hello,



I've been trying to use cocomo in the company I'm working
for. But the enterprise firewall is very tight and doesn't allow
cocomo to connect to FMS.



In developping at home on my project, I saw a line that
caught my attention : "#FMSConnector# Mon Jan 19 12:26:57 GMT+0100
2009 isTunneling? false".



Sample :

FMSConnector# Mon Jan 19 12:26:56 GMT+0100 2009 protocols:
[object ProtocolPortPair]

#FMSConnector# Mon Jan 19 12:26:56 GMT+0100 2009 [attempt 1
of 2] Connecting to 0/0:
rtmps://fms1.acrobat.com/cocomo/na2-sdk-d579b9ed-f2e6-4795-becd-37cead641ca8/defaut
#startProtosConnect#

#FMSConnector# Mon Jan 19 12:26:57 GMT+0100 2009
tempNetStatusHandler 0/1,NetConnection.Connect.Success

#FMSConnector# Mon Jan 19 12:26:57 GMT+0100 2009 isTunneling?
false

#FMSConnector# Mon Jan 19 12:26:57 GMT+0100 2009 is using
RTMPS? true





Does anyone know a way to activate tunneling on Cocomo ?



Thanks



Best Regards



Bobby
4 Replies

Avatar

Employee
Tunneling gets automatically enabled when the standard
connection fails but I think we currently have a bug (related to
timing) that does break it.



Note that we only enable RTMPS over a proxy (using the HTTP
CONNECT method) and not RMTP over HTTP(on port 80)



If you have any info on how to configure the firewall/proxy
so that I can reproduce the problem and test the fix we can
probably get the fix in for the next SDK update.



Avatar

Former Community Member
As I understood, RTMPS works over a secure HTTPS connection.
So does it mean that my Flex App has to be served through https to
allow RTMPS to work ?



For the firewall details, I'll try to contact the IT services
to get this kind of information and I'll let you know.



Thx



Best Regards



Bobby

Avatar

Employee
so, I wrote a long reply to this but I think the Forum ate it
:)



this time I'll try to keep it short...



RTMPS is RTMP over SSL. Nothing to do with HTTPS, but you are
right that at some point in time RTMPS was RTMP wrapped in an HTTPS
connection.



In any case where and how you host your application doesn't
have anything to do with the communication with the Cocomo
services. Once your application starts, it will talk to our servers
using https for the REST API and rtmps for the real time messaging,
but again, it will not be affected by how and where your
application was loaded from.



Avatar

Former Community Member
So great !



Then, I don't have to change anything to my code, I just wait
for the next release of Cocomo to have my app working anywhere.

Do you have a roadmap of cocomo ? It will help me to schedule
key points of my own project.



Before posting, I checked on wikipedia the rtmps, that's why
I thought it was using https. An update of the article could be
very useful.



Thx



Best Regards



Bobby