Class MediaNullSource

Definition

Namespace:
Tizen.Multimedia.Remoting
Assembly:
Tizen.Multimedia.Remoting.dll
API Level:
10

Represents a null source.

C#
Copy
public sealed class MediaNullSource : MediaSource, IDisplayable<uint>
Inheritance
MediaNullSource
Implements
Tizen.Multimedia.IDisplayable<UInt32>
Remarks

If you add this source, WebRTC only receives media stream.
TransceiverDirection is set RecvOnly by default.

Constructors

View Source

MediaNullSource()

Initializes a new instance of the MediaNullSource class.

Declaration
C#
Copy
public MediaNullSource()
Remarks

TransceiverCodec should be set to receive audio, video stream.

API Level: 10

Methods

View Source

GetSupportedTransceiverCodecs(MediaType)

Retrieves the supported transceiver codecs.

Declaration
C#
Copy
public ReadOnlyCollection<TransceiverCodec> GetSupportedTransceiverCodecs(MediaType type)
Parameters
Type Name Description
MediaType type

The media type.

Returns
Type Description
ReadOnlyCollection<TransceiverCodec>

The supported transceiver codecs.

API Level: 10
View Source

GetTransceiverCodec(MediaType)

Gets the transceiver codec for receiving media stream.

Declaration
C#
Copy
public TransceiverCodec GetTransceiverCodec(MediaType type)
Parameters
Type Name Description
MediaType type

The media type.

Returns
Type Description
TransceiverCodec

The transceiver codec.

API Level: 10
View Source

SetTransceiverCodec(MediaType, TransceiverCodec)

Sets the transceiver codec for receiving media stream.

Declaration
C#
Copy
public void SetTransceiverCodec(MediaType type, TransceiverCodec codec)
Parameters
Type Name Description
MediaType type

The media type.

TransceiverCodec codec

The transceiver codec.

Remarks

The WebRTC must be in the Idle state when transceiver codec is set.

API Level: 10

Implements

Tizen.Multimedia.IDisplayable<>

Extension Methods

See Also