How to Use Own JavaScript Bundle CallComposite.js to Join a Teams Meeting as Teams User
I am trying to use callComposite.js (https://azure.github.io/communication-ui-library/?path=/docs/composites-build-your-own-javascript-bundle--docs) to join a teams meeting as a Teams user. I can successfully join the meeting as an external user but need to join the meeting from my own teams account.
I have followed the documentation and created the necessary token and I can successfully join the meeting as a Teams user in here https://azure.github.io/communication-ui-library/?path=/story/composites-callcomposite-join-existing-call-as-teams-user--join-existing-call-as-teams-user
I just need to know how to adjust following set of code line to join the meeting as a teams user
const callAdapter = await callComposite.loadCallComposite(
{
locator: { meetingLink: this.meetingURL },
userId: { microsoftTeamsUserId: this.teamsUserIdentifier.RawId },
token: this.accessToken,
options: {
}
},
document.getElementById('call-container'),
{
}
);