Struct AddStreamRequest
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
ArchiveId
The archive Id.
[Mandatory(1)]
public Guid ArchiveId { get; }
Property Value
HasAudio
Disables audio for the stream in the composed archive. Audio is included by default.
[OptionalBoolean(true, "DisableAudio")]
public bool HasAudio { get; }
Property Value
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
Examples
.DisableVideo()
StreamId
The stream Id.
[Mandatory(2)]
public Guid StreamId { get; }
Property Value
Methods
Build()
public static IBuilderForApplicationId Build()
Returns
BuildRequestMessage()
Converts the request to a HttpRequest.
public HttpRequestMessage BuildRequestMessage()
Returns
- HttpRequestMessage
The Http request.