RtspPrimitivesCreateUdpSession Method |
Creates an UDP transport session. given a collection of SubStream objects.
Namespace: StreamCoders.Rtsp.ExtensionsAssembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic bool CreateUdpSession(
IEnumerable<RtspSubStream> subStreams,
int mediaPort
)
Public Function CreateUdpSession (
subStreams As IEnumerable(Of RtspSubStream),
mediaPort As Integer
) As Boolean
public:
bool CreateUdpSession(
IEnumerable<RtspSubStream^>^ subStreams,
int mediaPort
)
member CreateUdpSession :
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