Class WHIPOutput
- Namespace
- VisioForge.Core.Types.X.Output
- Assembly
- VisioForge.Core.dll
WebRTC WHIP (WebRTC-HTTP Ingestion Protocol) output settings for low-latency streaming. Video must be H.264 and audio must be Opus (WebRTC requirement).
public class WHIPOutput : IVideoEditXBaseOutput, IVideoCaptureXBaseOutput, IXBaseOutput, IOutputVideoProcessor, IOutputAudioProcessorInheritance
Implements
Inherited Members
Constructors
WHIPOutput(string)
Initializes a new instance of the VisioForge.Core.Types.X.Output.WHIPOutput class.
public WHIPOutput(string url = "http://localhost:8889/stream/whip")Parameters
urlstring-
The WHIP endpoint URL.
Properties
Audio
Gets or sets the audio encoder settings. Supported encoders: Opus only.
public IAudioEncoder Audio { get; set; }Property Value
CustomAudioProcessor
Gets or sets the custom audio processor block.
public MediaBlock CustomAudioProcessor { get; set; }Property Value
CustomVideoProcessor
Gets or sets the custom video processor block.
public MediaBlock CustomVideoProcessor { get; set; }Property Value
Sink
Gets or sets the sink settings.
public WHIPSinkSettings Sink { get; set; }Property Value
Video
Gets or sets the video encoder settings. Supported encoders: H.264 only (OpenH264, NVENC H264, QSV H264, AMF H264).
public IVideoEncoder Video { get; set; }Property Value
Methods
GetAudioEncoders()
Gets the audio encoders. Only Opus encoder is supported for WebRTC WHIP.
public Tuple<string, Type>[] GetAudioEncoders()Returns
GetFilename()
Gets the filename.
public string GetFilename()Returns
- string
-
System.String.
GetVideoEncoders()
Gets the video encoders. Only H.264 encoders are supported for WebRTC WHIP.
public Tuple<string, Type>[] GetVideoEncoders()Returns
SetFilename(string)
Sets the filename.
public void SetFilename(string filename)Parameters
filenamestring-
The filename.