Struct RtspTransport
Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public struct RtspTransport : IEquatable<Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport>
Constructors
RtspTransport(String)
Determines if two RtspTransport values are the same.
Declaration
public RtspTransport (string value);
Parameters
System.String
value
|
Exceptions
System.ArgumentNullException
|
Properties
Http
HTTP transport. RTSP messages are exchanged over long running HTTP requests and RTP packets are interleaved within the HTTP channel.
Declaration
public static Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport Http { get; }
Property Value
RtspTransport
|
Tcp
TCP transport. RTSP is used directly over TCP and RTP packets are interleaved within the TCP channel.
Declaration
public static Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport Tcp { get; }
Property Value
RtspTransport
|
Methods
Equals(RtspTransport)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals (Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport other);
Parameters
RtspTransport
other
An object to compare with this object. |
Returns
System.Boolean
|
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
[System.ComponentModel.EditorBrowsable]
public override bool Equals (object obj);
Parameters
System.Object
obj
The object to compare with the current instance. |
Returns
System.Boolean
|
GetHashCode()
Returns the hash code for this instance.
Declaration
[System.ComponentModel.EditorBrowsable]
public override int GetHashCode ();
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
ToString()
Returns the fully qualified type name of this instance.
Declaration
public override string ToString ();
Returns
System.String
The fully qualified type name. |
Operators
Equality(RtspTransport, RtspTransport)
Determines if two RtspTransport values are the same.
Declaration
public static bool operator == (Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport left, Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport right);
Parameters
RtspTransport
left
|
RtspTransport
right
|
Returns
System.Boolean
|
Implicit(String to RtspTransport)
Converts a string to a RtspTransport.
Declaration
public static implicit operator Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport (string value);
Parameters
System.String
value
|
Returns
RtspTransport
|
Inequality(RtspTransport, RtspTransport)
Determines if two RtspTransport values are not the same.
Declaration
public static bool operator != (Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport left, Azure.Media.VideoAnalyzer.Edge.Models.RtspTransport right);
Parameters
RtspTransport
left
|
RtspTransport
right
|
Returns
System.Boolean
|