Class CreateIngressRequest
public sealed class CreateIngressRequest : IMessage<CreateIngressRequest>, IEquatable<CreateIngressRequest>, IDeepCloneable<CreateIngressRequest>, IBufferMessage, IMessage
- Inheritance
-
CreateIngressRequest
- Implements
-
IMessage<CreateIngressRequest>IDeepCloneable<CreateIngressRequest>IBufferMessageIMessage
- Inherited Members
Constructors
CreateIngressRequest()
public CreateIngressRequest()
CreateIngressRequest(CreateIngressRequest)
public CreateIngressRequest(CreateIngressRequest other)
Parameters
otherCreateIngressRequest
Fields
AudioFieldNumber
Field number for the "audio" field.
public const int AudioFieldNumber = 6
Field Value
BypassTranscodingFieldNumber
Field number for the "bypass_transcoding" field.
public const int BypassTranscodingFieldNumber = 8
Field Value
EnableTranscodingFieldNumber
Field number for the "enable_transcoding" field.
public const int EnableTranscodingFieldNumber = 11
Field Value
EnabledFieldNumber
Field number for the "enabled" field.
public const int EnabledFieldNumber = 12
Field Value
InputTypeFieldNumber
Field number for the "input_type" field.
public const int InputTypeFieldNumber = 1
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 2
Field Value
ParticipantIdentityFieldNumber
Field number for the "participant_identity" field.
public const int ParticipantIdentityFieldNumber = 4
Field Value
ParticipantMetadataFieldNumber
Field number for the "participant_metadata" field.
public const int ParticipantMetadataFieldNumber = 10
Field Value
ParticipantNameFieldNumber
Field number for the "participant_name" field.
public const int ParticipantNameFieldNumber = 5
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 3
Field Value
UrlFieldNumber
Field number for the "url" field.
public const int UrlFieldNumber = 9
Field Value
VideoFieldNumber
Field number for the "video" field.
public const int VideoFieldNumber = 7
Field Value
Properties
Audio
public IngressAudioOptions Audio { get; set; }
Property Value
BypassTranscoding
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use enable_transcoding instead.
[Obsolete]
public bool BypassTranscoding { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EnableTranscoding
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding.
public bool EnableTranscoding { get; set; }
Property Value
Enabled
The default value is true and when set to false, the new connection attempts will be rejected
public bool Enabled { get; set; }
Property Value
HasEnableTranscoding
Gets whether the "enable_transcoding" field is set
public bool HasEnableTranscoding { get; }
Property Value
HasEnabled
Gets whether the "enabled" field is set
public bool HasEnabled { get; }
Property Value
InputType
public IngressInput InputType { get; set; }
Property Value
Name
User provided identifier for the ingress
public string Name { get; set; }
Property Value
Parser
public static MessageParser<CreateIngressRequest> Parser { get; }
Property Value
- MessageParser<CreateIngressRequest>
ParticipantIdentity
publish as participant
public string ParticipantIdentity { get; set; }
Property Value
ParticipantMetadata
metadata associated with the publishing participant
public string ParticipantMetadata { get; set; }
Property Value
ParticipantName
name of publishing participant (used for display only)
public string ParticipantName { get; set; }
Property Value
RoomName
room to publish to
public string RoomName { get; set; }
Property Value
Url
Where to pull media from, only for URL input type
public string Url { get; set; }
Property Value
Video
public IngressVideoOptions Video { get; set; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearEnableTranscoding()
Clears the value of the "enable_transcoding" field
public void ClearEnableTranscoding()
ClearEnabled()
Clears the value of the "enabled" field
public void ClearEnabled()
Clone()
Creates a deep clone of this object.
public CreateIngressRequest Clone()
Returns
- CreateIngressRequest
A deep clone of this object.
Equals(CreateIngressRequest)
public bool Equals(CreateIngressRequest other)
Parameters
otherCreateIngressRequest
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(CreateIngressRequest)
Merges the given message into this one.
public void MergeFrom(CreateIngressRequest other)
Parameters
otherCreateIngressRequest
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.