public StreamRTMP(IBMDSwitcherStreamRTMP stream, IMediator mediator) { _stream = stream; _mediator = mediator; _stream?.AddCallback(new StreamRTMPCallback(mediator)); }
public StreamRTMPTests() : base() { _stream = AtemMini.SwitcherDirect.GetStreamRTMP() ?? new Mock.MockStream(); _mediator = new MockMediator(); }