Delen via


CallMedia Class

Definition

The Azure Communication Services Call Media Client.

public class CallMedia
type CallMedia = class
Public Class CallMedia
Inheritance
CallMedia

Constructors

CallMedia()

Initializes a new instance of CallMedia for mocking.

Properties

CallConnectionId

The call connection id.

Methods

CancelAllMediaOperations(CancellationToken)

Cancel any media operation to all participants.

CancelAllMediaOperationsAsync(CancellationToken)

Cancel any media operation to all participants.

Hold(CommunicationIdentifier, CancellationToken)

Hold participant from the call.

Hold(CommunicationIdentifier, PlaySource, CancellationToken)

Hold participant from the call.

Hold(HoldOptions, CancellationToken)

Hold participant from the call.

HoldAsync(CommunicationIdentifier, CancellationToken)

Hold participant from the call.

HoldAsync(CommunicationIdentifier, PlaySource, CancellationToken)

Hold participant from the call.

HoldAsync(HoldOptions, CancellationToken)

Hold participant from the call.

Play(IEnumerable<PlaySource>, IEnumerable<CommunicationIdentifier>, CancellationToken)

Plays a file.

Play(PlayOptions, CancellationToken)

Plays audio to specified participant(s).

Play(PlaySource, IEnumerable<CommunicationIdentifier>, CancellationToken)

Plays a file.

PlayAsync(IEnumerable<PlaySource>, IEnumerable<CommunicationIdentifier>, CancellationToken)

Plays audio to specified participant(s) async.

PlayAsync(PlayOptions, CancellationToken)

Plays audio to specified participant(s) async.

PlayAsync(PlaySource, IEnumerable<CommunicationIdentifier>, CancellationToken)

Plays audio to specified participant(s) async.

PlayToAll(IEnumerable<PlaySource>, CancellationToken)

Play to all participants.

PlayToAll(PlaySource, CancellationToken)

Play to all participants.

PlayToAll(PlayToAllOptions, CancellationToken)

Play audio to all participants.

PlayToAllAsync(IEnumerable<PlaySource>, CancellationToken)

Play to all participants async.

PlayToAllAsync(PlaySource, CancellationToken)

Play to all participants async.

PlayToAllAsync(PlayToAllOptions, CancellationToken)

Play audio to all participants async.

SendDtmfTones(IEnumerable<DtmfTone>, CommunicationIdentifier, CancellationToken)

Send Dtmf tones.

SendDtmfTones(SendDtmfTonesOptions, CancellationToken)

Send Dtmf tones with sendDtmfTonesOptions and configurations.

SendDtmfTonesAsync(IEnumerable<DtmfTone>, CommunicationIdentifier, CancellationToken)

Send Dtmf tones in async mode.

SendDtmfTonesAsync(SendDtmfTonesOptions, CancellationToken)

Send Dtmf tones in async mode with sendDtmfTonesOptions and configurations.

StartContinuousDtmfRecognition(CommunicationIdentifier, CancellationToken)

Starts continuous Dtmf recognition.

StartContinuousDtmfRecognition(ContinuousDtmfRecognitionOptions, CancellationToken)

Starts continuous Dtmf recognition with continuousDtmfRecognition options and configurations.

StartContinuousDtmfRecognitionAsync(CommunicationIdentifier, CancellationToken)

Starts continuous Dtmf recognition in async mode.

StartContinuousDtmfRecognitionAsync(ContinuousDtmfRecognitionOptions, CancellationToken)

Starts continuous Dtmf recognition in async mode with continuousDtmfRecognition options and configurations.

StartMediaStreaming(StartMediaStreamingOptions, CancellationToken)

Starts media streaming in the call.

StartMediaStreamingAsync(StartMediaStreamingOptions, CancellationToken)

Starts media streaming in the call.

StartRecognizing(CallMediaRecognizeOptions, CancellationToken)

Recognize tones.

StartRecognizingAsync(CallMediaRecognizeOptions, CancellationToken)

Recognize tones.

StartTranscription(StartTranscriptionOptions, CancellationToken)

Starts transcription in the call.

StartTranscriptionAsync(StartTranscriptionOptions, CancellationToken)

Starts transcription in the call.

StopContinuousDtmfRecognition(CommunicationIdentifier, CancellationToken)

Stops continuous Dtmf recognition.

StopContinuousDtmfRecognition(ContinuousDtmfRecognitionOptions, CancellationToken)

Stops continuous Dtmf recognition with continuousDtmfRecognition options and configurations.

StopContinuousDtmfRecognitionAsync(CommunicationIdentifier, CancellationToken)

Stops continuous Dtmf recognition in async mode.

StopContinuousDtmfRecognitionAsync(ContinuousDtmfRecognitionOptions, CancellationToken)

Stops continuous Dtmf recognition in async mode with continuousDtmfRecognition options and configurations.

StopMediaStreaming(StopMediaStreamingOptions, CancellationToken)

Stops media streaming in the call.

StopMediaStreamingAsync(StopMediaStreamingOptions, CancellationToken)

Stops media streaming in the call.

StopTranscription(StopTranscriptionOptions, CancellationToken)

Stops transcription in the call.

StopTranscriptionAsync(StopTranscriptionOptions, CancellationToken)

Stops transcription in the call.

Unhold(CommunicationIdentifier, CancellationToken)

Remove hold from participant.

Unhold(UnholdOptions, CancellationToken)

Remove hold from participant.

UnholdAsync(CommunicationIdentifier, CancellationToken)

Remove hold from participant.

UnholdAsync(UnholdOptions, CancellationToken)

Remove hold from participant.

UpdateTranscription(String, CancellationToken)

API to change transcription language.

UpdateTranscription(UpdateTranscriptionOptions, CancellationToken)

API to change transcription language.

UpdateTranscriptionAsync(String, CancellationToken)

API to change transcription language.

UpdateTranscriptionAsync(UpdateTranscriptionOptions, CancellationToken)

API to change transcription language.

Applies to