Example #1
0
        private void OnNewClient(object sender, SocketData socketdata)
        {
            var client = new RTMPEndpoint(socketdata.Socket);
            client.OnConnect += OnConnect;
            client.OnCreateStream += OnCreateStream;
            client.OnReleaseStream += OnReleaseStream;
            client.OnFCPublish += OnFCPublish;
            client.OnPublish += OnPublish;

            clients.Add(client);
        }
Example #2
0
        private void OnNewClient(object sender, SocketData socketdata)
        {
            var client = new RTMPEndpoint(socketdata.Socket);

            client.OnConnect       += OnConnect;
            client.OnCreateStream  += OnCreateStream;
            client.OnReleaseStream += OnReleaseStream;
            client.OnFCPublish     += OnFCPublish;
            client.OnPublish       += OnPublish;

            clients.Add(client);
        }