Class MediaNullSource
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Represents a null source.
public sealed class MediaNullSource : MediaSource
- Inheritance
Remarks
If you add this source, WebRTC only receives media stream.
Transceiver
Constructors
View SourceMediaNullSource()
Initializes a new instance of the Media
Declaration
public MediaNullSource()
Remarks
TransceiverCodec should be set to receive audio, video stream.
See Also
Methods
View SourceGetSupportedTransceiverCodecs(MediaType)
Retrieves the supported transceiver codecs.
Declaration
public ReadOnlyCollection<TransceiverCodec> GetSupportedTransceiverCodecs(MediaType type)
Parameters
Type | Name | Description |
---|---|---|
Media |
type | The media type. |
Returns
Type | Description |
---|---|
System. |
The supported transceiver codecs. |
Remarks
If you add this source, WebRTC only receives media stream.
Transceiver
Exceptions
Type | Condition |
---|---|
System. |
The WebRTC has already been disposed. |
See Also
View SourceGetTransceiverCodec(MediaType)
Gets the transceiver codec for receiving media stream.
Declaration
public TransceiverCodec GetTransceiverCodec(MediaType type)
Parameters
Type | Name | Description |
---|---|---|
Media |
type | The media type. |
Returns
Type | Description |
---|---|
Transceiver |
The transceiver codec. |
Remarks
If you add this source, WebRTC only receives media stream.
Transceiver
Exceptions
Type | Condition |
---|---|
System. |
MediaSource is not attached yet. |
System. |
The WebRTC has already been disposed. |
See Also
View SourceSetTransceiverCodec(MediaType, TransceiverCodec)
Sets the transceiver codec for receiving media stream.
Declaration
public void SetTransceiverCodec(MediaType type, TransceiverCodec codec)
Parameters
Type | Name | Description |
---|---|---|
Media |
type | The media type. |
Transceiver |
codec | The transceiver codec. |
Remarks
The WebRTC must be in the Idle state when transceiver codec is set.
Exceptions
Type | Condition |
---|---|
System. |
MediaSource is not attached yet. |
System. |
The WebRTC has already been disposed. |