Show / Hide Table of Contents

Class ParticipantExtensions

Extensions for the stateful participant model.

Inheritance
System.Object
ParticipantExtensions
Namespace: Microsoft.Graph.Calls
Assembly: Microsoft.Graph.Calls.dll
Syntax
public static class ParticipantExtensions : object

Methods

View Source

ConfigureMixerAsync(ICallParticipantCollection, Participant, AudioDuckingConfiguration, Nullable<Boolean>, IEnumerable<AudioSourceLevel>, CancellationToken)

Configures the mixer level asynchronously.

Declaration
public static Task ConfigureMixerAsync(this ICallParticipantCollection participantCollection, Participant participant, AudioDuckingConfiguration ducking = null, bool? exclusive = null, IEnumerable<AudioSourceLevel> sourceLevels = null, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICallParticipantCollection participantCollection

The participant collection.

Participant participant

The participant.

AudioDuckingConfiguration ducking

The ducking.

System.Nullable<System.Boolean> exclusive

The exclusive.

IEnumerable<AudioSourceLevel> sourceLevels

The source levels.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task

The .

View Source

InviteAsync(ICallParticipantCollection, IdentitySet, String, String, CancellationToken)

Invites the asynchronous.

Declaration
public static Task InviteAsync(this ICallParticipantCollection participantCollection, IdentitySet identitySet, string replacesCallId = null, string languageId = null, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICallParticipantCollection participantCollection

The participant collection.

IdentitySet identitySet

The identity set.

System.String replacesCallId

The replaces call identifier.

System.String languageId

The participant preferred language id

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task

The

View Source

SubscribeVideoAsync(ICallParticipant, VideoResolutionFormat, Boolean, Int64, CancellationToken)

Subscribes to the participants video stream asynchronously. This ensures that the given video socket supplies us with a given participants video stream.

Declaration
public static Task SubscribeVideoAsync(this ICallParticipant callParticipant, VideoResolutionFormat videoResolution = null, bool isScreenSharing = false, long socketId = null, CancellationToken cancellationToken = null)
Parameters
Type Name Description
ICallParticipant callParticipant

The participant.

VideoResolutionFormat videoResolution

The video resolution.

System.Boolean isScreenSharing

if set to true subscribe to the screen sharing modality.

System.Int64 socketId

The socket identifier.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task

The

  • View Source
Back to top Generated by DocFX