From 0f437018db98b20c7b3f4fab16be4a18d84e9209 Mon Sep 17 00:00:00 2001 From: Julius Friedman Date: Wed, 15 Nov 2023 13:18:33 -0500 Subject: [PATCH] 0 buffer size. --- UnitTests/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnitTests/Program.cs b/UnitTests/Program.cs index 6eb26e16..8b900754 100644 --- a/UnitTests/Program.cs +++ b/UnitTests/Program.cs @@ -2269,7 +2269,7 @@ static void TestServer() var sources = new List(); for(int i = 1; i <= 9; ++i) { - var source = new Media.Rtsp.Server.MediaTypes.RtspSource($"R2_05{i}", $"rtsp://8.15.251.101:1935/rtplive/R2_05{i}", Rtsp.RtspClient.ClientProtocolType.Tcp, 10 * 1024); + var source = new Media.Rtsp.Server.MediaTypes.RtspSource($"R2_05{i}", $"rtsp://8.15.251.101:1935/rtplive/R2_05{i}", Rtsp.RtspClient.ClientProtocolType.Tcp, 0); source.RtpClient.ThreadEvents = true; source.RtpClient.IListSockets = true; source.RtspClient.DisableKeepAliveRequest = true;