API-Examples icon indicating copy to clipboard operation
API-Examples copied to clipboard

How to use IVideoSource in agora 4.2.6

Open krunalpaliwal opened this issue 5 months ago • 3 comments

In the older version of Agora, I use the IVideoSource to set the custom video frames but when I upgrade the version of Agora there is no such method. What is the alternative way to use the same? I am using Android version of implementation 'io.agora.rtc:full-sdk:4.2.6'

krunalpaliwal avatar Feb 05 '24 13:02 krunalpaliwal

hi @krunalpaliwal please follow the guide in https://github.com/AgoraIO/API-Examples/tree/main/iOS/APIExample/APIExample/Examples/Advanced/CustomVideoSourcePush to understand how to implement custom video source.

plutoless avatar Feb 07 '24 10:02 plutoless

@plutoless Thank you. CustomVideo is not the issue for me. The version I used is 4.2.6 this method is not available. Now, I have to upgrade to the new version but due to this, I couldn't.

krunalpaliwal avatar Feb 07 '24 10:02 krunalpaliwal

@plutoless the iVideoSource has been removed in 4.x SDK. it's recommended to use push approach to implement custom video source

plutoless avatar Feb 07 '24 13:02 plutoless