public InterleavedTestSession(RequestContext context, SessionSpy spy, PortPair ports, byte payloadType)
 {
     _payloadType = payloadType;
     _src         = new TestSource(FRAMES_TO_SEND);
     _spy         = spy ?? throw new ArgumentNullException("Spy cannot be null");
     _ports       = ports ?? throw new ArgumentNullException("Ports cannot be null");
     _context     = context ?? throw new ArgumentNullException("Context cannot be null");
 }
 public RecordingTransform(SessionSpy spy, string id)
 {
     _id  = id;
     _spy = spy;
 }
Esempio n. 3
0
 public InterleavedTestHandler(SessionSpy spy) : base()
 {
     _spy = spy ?? throw new ArgumentNullException("Spy cannot be null");
 }
 public InterleavedClientServerTest(RtspCommunicationFixture fixture)
 {
     _fixture = fixture;
     _spy     = new SessionSpy();
     _fixture.Initialize(URI_PATH, new InterleavedTestHandler(_spy));
 }