Table of Contents

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, IOutputAudioProcessor

Inheritance

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

url string

The WHIP endpoint URL.

Properties

Audio

Gets or sets the audio encoder settings. Supported encoders: Opus only.

public IAudioEncoder Audio { get; set; }

Property Value

IAudioEncoder

CustomAudioProcessor

Gets or sets the custom audio processor block.

public MediaBlock CustomAudioProcessor { get; set; }

Property Value

MediaBlock

CustomVideoProcessor

Gets or sets the custom video processor block.

public MediaBlock CustomVideoProcessor { get; set; }

Property Value

MediaBlock

Sink

Gets or sets the sink settings.

public WHIPSinkSettings Sink { get; set; }

Property Value

WHIPSinkSettings

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

IVideoEncoder

Methods

GetAudioEncoders()

Gets the audio encoders. Only Opus encoder is supported for WebRTC WHIP.

public Tuple<string, Type>[] GetAudioEncoders()

Returns

Tuple<string, Type>[]

Tuple<System.String, Type>[].

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

Tuple<string, Type>[]

Tuple<System.String, Type>[].

SetFilename(string)

Sets the filename.

public void SetFilename(string filename)

Parameters

filename string

The filename.