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

channel port does not work

Level 1
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 = "”;

private var port:int = 2035;


var cs:ChannelSet = new ChannelSet();

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


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

I need an urgent solution. Please help.

0 Replies