Click or drag to resize
RtspSessionManagerDiscover Method
Attempts to discover an RTSP resource.

Namespace: StreamCoders.Rtsp.Extensions
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public DiscoveryReport Discover(
	Url url,
	EndPoint proxy,
	string userName,
	string password
)

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