1

I tried to implement Connectycube on Android for Video Call, after following instruction from their web including adding their library under app.gradle but when build there an error on VideoConversationFragment.java with msg 'Error:(27, 44) error: cannot find symbol class RTCClientVideoTracksCallback' . Is there any step I missed or any problem?

Thank you On Build Gradle :

implementation 'com.connectycube:connectycube-android-sdk-chat:1.0.2'
implementation 'com.connectycube:connectycube-android-sdk-adding their 
li:1.0.2'
implementation 'com.connectycube:connectycube-android-sdk-storage:1.0.2'
implementation 'com.connectycube:connectycube-android-sdk- 
pushnotifications:1.0.2'

On BaseConversationFragment.java :

 import com.connectycube.videochat.callbacks.RTCClientVideoTracksCallback; 

and this is code where the error comes up.

 public class VideoConversationFragment extends BaseConversationFragment implements Serializable, RTCClientVideoTracksCallback<RTCSession>, RTCSessionStateCallback<RTCSession>, RTCSessionEventsCallback {
7
  • show the code wher you ge tthis error Feb 7, 2019 at 6:15
  • add it to the question and format please Feb 8, 2019 at 6:10
  • This is the code for import import com.connectycube.videochat.callbacks.RTCClientVideoTracksCallback; and this is code where the error comes up. public class VideoConversationFragment extends BaseConversationFragment implements Serializable, RTCClientVideoTracksCallback<RTCSession>, RTCSessionStateCallback<RTCSession>, RTCSessionEventsCallback { Feb 10, 2019 at 6:25
  • add it to the question and format please Don't add to comment Feb 10, 2019 at 10:05
  • Apologize, I don't understand. I'm new in here. @VladyslavMatviienko Feb 11, 2019 at 3:53

1 Answer 1

1

RTCClientVideoTracksCallback belongs to videochat module.

Please make sure that you have added the following dependency:

implementation "com.connectycube:connectycube-android-sdk-videochat:1.0.2"

I do not see it in the list of dependencies in your code. Here is also the guide for your reference.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.