Beispiel #1
0
        public RTMPEndpoint(TCPSocket socket)
        {
            previousPacket = null;
            Socket = socket;
            Version = versionNumber;
            currentData = emptyArray;
            Socket.OnDataReceived += OnData;
            CurrentState = RTMPState.Unitialized;

            options = new RTMPEndpointOptions();
        }
Beispiel #2
0
        public RTMPEndpoint(TCPSocket socket)
        {
            previousPacket         = null;
            Socket                 = socket;
            Version                = versionNumber;
            currentData            = emptyArray;
            Socket.OnDataReceived += OnData;
            CurrentState           = RTMPState.Unitialized;

            options = new RTMPEndpointOptions();
        }