I would need to know if there is any implementation to check if the livevideo stopped
EDIT: Logfile
2020-09-02 13:33:01.985 8585-8623/com.milestonesys.mobilesdk.livevideosample D/VideoChannelThread: Thread for VideoStream '12cc3913-11d6-4766-92f9-3688591bdaea' will be closed.
2020-09-02 13:33:01.985 8585-8623/com.milestonesys.mobilesdk.livevideosample D/VideoChannelThread: Thread for VideoStream '12cc3913-11d6-4766-92f9-3688591bdaea' has been closed!
2020-09-02 13:33:01.985 8585-8622/com.milestonesys.mobilesdk.livevideosample W/System.err: java.util.concurrent.CancellationException
2020-09-02 13:33:01.985 8585-8622/com.milestonesys.mobilesdk.livevideosample W/System.err: at java.util.concurrent.FutureTask.report(FutureTask.java:93)
2020-09-02 13:33:01.985 8585-8622/com.milestonesys.mobilesdk.livevideosample W/System.err: at java.util.concurrent.FutureTask.get(FutureTask.java:164)
2020-09-02 13:33:01.985 8585-8622/com.milestonesys.mobilesdk.livevideosample W/System.err: at com.milestonesys.xpmobilesdk.communication.VideoChannelThread.run(VideoChannelThread.java:278)
The next Mobile SDK release (2020R3) will make it possible to detect camera connection lost by checking for specific flag in the receiveVideo function.