Skip to content

Commit a0b4e17

Browse files
committed
F Added default parameter values
1 parent 73dfc95 commit a0b4e17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/SharpRTSPClient/RTSPClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void Connect(string url, RTPTransport rtpTransport, string username = nul
166166
/// <param name="playbackSession">Playback session.</param>
167167
/// <param name="userCertificateSelectionCallback">Callback for user certificate selection.</param>
168168
/// <param name="autoReconnect">Automatically try to reconnect after losing the connection.</param>
169-
public void Connect(Uri uri, RTPTransport rtpTransport, string username, string password, MediaRequest mediaRequest, bool playbackSession, System.Net.Security.RemoteCertificateValidationCallback userCertificateSelectionCallback, bool autoReconnect = false)
169+
public void Connect(Uri uri, RTPTransport rtpTransport, string username = null, string password = null, MediaRequest mediaRequest = MediaRequest.VIDEO_AND_AUDIO, bool playbackSession = false, System.Net.Security.RemoteCertificateValidationCallback userCertificateSelectionCallback = null, bool autoReconnect = false)
170170
{
171171
_logger.LogDebug("Connecting to {url} ", uri);
172172

0 commit comments

Comments
 (0)