Skip to content

Commit 3f3e156

Browse files
authored
Update voice-video-calling-cte-windows.md
1 parent 22a6eaa commit 3f3e156

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/custom-teams-endpoint/voice-video-calling-cte-windows.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,16 @@ Once a `StartTeamsCallOptions` object is obtained, `TeamsCallAgent` can be used
301301
this.teamsCallAgent.IncomingCallReceived += OnIncomingCallAsync;
302302
```
303303

304+
## Join a Teams Call
305+
306+
User can also join an existing call by passing a link
307+
308+
```c#
309+
TeamsMeetingLinkLocator link = new TeamsMeetingLinkLocator("meetingLink");
310+
JoinTeamsCallOptions options = new JoinTeamsCallOptions();
311+
TeamsCall call = await teamsCallAgent.JoinAsync(link, options);
312+
```
313+
304314
Application has an opportunity to configure how the incoming call should be accepted, such as video and audio stream kinds.
305315
```C#
306316
private async void OnIncomingCallAsync(object sender, TeamsIncomingCallReceivedEventArgs args)

0 commit comments

Comments
 (0)