Marsview
This guide is provided by Marsview. Agora is planning a documentation upgrade program for all extensions on the marketplace. Please stay tuned.
Marsview Speech Analytics is a cloud-hosted or containerized API service that helps you accurately transcribe a conversation and discover insights. It is packed with models for automatic speech recognition (ASR), Intent Recognition, Tone Analysis, Natural Language Classifiers to uncover topics, keywords, entities and sentiments.
Prerequisites
Android
Integrate Marsview Speech Analytics
Please follow the step by step process to implement Marsview Speech Analytics extension with your application
(We are providing code samples written in Java)
Step 1: Unzip file , you will get .ar
file. keep it in your native project.
Step 2: Extension package agoramarketplace.marsview.extension
Step 3: You will get an api key and secret when you create a project with Marsview through Agora.
Step 4: You have to import agoramarketplace.marsview.extension.ExtensionManager;
Step 5: Add the credentials to your file
Step 6: Implement the interface io.agora.rtc2.IMediaExtensionObserver
After enabling RTCEngine
you need to follow the next step:
Step 7: Now you need to pass these variables to enable the extension
Before starting your RTC Streaming you need to enable this:
Step 8: For authentication purpose, we need to pass API credentials to the extension
Step 9: When you want to disable the transcription service, you need to set the following:
Step 10: Mainly 2 events in Marsview extension
-
connectionState
- this event describes the authentication status of the user. when the credentials do not match with the credentials he has received from agora for the extension the connection will fail -
transactionId
- is used to fetch transcribed data from marsview
Run the demo
Sample code as follows:
Reference
Refer to https://docs.marsview.ai/speech-analytics-api/getting-metadata.
Support URL: https://docs.marsview.ai/contact-support.