Interface IOutput<TIOutput, TIInput, TFrame, TBuffer, TBufferCollection, TFormat>
An output.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public interface IOutput<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
Output
Gets the output.
Declaration
TIInput Output { get; }
Property Value
Type | Description |
---|---|
TIInput |
OutputFormat
Gets the output format.
Declaration
TFormat OutputFormat { get; }
Property Value
Type | Description |
---|---|
TFormat |
Outputs
Gets the outputs.
Declaration
TIInput[] Outputs { get; }
Property Value
Type | Description |
---|---|
TIInput[] |
PipelineJsonFromOutput
Gets the pipeline JSON from an output.
Declaration
string PipelineJsonFromOutput { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
AddOutput(TIInput)
Adds an output.
Declaration
void AddOutput(TIInput output)
Parameters
Type | Name | Description |
---|---|---|
TIInput | output | The output. |
AddOutputs(TIInput[])
Adds some outputs.
Declaration
void AddOutputs(TIInput[] outputs)
Parameters
Type | Name | Description |
---|---|---|
TIInput[] | outputs | The outputs. |
RemoveOutput(TIInput)
Removes an output.
Declaration
bool RemoveOutput(TIInput output)
Parameters
Type | Name | Description |
---|---|---|
TIInput | output | The output. |
Returns
Type | Description |
---|---|
System. |
RemoveOutputs()
Removes all outputs.
Declaration
void RemoveOutputs()
RemoveOutputs(TIInput[])
Removes some outputs.
Declaration
void RemoveOutputs(TIInput[] outputs)
Parameters
Type | Name | Description |
---|---|---|
TIInput[] | outputs | The outputs. |