Agora RTC Tool for OBS Studio.
Using it for video chat in real time. This plugin is depended agora sdk.
This pulugin just publishes a selected camera video.
You can get details about agora sdk from agora.io
Running the tool:
-
Register an agora account, you can get an APPID.
-
To startup Agora RTC Tool, open the "Agora RTC Tool" dialog under OBS' "Tools" menu.
-
Initialize agora settings including fill appid, channel name and uid, before running the tool first time.
-
Then you can start to publish stream to Agora SDK.
-
If you want to publish stream to rtmp server after start agora streaming, you need to stop obs studio to publish stream to the same url.
-
If agora sdk and obs studio use the same camera, the tool will make obs studio to stop using it. Enable obs studio to use camera after stop agora streaming.
You can install release setup directly corresponding to OBS Stduio version.
- agora-tool-ui for windows (26.1 and later)
-
Download dependencies
download deps, After unzip deps.zip, copy deps to folder agora-tool-ui.If you need update agora sdk, donwload lastes version agora sdk. Unzip sdk file, replace corresponding files under deps/Agora folder. If ther version is a big update. For example the agora sdk interface used by plugin changed, you need adapt to the new version sdk.
-
You'll need Qt 5.14.2, CMake and a working OBS Studio development environment installed on your computer.
In cmake-gui, you'll have to set the following variables :
- QTDIR (path) : location of the Qt environment suited for your compiler and architecture
- LIBOBS_INCLUDE_DIR (path) : location of the libobs subfolder in the source code of OBS Studio
- LIBOBS_LIB (filepath) : location of the libobs project
- OBS_FRONTEND_LIB (filepath) : location of the obs-frontend-api project
For example, if the build directory is located in obs-studio src directory, named build64.
- LIBOBS_INCLUDE_DIR is obs-studio/libobs
- LIBOBS_LIB is obs-studio/build64/libobs,
- OBS_FRONTEND_LIB is obs-studio/build64/UI/obs-frontend-api.
After configure camke, you get an variable LibObs_DIR, make sure its value is obs-studio/build64/libobs.
Compile obs studio first, before you compile agora tool ui plugin. Reference obs studio compile document.
Use cmake-gui, set variable first:
- QTDIR : Use the right version qt corresponding to conpiler, sucha as /usr/local/Cellar/qt/5.15.2/lib/cmake/Qt5
- LIBOBS_INCLUDE_DIR : the path libobs in obs studio source code path.
- LIBOBS_LIB: libobs path
- OBS_FRONTEND_LIB : obs-frontend-api path, such as:obs-studio/UI/obs-frontend-api
For example, obs source code path is obs-studio, build path is obs-studio/build64.
- LIBOBS_INCLUDE_DIR value is obs-studio/build/libobs
- LIBOBS_LIB value is obs-studio/build/libobs,
- OBS_FRONTEND_LIB value is obs-studio/build/UI/obs-frontend-api.
Click configure on cmake-gui, then you get a variable LibObs_DIR. Make sure the value is obs-studio/build/libobs.
1 Startup obs
2 Select "Agora Rtc Tool" in Tool menu.Then pop up a dialog.
3 Click settings, then setup basic information
4 You can also download and fill a configure file, then load the configure file. AgoraObs.zip
5 Configure file include:
- appid
- token
- channel name
- uid
- rtmp url