From 8e57440aef0586beeab932cc41fe0870f29698b9 Mon Sep 17 00:00:00 2001 From: Julius Friedman Date: Mon, 20 Nov 2023 21:43:01 -0500 Subject: [PATCH] RtspHeaderFields.Connection.KeepAlive --- Rtsp/RtspClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rtsp/RtspClient.cs b/Rtsp/RtspClient.cs index 569340da..49b2fbf6 100644 --- a/Rtsp/RtspClient.cs +++ b/Rtsp/RtspClient.cs @@ -6511,7 +6511,7 @@ DisableKeepAliveRequest is false && } else if (SupportedMethods.Contains(RtspMethod.OPTIONS.ToString())) //If at least options is supported { - using (SendOptions(session.Value.ControlLocation == RtspMessage.Wildcard, session.Value.SessionId)) ; + using (SendOptions(session.Value.ControlLocation == RtspMessage.Wildcard, session.Value.SessionId, RtspHeaderFields.Connection.KeepAlive)) ; } else if (SupportedMethods.Contains(RtspMethod.PLAY.ToString())) //If at least PLAY is supported {