LEADTOOLS Multimedia (Leadtools.Multimedia assembly)

GetSourceFolder Method

Show in webframe



0-based index of the source folder that should be retrieved. The source folders are stored as an array of folder names.
Retrieves one of the folders from the source folder list.
Syntax
'Declaration
 
Public Function GetSourceFolder( _
   ByVal index As Integer _
) As String
'Usage
 
Dim instance As RTSPServer
Dim index As Integer
Dim value As String
 
value = instance.GetSourceFolder(index)
public string GetSourceFolder( 
   int index
)
public:
String^ GetSourceFolder( 
   int index
) 

Parameters

index
0-based index of the source folder that should be retrieved. The source folders are stored as an array of folder names.

Return Value

The folder name. The folder names are absolute and should be fully specified.
Remarks

The RTSP Server keeps an internal list of folders which store the source files for the server. When a client asks for a file to stream, the RTSP Server will look for the requested file in this source folder list, in order.

The server looks in the first folder first. If it doesn't find it, it looks in the next folder and so on until it finds a folder containing the requested file.

This function can be used to enumerate the source folders that have been added so far to the RTSP Server using SetSourceFolder.

Requirements

Target Platforms

See Also

Reference

RTSPServer Class
RTSPServer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Multimedia requires a Multimedia or Multimedia Suite license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features