RtspSubStreamSetup Method |
Attempts to set up an RTSP track.
Namespace: StreamCoders.Rtsp.ExtensionsAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic bool Setup(
int rtpMediaPort,
DeliveryMethod method
)
Public Function Setup (
rtpMediaPort As Integer,
method As DeliveryMethod
) As Boolean
public:
bool Setup(
int rtpMediaPort,
DeliveryMethod method
)
member Setup :
rtpMediaPort : int *
method : DeliveryMethod -> bool
Parameters
- rtpMediaPort
- Type: SystemInt32
Local RTP port in case of unicast or multicast, otherwise 0. RTCP is inferred to be RTP-PORT + 1. - method
- Type: StreamCoders.Rtsp.ExtensionsDeliveryMethod
Effectively the Transport type of the media stream.
Return Value
Type:
Boolean
true if it succeeds, false if it fails.
See Also