Class MediaPacketSource
Definition
- Namespace:
- Tizen.Multimedia.Remoting
- Assembly:
- Tizen.Multimedia.Remoting.dll
Represents a media packet source.
public sealed class MediaPacketSource : MediaSource
- Inheritance
Constructors
View SourceMediaPacketSource(AudioMediaFormat)
Initializes a new instance of the MediaPacketSource class with the specified Audio
Declaration
public MediaPacketSource(AudioMediaFormat audioMediaFormat)
Parameters
Type | Name | Description |
---|---|---|
Audio |
audioMediaFormat | The Audio |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
See Also
View SourceMediaPacketSource(VideoMediaFormat)
Initializes a new instance of the MediaPacketSource class with the specified Video
Declaration
public MediaPacketSource(VideoMediaFormat videoMediaFormat)
Parameters
Type | Name | Description |
---|---|---|
Video |
videoMediaFormat | The Video |
Exceptions
Type | Condition |
---|---|
System. |
|
System. |
|
See Also
Properties
View SourceAudioConfiguration
Gets the audio configuration, or null if no AudioMediaFormat is specified in the constructor.
Declaration
public MediaPacketSourceConfiguration AudioConfiguration { get; }
Property Value
Type | Description |
---|---|
Media |
See Also
View SourceSupportedAudioTypes
Gets all supported audio types.
Declaration
public static IEnumerable<MediaFormatAudioMimeType> SupportedAudioTypes { get; }
Property Value
Type | Description |
---|---|
System. |
See Also
View SourceSupportedVideoTypes
Gets all supported video types.
Declaration
public static IEnumerable<MediaFormatVideoMimeType> SupportedVideoTypes { get; }
Property Value
Type | Description |
---|---|
System. |
See Also
View SourceVideoConfiguration
Gets the video configuration, or null if no VideoMediaFormat is specified in the constructor.
Declaration
public MediaPacketSourceConfiguration VideoConfiguration { get; }
Property Value
Type | Description |
---|---|
Media |
See Also
Methods
View SourcePush(MediaPacket)
Pushes elementary stream to decode audio or video.
Declaration
public void Push(MediaPacket packet)
Parameters
Type | Name | Description |
---|---|---|
Media |
packet | The Media |
Remarks
This source must be set as a source to a WebRTC and the WebRTC must be in the Negotiating or Playing state
Exceptions
Type | Condition |
---|---|
System. |
This source is not set as a source to a WebRTC. |
System. |
|
System. |
|
System. |
|