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-csharp |
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 Provide Cart Catptions. 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)
- .NET 6.0 SDK.
# determine dotnet version dotnet --version
- 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 into the bot.
git clone https://github.com/OfficeDev/Microsoft-Teams-Samples.git
- File -> Open -> Project/Solution
- Navigate to folder where repository is cloned then
samples/meeting-live-caption/csharp/MeetingLiveCaption.sln
- Open ngrok and run command
ngrok http -host-header=rewrite 3978
- Once started you should see link
https://41ed-abcd-e125.ngrok.io
. Copy it, this is your baseUrl that will used as endpoint for Azure bot.
-
Modify the
manifest.json
in the/AppPackage
folder and replace the following details:{{AppId}}
with any guid id value.{{domain-name}}
with base Url domain. E.g. if you are using ngrok it would behttps://1234.ngrok.io
then your domain-name will be1234.ngrok.io
.
-
Zip the contents of
AppPackage
folder into amanifest.zip
, and use themanifest.zip
to deploy in app store or add to Teams using step 6. -
Upload the manifest.zip to Teams (in the Apps view click "Upload a custom app")
- Go to Microsoft Teams and then go to side panel, select Apps
- Choose Manage your apps -> Upload an app -> Upload a custom App
- Go to your project directory, the ./AppPackage folder, select the zip folder, and choose Open.
- Select Add in the pop-up dialog box. Your app is uploaded to Teams.
NOTE: If you are not able to send caption, try configuring tab again.