Table of Contents

Class AudioConnectorClient

Namespace
Vonage.Video.AudioConnector
Assembly
Vonage.dll

Represents a client exposing Audio Connector features.

public class AudioConnectorClient
Inheritance
AudioConnectorClient
Inherited Members

Methods

StartAsync(Result<StartRequest>)

Sends audio from a Vonage Video API session to a WebSocket.

public Task<Result<StartResponse>> StartAsync(Result<StartRequest> request)

Parameters

request Result<StartRequest>

The request.

Returns

Task<Result<StartResponse>>

A success state with the archive if the operation succeeded. A failure state with the error message if it failed.

Examples

var request = StartRequest.Build()
    .WithApplicationId(applicationId)
    .WithSessionId(sessionId)
    .WithToken(token)
    .WithUrl(new Uri("wss://example.com/audio"))
    .Create();
var result = await client.VideoClient.AudioConnectorClient.StartAsync(request);