Click or drag to resize
RtspPrimitivesCreateMulticastSession Method
Creates an UDP multicast transport session. given a collection of SubStream objects. If this function succeeds, the multicast group endpoint track information will be updated (MulticastGroupRtpEndpoint and MulticastGroupRtcpEndpoint).

Namespace: StreamCoders.Rtsp.Extensions
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public bool CreateMulticastSession(
	IEnumerable<RtspSubStream> subStreams,
	int mediaPort
)

Parameters

subStreams
Type: System.Collections.GenericIEnumerableRtspSubStream
SubStream objects to use.
mediaPort
Type: SystemInt32
The RTP transport port. RTCP will receive mediaPort + 1.

Return Value

Type: Boolean
Returns true on success, otherwise false.
Exceptions
ExceptionCondition
Exception Thrown when an exception error condition occurs.
See Also