Click or drag to resize

IMediaChannel Interface

Represents a channel on which the media data will flow.

Namespace: Ozeki.Media
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntax
public interface IMediaChannel

The IMediaChannel type exposes the following members.

Properties
 NameDescription
Public propertyChannelID Gets the ID of the channel.
Public propertyCodecConfig Gets the currently selected payload type of the encoder.
Public propertyLocalAddress Gets the local address of the channel.
Public propertyLocalPort Gets the local media port of the channel.
Public propertyMediaType Gets the media type of the channel.
Public propertyRemoteAddress Gets the remote address of the channel where to the data will be sent.
Public propertyRemotePort Gets the remote port of the channel where to the data will be sent.
Public propertyRemoteRtspServerAddress Gets or sets the remote rtsp server address.
Public propertyTransportLayer Gets or sets the transport layer.
Top
Methods
 NameDescription
Public methodCheckDecodeRequired(ICollectionIEnumerableAudioType) 
Public methodCheckDecodeRequired(ICollectionIEnumerableVideoType) 
Public methodClose Closes the media channel and frees up the resources used by the channel.
Public methodConnectToRemoteHost Connects to the given remote address and port.
Public methodSendMediaData Sends media data to the remote address.
Public methodSendRTPEvent Sends RTP event data to the remote address.
Public methodSetChannelConfig 
Public methodSetCryptoParameters Sets the encryption and decryption parameters of the media channel.
Public methodSetDefaultPayloadTypes 
Public methodSetMediaStrategy 
Top
Events
 NameDescription
Public eventEncoderChanged Occurs when the payload type of the sent media data has changed.
Public eventMediaDataReceived Occurs when a media data received through the channel.
Top
See Also