![]() Switching in the channel from custom video capture by Push to SDK capture is not supported.If you capture video frames in Push mode and need to enable local preview, you must use a custom video renderer. Video frames captured in Push mode cannot be rendered by the SDK.After implementing video capture using the custom video source, call the pushVideoFrame method to send the captured video frames to the SDK. Push mode: In this mode, call the setExternalVideoSource method to specify the custom video source.The Agora Native SDK provides the following two modes for customizing the video source: You can view the source code on Github or download the project to try it out. Sample projectĪgora provides the following open-source sample projects on GitHub: For details, see Start a Video Call or Start Live Interactive Video Streaming. This article describes how to do so using the Agora Native SDK.īefore proceeding, ensure that you have implemented the basic real-time communication functions in your project. You need flexible device resource allocation to avoid conflicts with other services.Īgora provides a solution to enable a custom video source and/or renderer in the above scenarios.You need to process the captured video with a pre-processing library for functions such as image enhancement.You want to use a non-camera source, such as recorded screen data.However, these default modules might not meet your development requirements, such as in the following scenarios: Generally, Agora SDKs use default video modules for capturing and rendering in real-time communications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |