callkeep icon indicating copy to clipboard operation
callkeep copied to clipboard

callkeep example with any RTC/VOIP like agora.io

Open viztushar opened this issue 4 years ago • 8 comments

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

viztushar avatar Aug 19 '21 06:08 viztushar

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

Have you implemented it?

hmarat avatar Aug 28 '21 08:08 hmarat

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

Please Have you been able to implement this

devDonald avatar Sep 04 '21 16:09 devDonald

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

Please Have you been able to implement this

Yes, maybe it's not right way but I have directly implemented the agora code into CallKeep.

viztushar avatar Sep 05 '21 13:09 viztushar

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

Please Have you been able to implement this

Yes, maybe it's not right way but I have directly implemented the agora code into CallKeep.

Please, can you guide me on how to do it. Or maybe some code sample

devDonald avatar Sep 05 '21 13:09 devDonald

please provide Callkeep example with any RTC/VOIP like agora.io. so that we can understand much batter how the callkeep implement works.

thanks.

Please Have you been able to implement this

Yes, maybe it's not right way but I have directly implemented the agora code into CallKeep.

Can you please share your solution? Thanks

benyaminbeyzaie avatar Sep 18 '21 09:09 benyaminbeyzaie

@devDonald @benyaminbeyzaie

as i said this is maybe not right way but it get job done

first declare agora variable(callkeep.h) and in callkeep.pod file Screenshot 2021-09-22 at 2 44 17 PM

(callkeep.m) step 1: - initialize agora with key Screenshot 2021-09-22 at 2 43 55 PM

step 2: get data from firebase or voip push and save to the NSUserDefaults in ios and shared preferences in android using method channel

Screenshot 2021-09-22 at 2 38 39 PM

step 3: create one more method if you want to use those firebase and voip push data into flutter called "getData" this will return the all the save data(above)

Screenshot 2021-09-22 at 2 38 54 PM

step 4: if user answer the call then init data with agora

Screenshot 2021-09-22 at 2 40 01 PM

end call Screenshot 2021-09-22 at 2 40 09 PM

and if user leave the channel Screenshot 2021-09-22 at 2 40 45 PM

viztushar avatar Sep 22 '21 09:09 viztushar

Are these swift code or objective C?

bihim avatar Jul 22 '22 15:07 bihim

Are these swift code or objective C?

Objective c

viztushar avatar Jul 22 '22 16:07 viztushar