Class MediaStreamTrack
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Provides the ability to control audio or video track from peer.
public sealed class MediaStreamTrack
- Inheritance
-
objectMedia
Stream Track
Properties
View SourceDisplay
Gets or sets the display to show video data from peer.
Declaration
public Display Display { get; set; }
Property Value
Remarks
If user set video source with Send
If not, the received video will fill entire screen.
If remote track, Display must be set in Track
The display is created with Media
Exceptions
Type | Condition |
---|---|
System. |
The required feature is not supported. |
System. |
The WebRTC has already been disposed of. |
System. |
The value has already been assigned to another WebRTC. |
System. |
The WebRTC is not called in Track |
DisplayMode
Gets or sets the display mode.
Declaration
public WebRTCDisplayMode DisplayMode { get; set; }
Property Value
Type | Description |
---|---|
Web |
A Web |
Remarks
This property is meaningful only in overlay or EVAS surface display type.
Exceptions
Type | Condition |
---|---|
System. |
The required feature is not supported. |
System. |
Display mode type is incorrect. |
System. |
Display is not set. |
DisplayVisible
Gets or sets the display visibility.
Declaration
public bool DisplayVisible { get; set; }
Property Value
Type | Description |
---|---|
bool | true if WebRTC display is visible, otherwise false. |
Remarks
This property is meaningful only in overlay or EVAS surface display type.
Exceptions
Type | Condition |
---|---|
System. |
The required feature is not supported. |
System. |
Display is not set. |
Mute
Gets or sets the mute status of the audio track.
Declaration
public bool Mute { get; set; }
Property Value
Type | Description |
---|---|
bool | true if audio is muted, otherwise false. The default value is false. |
Exceptions
Type | Condition |
---|---|
System. |
The WebRTC has already been disposed. |
System. |
This MediaStreamTrack is not Audio. |
Type
Gets the type of media stream track.
Declaration
public MediaType Type { get; }
Property Value
Methods
View SourceApplyAudioStreamPolicy(AudioStreamPolicy)
Applies the audio stream policy to remote track.
Declaration
public void ApplyAudioStreamPolicy(AudioStreamPolicy policy)
Parameters
Type | Name | Description |
---|---|---|
Audio |
policy | The Audio |
Remarks
This must be called in Track
Web
Supported types are Media, Voip,
Media
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
Audio |
System. |
Audio |
System. |
The WebRTC has already been disposed. |