Class StreamSelector
Class that helps with picking a specific stream type
Inherited Members
Namespace: Microsoft.MixedReality.PhotoCapture
Assembly: cs.temp.dll.dll
Syntax
public class StreamSelector
Properties
StreamDescriptions
List containing stream descriptions
Declaration
public List<StreamDescription> StreamDescriptions { get; }
Property Value
| Type | Description |
|---|---|
| List<StreamDescription> |
Methods
AddStream(StreamDescription)
Use this function to declare a new stream description
Declaration
public void AddStream(StreamDescription streamDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamDescription | streamDescription |
Select(StreamCompare, Double)
Select streams by framerate
Declaration
public StreamSelector Select(StreamCompare compare, double framerate)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamCompare | compare | The comparison to use |
| Double | framerate | The framerate to compare with |
Returns
| Type | Description |
|---|---|
| StreamSelector |
Select(StreamCompare, Int32, Int32)
Select streams by resolution
Declaration
public StreamSelector Select(StreamCompare compare, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| StreamCompare | compare | The comparison to use |
| Int32 | width | The width to compare with |
| Int32 | height | The height to compare with |
Returns
| Type | Description |
|---|---|
| StreamSelector |