android - Telephone with OpenTok -


we developing voip app , want switch tokbox library.

ours telephone app viber specific audience. need app behave telephone app. user makes call, receiver hears phone ringing, picks call , hangs when done talking. find lot of resources on tokbox online (for android , ios) couldn't find info on telephone library. can point me right direction or explain things little bit.

thanks in advance.

to implement mobile telephony app (like viber) user calls user b need couple of pieces in addition tokbox platform.

first need make use of standard apple&google push notifications initiate call b. example can use google's service [1]. typically send http request server initiate call b , server use google api send push notification b.

at same time server should generate tokbox sessionid call , send sessionid , token user a. user can use them connect tokbox session , start publishing while waiting b join it.

when b receives notification can alert user (ringing tone) , present ui want him. when b accepts call can make http request server sessionid , token call (that sessionnid , token come in initial push notification) , join it.

at point have both users (a , b) connected same tokbox session, publishing audio&video , subscribing other stream, have bidirectional audio+video call.

[1] https://firebase.google.com/docs/cloud-messaging/


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -