Avatar

Level 1

Hi Steve ,

Thank you for your reply. We have implemented the channel set in out project but we found no use.

                    channelSet = new ChannelSet();
                
                  rtmpChannel = RTMPChannel(ServerConfig.getChannel('my-rtmp'));
                  channelSet.addChannel(rtmpChannel);
                
                 amfLongPoll = AMFChannel(ServerConfig.getChannel('my-nio-amf-longpoll'));
                 amfLongPoll.pollingInterval = 3000;
                 channelSet.addChannel(amfLongPoll);
                
                 amfStream = StreamingAMFChannel(ServerConfig.getChannel("my-nio-amf-stream"));
                 amfStream.connectTimeout = 3;
                 channelSet.addChannel(amfStream);
                
                
                 amfPoll = AMFChannel(ServerConfig.getChannel("my-nio-amf-poll"));
                 channelSet.addChannel(amfPoll);
                
                 nioHttpStream = StreamingHTTPChannel(ServerConfig.getChannel("my-nio-http-stream"));
                 nioHttpStream.connectTimeout = 3;
                 channelSet.addChannel(nioHttpStream);
                
                 nioHttpLongPoll = HTTPChannel(ServerConfig.getChannel('my-nio-http-longpoll'));
                 nioHttpLongPoll.pollingInterval = 3000;
                   channelSet.addChannel(nioHttpLongPoll);
                
                 nioHttpPoll = HTTPChannel(ServerConfig.getChannel("my-nio-http-poll"));
                 channelSet.addChannel(nioHttpPoll);

this is how we have created the channel set and finally assigned the channel set to the consumer and producers' channelSet.

In a way to diagnose the network disconnection and reconnections we have implemented the consumer's ChannelEvent.

The Channel connection event is fired only initially but not after the net reconnection.

Thanks and Regards,

Kanthi.