Struct GetStreamsResponse.Stream
- Namespace
- Vonage.Video.Sessions.GetStreams
- Assembly
- Vonage.dll
Represents a stream.
public struct GetStreamsResponse.Stream
- Inherited Members
Constructors
Stream(string, string, string, string[])
Creates a stream.
[JsonConstructor]
public Stream(string id, string videoType, string name, string[] layoutClassList)
Parameters
Properties
Id
The stream Id.
public readonly string Id { get; }
Property Value
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
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
Remarks
This struct should be read-only. The setter is mandatory for deserialization.