After disconnecting a session the Publisher continues to capture images from the camera and the camera indicator in the status bar continues to show.
- Vonage Video API
- Android Client SDK
If you require the publisher to stop on session disconnect you should use Session's onDisconnected() or Publisher's onStreamDestroyed() events to stop the publisher by calling:
If you wish to re-use the publisher after calling this method you can use:
This behaviour is by design. It allows for more control over the captured video and audio streams. The Publisher and Session objects are separate entities.
You can find more information on these functions and attributes in the Android SDK documentation.
Also, our Developer Centre has additional resources and tutorials.