public MulticastPlayer(MediaElement element, IDictionary<string, string> initParams, Logger logger)
            : base(element,logger.clone("McastPlayer"))
        {
            logger.info("c-tor");

            this.element = element;
            this.receiver = new MulticastReceiver(logger);
            this.receiver.BeginJoinGroup += receiver_BeginJoinGroup;
            this.receiver.EndJoinGroup += receiver_EndJoinGroup;
            this.receiver.ReceivedFirstPacket += receiver_ReceivedFirstPacket;

            this.receiver.setMediaPlayer(this.element);
            this.receiver.init(initParams);
            this.element.Volume = 1.0;
        }