Layout Scrolling


As a participant/host/moderator in a meeting, you may want to see all participants. However, the layout options offered by BlueJeans SDK such as Gallery view (with 5x5 or 3x3 tiles) and People view (showing the active speaker and up to 5 recent speakers) only show a subset of participants at any given time.

To address this, the BlueJeans Android SDK has introduced a scrolling feature in Gallery and People view. This feature allows users to scroll in order to view all other participants in the meeting. There are two ways by which a user can exercise scrolling, they are as below:

  • Users can use the arrow buttons located on the left and right edges of the People and Gallery view to scroll.
  • Perform a swipe gesture on the People and Gallery view.

Note

  • The BlueJeans SDK will identify and display the active participant (active speaker) based on the selected layout, ensuring that this active participant remains visible across all pages regardless of scrolling.
  • In order to facilitate scrolling via swipe gesture, a touch listener must be set on the FragmentContainerView that contains the RemoteVideoFragment. This touch listener will transmit the motion events to the SDK using the subsequent API.
    blueJeansSDK.meetingService.dispatchTouchEvent(motionEvent);
        
    blueJeansSDK.meetingService.dispatchTouchEvent(motionEvent)
    

 

MeetingService exposes two observables that you can use to build your paging indicator user interface.

  • totalRemoteVideoPages – This observable tells you the total no. of pages that are available for scrolling at any given time. The value of this observable is updated whenever participants join or leave the meeting.
  • currentRemoteVideoPage – This observable tells the current page you are on. The value of this observable is updated every time you scroll to the next/previous page.