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.
Comments
Post a Comment