Class MemoryStreamSource
MemoryStreamSource class.
Inherited Members
Namespace: VisioForge.Core.Types.MediaPlayer
Assembly: VisioForge.Core.dll
Syntax
public class MemoryStreamSource
  Constructors
MemoryStreamSource(IStream, long)
Initializes a new instance of the MemoryStreamSource class.
Declaration
public MemoryStreamSource(IStream stream, long size)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IStream | stream | The stream.  | 
      
| long | size | The size.  | 
      
MemoryStreamSource(IStream, bool?, bool?, long)
Initializes a new instance of the MemoryStreamSource class.
Declaration
public MemoryStreamSource(IStream stream, bool? videoPresent, bool? audioPresent, long size)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IStream | stream | IStream stream.  | 
      
| bool? | videoPresent | Video present flag. If LAV engine is available you can ignore this parameter.  | 
      
| bool? | audioPresent | Audio present flag. If LAV engine is available you can ignore this parameter.  | 
      
| long | size | Size.  | 
      
Properties
IsAudioPresent
Gets a value indicating whether IStream source have audio stream.
Declaration
public bool? IsAudioPresent { get; }
  Property Value
| Type | Description | 
|---|---|
| bool? | 
IsVideoPresent
Gets a value indicating whether IStream source have audio stream.
Declaration
public bool? IsVideoPresent { get; }
  Property Value
| Type | Description | 
|---|---|
| bool? | 
Size
Gets source stream size.
Declaration
public long Size { get; }
  Property Value
| Type | Description | 
|---|---|
| long | 
Stream
Gets source stream if Source_Mode = MediaPlayerSourceMode.Memory.
Declaration
[JsonIgnore]
public IStream Stream { get; }
  Property Value
| Type | Description | 
|---|---|
| IStream |