Create a task for live stream conversion (real-time) that reads data from input stream and write conversion result to output stream
Namespace: NReco.VideoConverter
Assembly: NReco.VideoConverter (in NReco.VideoConverter.dll) Version: 1.2.0
Syntax
public ConvertLiveMediaTask ConvertLiveMedia( Stream inputStream, string inputFormat, Stream outputStream, string outputFormat, ConvertSettings settings )
Parameters
- inputStream
- Type: System.IOStream
input live stream (null if data is provided by calling "Write" method) - inputFormat
- Type: SystemString
input stream media format - outputStream
- Type: System.IOStream
output media stream - outputFormat
- Type: SystemString
output media format - settings
- Type: NReco.VideoConverterConvertSettings
convert settings
Return Value
Type: ConvertLiveMediaTaskinstance of ConvertLiveMediaTask
See Also