The individual files are stored under the directory ChannelName_HHMMSS. The recorded files are stored in a new directory yyyy_mm_dd (Date) created for each day the recording server is run. recorder_local -appId -uid 0 -channel -appliteDir Agora_Recording_SDK_for_Linux_FULL/bin/ Step 4 Start the recording by running the below command in the samples/cpp directory. It also requires the channel name to connect to the right stream and a directory path appliteDir to save the recordings. Setting it as 0 will assign a random uid. Step 3Īt this point, we need to log into our Agora.io developer account and create a new AppID or select an existing on an app_idfor the project.Īs the Recording SDK works by joining the call as a silent client, it requires a uid. This will create a new file recorder_local. Run the make command under the samples/cpp directory. ├── bin │ └── AgoraCoreService ├── include │ ├── base │ │ ├── atomic.h │ │ ├── log.h │ │ └── mutexer.h │ ├── IAgoraLinuxSdkCommon.h │ └── IAgoraRecordingEngine.h ├── libs │ └── librecorder.a ├── samples │ ├── agorasdk │ │ ├── AgoraSdk.cpp │ │ ├── AgoraSdk.h │ │ └── AgoraSdk.o │ ├── base │ │ ├── opt_parser.cpp │ │ ├── opt_parser.h │ │ └── opt_parser.o │ ├── cpp │ │ ├── main.cpp │ │ ├── main.o │ │ ├── Makefile │ │ ├── recorder_local │ │ └── release │ └── java │ ├── build.sh │ ├── native │ ├── Readme │ └── src └── tools ├── └── video_convert.py 13 directories, 21 files Step 2Ĭompile the code. The directory structure is as shown below. The Recording SDK is currently available on a Linux server running Ubuntu Linux 12.04 LTS 64-bit or later and CentOS 6.5 圆4 or later.ĭownload the latest Agora Recording SDK here. I’ll be walking you through the basic setup of the Recording SDK and get a headstart on your project. This provides an amazing dataset for analytics and processing for Machine Learning and Artificial Intelligent algorithms that can make use of the live stream.
The Agora Recording SDK allows developers to create and store a local copy of the video stream.