I have gone through OpenTok Android Tutorial . In this tutorial both, Publisher and Subscriber are the same user. How can I subscribe another user to this Session? In other words, How can I connect 2 different android devices?
If you see OpenTokConfig.java file in the sample apps, you would notice a field
public static final boolean SUBSCRIBE_TO_SELF = true;
Set this property to false and then use the same token and sessionId in another android device to communicate.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.