RtspSessionManagerDiscover Method |
Attempts to discover an RTSP resource.
Namespace: StreamCoders.Rtsp.ExtensionsAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic DiscoveryReport Discover(
Url url,
EndPoint proxy,
string userName,
string password
)
Public Function Discover (
url As Url,
proxy As EndPoint,
userName As String,
password As String
) As DiscoveryReport
public:
DiscoveryReport^ Discover(
Url^ url,
EndPoint^ proxy,
String^ userName,
String^ password
)
member Discover :
url : Url *
proxy : EndPoint *
userName : string *
password : string -> DiscoveryReport
Parameters
- url
- Type: StreamCoders.RtspUrl
RTSP URI. - proxy
- Type: System.NetEndPoint
Optional proxy endpoint. Set to null if not used. - userName
- Type: SystemString
Optional username. Set to null or empty if not used. - password
- Type: SystemString
Optional password. Set to null or empty if not used.
Return Value
Type:
DiscoveryReport
Returns an
RtspSession which is used to proceed working with the RTSP resource. If
the discovery was unsuccessful (TCP connection attemps failed, authentication problems,
404) or the resource doesn't produce compatible
RtspTrackInfo objects (due to
incompatible/invalid media attributes), the return value may also be null.
See Also