Table of Contents

Struct AddStreamRequest

Namespace
Vonage.Video.Archives.AddStream
Assembly
Vonage.dll

Represents a request to add a stream to an archive.

[Builder(new string[] { })]
public readonly struct AddStreamRequest : IVonageRequest, IHasApplicationId, IHasArchiveId, IHasStreamId
Implements
Inherited Members

Properties

ApplicationId

The Vonage Application UUID.

[Mandatory(0)]
public Guid ApplicationId { get; }

Property Value

Guid

ArchiveId

The archive Id.

[Mandatory(1)]
public Guid ArchiveId { get; }

Property Value

Guid

HasAudio

Disables audio for the stream in the composed archive. Audio is included by default.

[OptionalBoolean(true, "DisableAudio")]
public bool HasAudio { get; }

Property Value

bool

Examples

.DisableAudio()

HasVideo

Disables video for the stream in the composed archive. Video is included by default.

[OptionalBoolean(true, "DisableVideo")]
public bool HasVideo { get; }

Property Value

bool

Examples

.DisableVideo()

StreamId

The stream Id.

[Mandatory(2)]
public Guid StreamId { get; }

Property Value

Guid

Methods

Build()

public static IBuilderForApplicationId Build()

Returns

IBuilderForApplicationId

BuildRequestMessage()

Converts the request to a HttpRequest.

public HttpRequestMessage BuildRequestMessage()

Returns

HttpRequestMessage

The Http request.