示例#1
0
        public StreamRTMP(IBMDSwitcherStreamRTMP stream, IMediator mediator)
        {
            _stream   = stream;
            _mediator = mediator;

            _stream?.AddCallback(new StreamRTMPCallback(mediator));
        }
示例#2
0
 public StreamRTMPTests() : base()
 {
     _stream   = AtemMini.SwitcherDirect.GetStreamRTMP() ?? new Mock.MockStream();
     _mediator = new MockMediator();
 }