lib/client/source/connecta.js
function onBytesMessage(peer,data)
    {
        var arr = bufferToArray(scope._servConn.byteType,data);

        if(arr)
        {
            if(scope._servConn.rtcFallback == true)
            {
                arr = arr.slice(0,arr.length-2);
            }
            scope.dispatchEvent("peerMessage",{message:arr,id:peer.id,rtc:peer.rtcId,array:true,fallback:false});
        }
    }
function onBytesMessage(peer,data)
    {
        var arr = bufferToArray(scope._servConn.byteType,data);

        if(arr)
        {
            if(scope._servConn.rtcFallback == true)
            {
                arr = arr.slice(0,arr.length-2);
            }
            scope.dispatchEvent("peerMessage",{message:arr,id:peer.id,rtc:peer.rtcId,array:true,fallback:false});
        }
    }
function onBytesMessage ( peer , data ) { var arr = bufferToArray ( scope . _servConn . byteType , data ) ; if ( arr ) { if ( scope . _servConn . rtcFallback == true ) { arr = arr . slice ( 0 , arr . length - 2 ) ; } scope . dispatchEvent ( "peerMessage" , { message : arr , id : peer . id , rtc : peer . rtcId , array : true , fallback : false } ) ; } }
invoked when byte message received from peer
invoked when byte message received from peer