The default Agora video module interacts seamlessly with the devices your app runs on. The SDK enables you to add specialized video features to your app using custom video renderers.
By default, SDK integrates the default video modules on the device your app runs on for real-time communication. However, there are scenarios where you may want to integrate a custom video renderer. For example:
To manage the processing and display of video frames when using a custom video renderer, use methods from outside the Agora SDK.
The rotation parameter of the video frames in
renderRawData may not be 0. This is probably due to the settings of video capturing, and you need to process the rotation information yourself.
Before implementing custom video rendering, ensure that you have implemented the raw video data function in your project. For details, see Raw video Data.
To implement a custom video renderer in your project, refer to the following steps.
This section includes in depth information about the methods you used in this page, and links to related pages.
Agora provides an open-source sample project on GitHub.