TheWidlarzGroup/react-native-video

[Bug]: Ad Pauses on Buffer but Never Resumes

Open

#3,113 opened on Apr 28, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Kotlin (3,027 forks)batch import
6.x.xMissing ReproNewer Version AvailablePlatform: AndroidPlatform: iOSV6bugdifficulty: mediumgood first issuehelp wantedpriority: lowtriaged

Repository metrics

Stars
 (7,677 stars)
PR merge metrics
 (Avg merge 2d 3h) (11 merged PRs in 30d)

Description

What happened?

This bug is not easy to reproduce, but it has been witnessed every time an ad has buffered while playing. When an ad starts buffering, playback is paused, but it never resumes once buffering is finished.

Tapping the paused ad or otherwise changing the isPlaying state to true successfully resumes playback as a workaround.

Expected behaviour

Playback resumes when the ad is finished buffering.

Actual behaviour

Playback is paused when an ad starts buffering, but never resumes when buffering is finished.

Steps to reproduce

  1. Set up a default project with Google IMA and an adTagUrl.
  2. Play a video with ads until an ad buffers.
  3. Observe that playback pauses while the ad buffers and never resumes after buffering completes.

Reproduction repository

No response

react-native-video version

6.0.0-alpha.6

react-native version

No response

react-native-nitro-modules version

No response

Platforms

iOS, Android

OS version

No response

Device

No response

Architecture

No response

Expo

No response

Last working version

No response

Media / source type

Other

Contributor guide