page_type | description | products | languages | extensions | urlFragment | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sample |
This is a sample application which demonstrates how to use CART link to send live captions in the meeting. |
|
|
|
officedev-microsoft-teams-samples-meetings-live-caption-nodejs |
This is a sample meeting side panel application which demonstrates how to enable live caption in the meeting and using the CART link how to send caption in live meeting. Meeting side panel application uses CART link to send caption in live meeting.
Once the meeting is scheduled. Follow this doc to enable CART Captions. Copy the CART link it will used while configuring tab for meeting.
- Microsoft Teams is installed and you have an account (not a guest account)
- NodeJS
- ngrok or equivalent tunneling solution
- M365 developer account or access to a Teams account with the appropriate permissions to install an app.
Note these instructions are for running the sample on your local machine, the tunnelling solution is required because the Teams service needs to call the tab.
-
Clone the repository
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
-
In a terminal, navigate to
samples/meetings-live-caption/nodejs
-
Install modules
npm install
-
Run ngrok - point to port 3978
ngrok http -host-header=rewrite 3978
-
Run your app
npm start
- Manually update the manifest.json
- Edit the
manifest.json
contained in theappPackage/
folder to replace the<<AppId>>
with any guid value and<<APP-DOMAIN>>
with with base Url domain. E.g. if you are using ngrok it would be `https://1234.ngrok. - Zip up the contents of the
appPackage/
folder to create amanifest.zip
- Upload the
manifest.zip
to Teams (in the left-bottom Apps view, click "Manage your apps -> Upload an app -> Upload a custom app")
- Edit the
NOTE: If you are unable to send caption, try configuring tab again.