Skip to content

Android: loading indicator shows while buffering and cannot be disabled #207

Description

@Yummy-sk

Describe the bug
On Android, a loading spinner is shown in the center of the player while buffering. It is drawn by the SDK's PlayerView and there is no way to turn it off — controlsEnabled = false only affects PlayerControlView. iOS does not show anything, so the two platforms behave differently. Apps that render their own loading UI end up with two indicators on top of each other.

To reproduce

  1. Render <IVSPlayer streamUrl={url} /> on Android.
  2. Watch the center of the player while it buffers (initial load, or a rebuffer during playback).

Expected behavior
Either no built-in indicator, or a prop to opt out so it matches iOS. e.g.

<IVSPlayer streamUrl={url} hideLoadingIndicator />

Screenshots
N/A

Device (please complete the following information):

  • Simulator or Real Device: Real Device
  • Device: Redmi Note 12
  • OS: Android 13

Debug logs
N/A

Additional context
React Native 0.81. Android only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions