# Scene Change Listener - SDK 5.7

**URL:** <https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309>\
**Category:** Android\
**Created:** [October 3, 2021, 1:16am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309 "2021-10-03T01:16:38Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![casmeiron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/casmeiron/32/25364_2.png) [@casmeiron](https://devforum.zoom.us/u/casmeiron)\
**Post date:** [October 3, 2021, 1:16am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/1 "2021-10-03T01:16:38Z")

</div>

Hi guys,

On the previous version (5.0), we had a listener that was invoked when user changed his scene (active talker, gallery view) but on the newest version it seems the listener was removed.

Is there any other way to listen for user’s scene changes?  
Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 4, 2021, 8:41pm UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/2 "2021-10-04T20:41:15Z")

</div>

Hi @casmeiron, thanks for the post.

Can you please clarify around which method you were using in the older version of the SDK for this?

Thanks!

---

<div class="post-metadata">

**Author:** ![casmeiron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/casmeiron/32/25364_2.png) [@casmeiron](https://devforum.zoom.us/u/casmeiron)\
**Post date:** [October 5, 2021, 12:03am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/3 "2021-10-05T00:03:32Z")

</div>

Hi Jon,

The method was available on MeetingActivity class so I was doing something like this:

@RequiresApi( api = Build.VERSION\_CODES.N )  
@Override  
public void onVideoSceneChanged( AbsVideoScene fromScene, AbsVideoScene toScene ) {  
Timber.d( “|MeetingActivity| - |onVideoSceneChanged| - Changing from scene [%s] to [%s]”, fromScene, toScene );

```
    super.onVideoSceneChanged( fromScene, toScene );
}
```

---

<div class="post-metadata">

**Author:** ![casmeiron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/casmeiron/32/25364_2.png) [@casmeiron](https://devforum.zoom.us/u/casmeiron)\
**Post date:** [October 8, 2021, 2:11am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/4 "2021-10-08T02:11:42Z")

</div>

Hey @jon.zoom, any thoughts?  
I found out that when we’re on GALLERY VIEW and raise our hand, zoom changes the video scene to ACTIVE TALKER and our app is never notified about that cause the mentioned listener doesn’t exists anymore, I really hope you can help us out.

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 8, 2021, 5:59pm UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/5 "2021-10-08T17:59:30Z")

</div>

Hi @casmeiron,

We have determined that this method was removed from `MeetingActivity` in 5.7.6, but was not included in our release notes. We apologize for any inconvenience that this has caused. There is currently not an alternative solution available, but we are investigating adding a replacement.

> I found out that when we’re on GALLERY VIEW and raise our hand, zoom changes the video scene to ACTIVE TALKER

I was not able to reproduce this behavior, and I do not believe this is intentional. Can you please provide a screen recording so that I can verify I’m taking the same steps to reproduce as you?

Thanks!

---

<div class="post-metadata">

**Author:** ![casmeiron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/casmeiron/32/25364_2.png) [@casmeiron](https://devforum.zoom.us/u/casmeiron)\
**Post date:** [October 12, 2021, 4:11am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/6 "2021-10-12T04:11:36Z")

</div>

Hi @jon.zoom,

The test was made using SDK 5.7.6.1915.

Follow attached the recording that you asked me about.

Here’s what I did:

- Joined the meeting
- Switched to GALLERY VIEW
- Invoked raiseHand

Result: Video scene automatically changed to ACTIVE SPEAKER.

[https://casmeiron.s3.amazonaws.com/raise\_hand\_moves\_to\_active\_speaker\_view.mp4](https://casmeiron.s3.amazonaws.com/raise_hand_moves_to_active_speaker_view.mp4)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 12, 2021, 5:06pm UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/7 "2021-10-12T17:06:04Z")

</div>

Hi @casmeiron,

Thanks for providing the video. We are definitely taking the same steps but seeing different results. Are you certain that [`switchToActiveSpeaker`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ZoomUIService.html#switchToActiveSpeaker--) is not being called anywhere in your app?

Thanks!

---

<div class="post-metadata">

**Author:** ![casmeiron](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/casmeiron/32/25364_2.png) [@casmeiron](https://devforum.zoom.us/u/casmeiron)\
**Post date:** [October 12, 2021, 6:43pm UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/8 "2021-10-12T18:43:21Z")

</div>

Hi @jon.zoom,

Yes 100% sure.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 12, 2021, 10:30pm UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/9 "2021-10-12T22:30:00Z")

</div>

Hi @casmeiron,

Got it, thanks for confirming! I think we’ll need some additional information in order to investigate this further. Can you please provide the following:

- Device make/model (if reproducible across multiple devices, please include them all)
- Android version(s) used to reproduce
- SDK logs (found at `sdcard/Android/data/${APP_NAME}/logs`

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 12, 2021, 8:30am UTC](https://devforum.zoom.us/t/scene-change-listener-sdk-5-7/58309/10 "2021-11-12T08:30:40Z")

</div>

Closed on November 12, 2021, 8:30am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
