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

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

            options = new RTMPEndpointOptions();
        }