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;
        }
Пример #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;
        }
Пример #3
0
        public RtmpStream(ILibRtmpWrapper libRtmpWrapper, IUriData uriData)
        {
            if (libRtmpWrapper == null)
            {
                throw new ArgumentNullException("libRtmpWrapper");
            }
            if (uriData == null)
            {
                throw new ArgumentNullException("uriData");
            }

            _libRtmpWrapper = libRtmpWrapper;
            _uriData        = uriData;
            _canRead        = true;
            _isOpen         = false;
            _position       = 0;
        }
Пример #4
0
        public RtmpStream(ILibRtmpWrapper libRtmpWrapper, IUriData uriData)
        {
            if (libRtmpWrapper == null) throw new ArgumentNullException("libRtmpWrapper");
            if (uriData == null) throw new ArgumentNullException("uriData");

            _libRtmpWrapper = libRtmpWrapper;
            _uriData = uriData;
            _canRead = true;
            _isOpen = false;
            _position = 0;
        }