Table of Contents

Struct GetStreamResponse

Namespace
Vonage.Video.Sessions.GetStream
Assembly
Vonage.dll

Represents the response of a GetStreamRequest.

public struct GetStreamResponse
Inherited Members

Constructors

GetStreamResponse(string, string, string, string[])

Creates a response.

[JsonConstructor]
public GetStreamResponse(string id, string videoType, string name, string[] layoutClassList)

Parameters

id string

The stream ID.

videoType string

The video type.

name string
layoutClassList string[]

Properties

Id

The stream Id.

public readonly string Id { get; }

Property Value

string

Remarks

This struct should be read-only. The setter is mandatory for deserialization.

LayoutClassList

An array of the layout classes for the stream.

public readonly string[] LayoutClassList { get; }

Property Value

string[]

Remarks

This struct should be read-only. The setter is mandatory for deserialization.

Name

The stream name (if one was set when the client published the stream).

public readonly string Name { get; }

Property Value

string

Remarks

This struct should be read-only. The setter is mandatory for deserialization.

VideoType

Set to "camera", "screen", or "custom". A "screen" video uses screen sharing on the publisher as the video source; a "custom" video is published by a web client using an HTML VideoTrack element as the video source.

public readonly string VideoType { get; }

Property Value

string

Remarks

This struct should be read-only. The setter is mandatory for deserialization.