OpenTok, How to switch publisher source from screen capturer to camera and vice versa?
问题 I am trying to implement the feature that allows to switch between screen sharing capture and camera in the middle of the video session in an Android app. I use OpenTok SDK 2.5 for Android. I have researched OpenTok examples (OpenTok samples) and figured they show only one feature per program sample. Question: Should code supply two Publishers (one equipped with Camera and one with Screensharing capturer) and switch them, for example session.unpublish(); if (currentIsCamera) { session.publish