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.ExtensionsAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic bool CreateMulticastSession(
IEnumerable<RtspSubStream> subStreams,
int mediaPort
)
Public Function CreateMulticastSession (
subStreams As IEnumerable(Of RtspSubStream),
mediaPort As Integer
) As Boolean
public:
bool CreateMulticastSession(
IEnumerable<RtspSubStream^>^ subStreams,
int mediaPort
)
member CreateMulticastSession :
subStreams : IEnumerable<RtspSubStream> *
mediaPort : int -> bool
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.
ExceptionsException | Condition |
---|
Exception | Thrown when an exception error condition occurs. |
See Also