View Single Post
  #206  
Old 07-29-2015, 11:05 AM
itsme itsme is offline
Member
 
Join Date: Jan 2011
Posts: 38
itsme is on a distinguished road
Default

Re: Recording RTMP Webcams from cam4(HowTo record XXX/adult web-cam videos from cam4.


Code:
     

        protected function edgeConnectionNetStatusHandler(event:NetStatusEvent) : void
        {
            var _loc_2:Object = null;
            this.logger.info("connectionNetStatusHandler2: " + event.info.code);
            if (event.info.code == "NetConnection.Connect.Success")
            {
                if (this.inPrivateShow == false)
                {
                    if (event.info.application != null)
                    {
                        _loc_2 = WowzaChallenge.createChallengeResponse(event.info.application);
                        this.edgeConnection.call("receiveRTMPResponse", new Responder(this.afterConnectResponder), _loc_2, true);
                    }
                    else
                    {
                        this.processWithStreamPlay();
                    }
                }
            }
            else
            {
                this.signalStateChange.dispatch(this._room, PreviewState.ERROR);
            }
            return;
        }// end function

   public static function createChallengeResponse(param1:Object) : Object
        {
            var _loc_2:* = param1.Host.length;
            var _loc_3:* = param1.IP.length;
            var _loc_4:* = param1.ID.length;
            var _loc_5:* = ********************;
            var _loc_6:* = new Object();
            _loc_6.client = String(param1.ID);
            _loc_6.result = _loc_5.toString();
            return _loc_6;
        }// end function
you script kiddies could copy the mfc challenge code over and replace js with event parsing.
Reply With Quote