pip install flask
CUSTOMER_KEY = "<--Agora Customer Key-->"
CUSTOMER_SECRET = "<--Agora Customer Secret-->"
TEMP_TOKEN = "<--Agora Temporary Token-->"
APP_ID = "<--Agora App ID-->"
SECRET_KEY = "<--Cloud Service Secret Key-->"
ACCESS_KEY = "<--Cloud Service Access Key-->"
BUCKET_NAME = "<--Cloud Service Bucket Name-->"
You can learn about creating your Customer Key and Secret here
python -m flask run
/start-recording/<--Channel Name-->
{sid: <--SID Value-->, resource_id: <--Resource ID Value-->}
/stop-recording/<--Channel Name-->/<--SID-->/<--Resource ID-->
/start-transcribing/<--Channel Name-->
{taskId: <--Task ID Value-->, builderToken: <--Builder Token Value-->}
/start-transcribing/<--Channel Name-->/<--Task ID-->/<--Builder Token-->
Once you have the server working properly, within your application you can access the generated text using the onStreamMessage
. This will come in random numbers, but you can decipher what that means using Google Protocol Buffers