VoiceAgentTransport Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The transport used for a voice-agent connection.
public readonly struct VoiceAgentTransport : IEquatable<Azure.AI.Projects.Agents.VoiceAgentTransport>
type VoiceAgentTransport = struct
Public Structure VoiceAgentTransport
Implements IEquatable(Of VoiceAgentTransport)
- Inheritance
-
VoiceAgentTransport
- Implements
Constructors
| Name | Description |
|---|---|
| VoiceAgentTransport(String) |
Initializes a new instance of VoiceAgentTransport. |
Properties
| Name | Description |
|---|---|
| Webrtc |
WebRTC: the WebSocket carries only SDP signaling; media and the data channel are peer-to-peer. |
| Websocket |
Signaling and audio are exchanged as JSON events over the WebSocket. This is the default. |
Methods
| Name | Description |
|---|---|
| Equals(VoiceAgentTransport) |
Indicates whether the current object is equal to another object of the same type. |
| ToString() |
Returns the fully qualified type name of this instance. |
Operators
| Name | Description |
|---|---|
| Equality(VoiceAgentTransport, VoiceAgentTransport) |
Determines if two VoiceAgentTransport values are the same. |
| Implicit(String to Nullable<VoiceAgentTransport>) | |
| Implicit(String to VoiceAgentTransport) |
Converts a string to a VoiceAgentTransport. |
| Inequality(VoiceAgentTransport, VoiceAgentTransport) |
Determines if two VoiceAgentTransport values are not the same. |