Skip to content

Latest commit

 

History

History
 
 
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.
office-teams
office
office-365
nodejs
javascript
contentType createdDate
samples
06/24/2022 12:00:00 AM
officedev-microsoft-teams-samples-meetings-live-caption-nodejs

Meeting side panel application uses CART link to send caption in live meeting.

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.

Enable CART Captions

Once the meeting is scheduled. Follow this doc to enable CART Captions. Copy the CART link it will used while configuring tab for meeting.

Key features

Key Features

Prerequisites

  • 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.

To try this sample

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.

1. Clone and start your sample sample

  1. Clone the repository

    git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
  2. In a terminal, navigate to samples/meetings-live-caption/nodejs

  3. Install modules

    npm install
  4. Run ngrok - point to port 3978

    ngrok http -host-header=rewrite 3978
  5. Run your app

    npm start

2. Manually update the manifest.json

  1. Manually update the manifest.json
    • Edit the manifest.json contained in the appPackage/ 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 a manifest.zip
    • Upload the manifest.zip to Teams (in the left-bottom Apps view, click "Manage your apps -> Upload an app -> Upload a custom app")

NOTE: If you are unable to send caption, try configuring tab again.

Features of the sample.

  1. Schedule the meeting and add Meeting Caption Tab in that particular scheduled meeting. Add Tab
  2. Once meeting started, turn on live caption. Start live caption
  3. Once the live caption has started, you can use the app to send live caption. Send live caption
  4. After clicking on Submit button, you will see the caption in the meeting. Caption in meeting