Created
September 29, 2019 09:50
-
-
Save mohsenk/bcd425977908cf5f6f5cfe7bd97f36e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KavenegarCall.getInstance().initCall( | |
callId, accessToken, this, | |
result => { | |
call.setMediaStateChangedEventHandler | |
(this::peerConnectionStateChanged); | |
call.setMessagingStateChangedHandler | |
(this::messagingSateChanged); | |
call.onCallStateChanged(state => | |
{ Log.d("Call state is changed",state);}); | |
call.onCallFinished(reason => | |
{ Log.d("Call state is changed",reason); }); | |
call.onMediaStateChanged(event => | |
{ Log.d("Call state is changed",event); }); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment