Class NewVideoSourceRequest
Create a new VideoSource VideoSource is used to send video frame to a track
public sealed class NewVideoSourceRequest : Google.Protobuf.IMessage<NewVideoSourceRequest>, Google.Protobuf.IBufferMessage
- Inheritance
-
NewVideoSourceRequest
- Implements
-
IBufferMessage
- Extension Methods
Constructors
NewVideoSourceRequest()
public NewVideoSourceRequest()
NewVideoSourceRequest(NewVideoSourceRequest)
public NewVideoSourceRequest(NewVideoSourceRequest other)
Parameters
otherNewVideoSourceRequest
Fields
IsScreencastFieldNumber
Field number for the "is_screencast" field.
public const int IsScreencastFieldNumber = 3
Field Value
ResolutionFieldNumber
Field number for the "resolution" field.
public const int ResolutionFieldNumber = 2
Field Value
TypeFieldNumber
Field number for the "type" field.
public const int TypeFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
HasIsScreencast
Gets whether the "is_screencast" field is set
public bool HasIsScreencast { get; }
Property Value
HasType
Gets whether the "type" field is set
public bool HasType { get; }
Property Value
IsScreencast
public bool IsScreencast { get; set; }
Property Value
Parser
public static Google.Protobuf.MessageParser<NewVideoSourceRequest> Parser { get; }
Property Value
- MessageParser<NewVideoSourceRequest>
Resolution
Used to determine which encodings to use + simulcast layers Most of the time it corresponds to the source resolution
public VideoSourceResolution Resolution { get; set; }
Property Value
Type
public VideoSourceType Type { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearIsScreencast()
Clears the value of the "is_screencast" field
public void ClearIsScreencast()
ClearType()
Clears the value of the "type" field
public void ClearType()
Clone()
public NewVideoSourceRequest Clone()
Returns
Equals(NewVideoSourceRequest)
public bool Equals(NewVideoSourceRequest other)
Parameters
otherNewVideoSourceRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(NewVideoSourceRequest)
public void MergeFrom(NewVideoSourceRequest other)
Parameters
otherNewVideoSourceRequest
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream