Sets the security settings for a source folder or the whole server.
public void SetSecurity(
int index,
Leadtools.Multimedia.RTSPSecurity value
)
Public Sub SetSecurity( _
ByVal index As Integer, _
ByVal value As Leadtools.Multimedia.RTSPSecurity _
)
public:
void SetSecurity(
int index,
Leadtools.Multimedia.RTSPSecurity^ value
)
index
0-based index of the source folder whose security settings should be set. Use -1 to set the default RTSP Server security settings.
value
The RTSPSecurity object containing the security settings. If NULL, no authentication is required to access the folder (or server).
If index is between 0 and SourceCount - 1 (where SourceCount is the number of folders in the list, as indicated by SourceCount), this function sets the security settings for the source with the index equal to index.
If index is set to -1, this method sets the default security settings for the RTSP server. All the current folders are set to these security settings. Also, all future folders added with SetSourceFolder will use the default security settings.
If you never set the security settings for the RTSP server, the default security setting is NULL (no authentication is used).
See RTSPSecurity for more information on RTSP security settings (also called 'authentication').
If the server is running, the updated security settings will be used the next time an RTSP client connects. It will not affect RTSP clients already connected.
For an example, see RTSPSecurity.
Products |
Support |
Feedback: SetSecurity Method - Leadtools.Multimedia |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.