public DrNuRtmpStreamFactory(ILibRtmpWrapper libRtmpWrapper, UriData.Factory uriDataFactory)
        {
            if (libRtmpWrapper == null) throw new ArgumentNullException("libRtmpWrapper");
            if (uriDataFactory == null) throw new ArgumentNullException("uriDataFactory");

            _libRtmpWrapper = libRtmpWrapper;
            _uriDataFactory = uriDataFactory;
        }
Exemple #2
0
        public DrNuRtmpStreamFactory(ILibRtmpWrapper libRtmpWrapper, UriData.Factory uriDataFactory)
        {
            if (libRtmpWrapper == null)
            {
                throw new ArgumentNullException("libRtmpWrapper");
            }
            if (uriDataFactory == null)
            {
                throw new ArgumentNullException("uriDataFactory");
            }

            _libRtmpWrapper = libRtmpWrapper;
            _uriDataFactory = uriDataFactory;
        }