Class IngressInfo
public sealed class IngressInfo : IMessage<IngressInfo>, IEquatable<IngressInfo>, IDeepCloneable<IngressInfo>, IBufferMessage, IMessage
- Inheritance
-
IngressInfo
- Implements
-
IMessage<IngressInfo>IDeepCloneable<IngressInfo>IBufferMessageIMessage
- Inherited Members
Constructors
IngressInfo()
public IngressInfo()
IngressInfo(IngressInfo)
public IngressInfo(IngressInfo other)
Parameters
otherIngressInfo
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 = 13
Field Value
EnableTranscodingFieldNumber
Field number for the "enable_transcoding" field.
public const int EnableTranscodingFieldNumber = 15
Field Value
EnabledFieldNumber
Field number for the "enabled" field.
public const int EnabledFieldNumber = 16
Field Value
IngressIdFieldNumber
Field number for the "ingress_id" field.
public const int IngressIdFieldNumber = 1
Field Value
InputTypeFieldNumber
Field number for the "input_type" field.
public const int InputTypeFieldNumber = 5
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 = 9
Field Value
ParticipantMetadataFieldNumber
Field number for the "participant_metadata" field.
public const int ParticipantMetadataFieldNumber = 14
Field Value
ParticipantNameFieldNumber
Field number for the "participant_name" field.
public const int ParticipantNameFieldNumber = 10
Field Value
ReusableFieldNumber
Field number for the "reusable" field.
public const int ReusableFieldNumber = 11
Field Value
RoomNameFieldNumber
Field number for the "room_name" field.
public const int RoomNameFieldNumber = 8
Field Value
StateFieldNumber
Field number for the "state" field.
public const int StateFieldNumber = 12
Field Value
StreamKeyFieldNumber
Field number for the "stream_key" field.
public const int StreamKeyFieldNumber = 3
Field Value
UrlFieldNumber
Field number for the "url" field.
public const int UrlFieldNumber = 4
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
[Obsolete]
public bool BypassTranscoding { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EnableTranscoding
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
IngressId
public string IngressId { get; set; }
Property Value
InputType
for RTMP input, it'll be a rtmp:// URL for FILE input, it'll be a http:// URL for SRT input, it'll be a srt:// URL
public IngressInput InputType { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static MessageParser<IngressInfo> Parser { get; }
Property Value
- MessageParser<IngressInfo>
ParticipantIdentity
public string ParticipantIdentity { get; set; }
Property Value
ParticipantMetadata
public string ParticipantMetadata { get; set; }
Property Value
ParticipantName
public string ParticipantName { get; set; }
Property Value
Reusable
public bool Reusable { get; set; }
Property Value
RoomName
public string RoomName { get; set; }
Property Value
State
Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth)
public IngressState State { get; set; }
Property Value
StreamKey
public string StreamKey { get; set; }
Property Value
Url
URL to point the encoder to for push (RTMP, WHIP), or location to pull media from for pull (URL)
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 IngressInfo Clone()
Returns
- IngressInfo
A deep clone of this object.
Equals(IngressInfo)
public bool Equals(IngressInfo other)
Parameters
otherIngressInfo
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(IngressInfo)
Merges the given message into this one.
public void MergeFrom(IngressInfo other)
Parameters
otherIngressInfo
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.