onDisconnected not called SubscriberListener
tstefanovska opened this issue · 1 comments
tstefanovska commented
Describe the bug
onDisconnected callback from SubscriberListener not fired when subscriber disconnects from session.
To Reproduce
Disconnect from session with subscriber.
Expected behavior
onDisconnected should be called.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please compete the following information):
- sessionId, if applicable:
- Android SDK version:
- OS and version: Android 11
jintgeorge commented
Hello @tstefanovska
/**
* From 2.17.0 on, this callback won't be invoked. When a subscriber disconnects from the
* session, the {@link Session.SessionListener#onStreamDropped} callback will be invoked.
*/
@deprecated
protected void onDisconnected() {
}