Skip to content

Video starts stuttering and eventually stops after time #73

Description

@oseparovic

This a more complex issue that has existed in earlier versions but I thought it was related to other issues that have since been fixed.

Affected version(s)

compile 'net.protyposis.android.mediaplayer:mediaplayer:4.3.2'
compile 'net.protyposis.android.mediaplayer:mediaplayer-dash:4.3.2'

How to reproduce:

  1. Load a dash stream. Might be dependant on device strength so on newer devices expect to need 5+ minutes at least.
  2. As the video continues to play you might start noticing the video stuttering
  3. If you continue to let this video play it will eventually slow the point where it is paused for several seconds before continuing or just stops completely. I'm not sure what the relationship is but on the SG3 4.4.4 it handles these stutters by pausing and then playing the video at what looks like 4x or 8x speed and then freezing again. On other devices it pauses and then continues playing the video at 1x speed and falling further and further behind the live stream.

Tested devices:

  • Samsung Galaxy S3 (SGH-I747) - 4.4.4 (most affected. Has a weaker Wifi receiver; only gets 1-2 bars while other devices are full signal)
  • Samsung Galaxy S3 (SGH-I747) - 4.2.2
  • OnePlus 3 (ONEPLUS A3000) - 7.1.1 (Takes much longer to exhibit the described issue)

For your own sanity the best way to reproduce the exact scenario would be to download our early alpha streaming app and analyze the logcat output. You can download here https://play.google.com/store/apps/details?id=com.appstronautstudios.steambroadcast. Simply click on any of the videos on the homepage and let the video play for a few minutes while montoring performance. I've removed obfuscation until the app is stable.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions