Interface IInput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat>
An input.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IInput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat> : IElement where TIOutput : IOutput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat> where TIInput : IInput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat> where TFrame : MediaFrame<TBuffer, TBufferCollection, TFormat, TFrame> where TBuffer : MediaBuffer<TFormat, TBuffer> where TBufferCollection : MediaBufferCollection<TBuffer, TBufferCollection, TFormat> where TFormat : MediaFormat<TFormat>
Type Parameters
| Name | Description |
|---|---|
| TIOutput | The type of the output interface. |
| TIInput | The type of the input interface. |
| TFrame | The type of the frame. |
| TBuffer | The type of the buffer. |
| TBufferCollection | The type of the buffer collection. |
| TFormat | The type of the format. |
Properties
Input
Gets the input.
Declaration
TIOutput Input { get; }
Property Value
| Type | Description |
|---|---|
| TIOutput |
InputFormat
Gets the input format.
Declaration
TFormat InputFormat { get; }
Property Value
| Type | Description |
|---|---|
| TFormat |
Inputs
Gets the inputs.
Declaration
TIOutput[] Inputs { get; }
Property Value
| Type | Description |
|---|---|
| TIOutput[] |
PipelineJsonFromInput
Gets the pipeline JSON from an input.
Declaration
string PipelineJsonFromInput { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
AddInput(TIOutput)
Adds an input.
Declaration
void AddInput(TIOutput input)
Parameters
| Type | Name | Description |
|---|---|---|
| TIOutput | input | The input. |
AddInputs(TIOutput[])
Adds some inputs.
Declaration
void AddInputs(TIOutput[] inputs)
Parameters
| Type | Name | Description |
|---|---|---|
| TIOutput[] | inputs | The inputs. |
RemoveInput(TIOutput)
Removes an input.
Declaration
bool RemoveInput(TIOutput input)
Parameters
| Type | Name | Description |
|---|---|---|
| TIOutput | input | The input. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
RemoveInputs()
Removes all inputs.
Declaration
void RemoveInputs()
RemoveInputs(TIOutput[])
Removes some inputs.
Declaration
void RemoveInputs(TIOutput[] inputs)
Parameters
| Type | Name | Description |
|---|---|---|
| TIOutput[] | inputs | The inputs. |