Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

channel port does not work

Avatar

Level 1

I’m stuck to a point where port 2035 is working in the local server, but it does not work for another server. The code is as follows:

private var host:String = "xxx.xxx.xxx.xxx”;

private var port:int = 2035;

                          

var cs:ChannelSet = new ChannelSet();

var rtmpChannel:Channel = new RTMPChannel("my-rtmp", "rtmp://" + host + ":" + port);

cs.addChannel(rtmpChannel);

the above code works where host in the above code is 192.168.1.102 but doesn’t work for 63.133.158.174

I need an urgent solution. Please help.

0 Replies