Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

live video stops playing after 4-5 seconds #11145

Open
MansiHC opened this issue May 2, 2023 · 4 comments
Open

live video stops playing after 4-5 seconds #11145

MansiHC opened this issue May 2, 2023 · 4 comments
Assignees
Labels

Comments

@MansiHC
Copy link

MansiHC commented May 2, 2023

tried using track selector & load control but still facing the issue of repeating frame for few seconds and then again stops

   val loadControl = DefaultLoadControl.Builder()
        .setAllocator(DefaultAllocator(true,16))
        .setBufferDurationsMs(32*1024, 64*1024, 1024, 1024)
        .setTargetBufferBytes(-1).setPrioritizeTimeOverSizeThresholds(true).createDefaultLoadControl()

    val trackSelectorParameters = DefaultTrackSelector.ParametersBuilder()
        .setMaxVideoBitrate(5000)
        .setMaxAudioBitrate(5000)
        .build()

   exoPlayer =
        ExoPlayer.Builder(this).setSeekBackIncrementMs(10000).setSeekForwardIncrementMs(10000)
            .setTrackSelector(trackSelector)
            .setLoadControl(loadControl)
            .build()

can anyone please provide solution for this bug

@marcbaechinger
Copy link
Contributor

Can you repro this in the demo app? If so, please provide us with the media so we can look into this and trying to repro.

If you're unable to share bug reports or test content publicly, please send them to [email protected] using a subject in the format "Issue #11145". Please also update this issue to indicate you’ve done this.

@MansiHC
Copy link
Author

MansiHC commented May 3, 2023

hello i've sent an email please check your email

@marcbaechinger
Copy link
Contributor

Thanks. Please give general access to the file on Drive and update the issue here once you did this.

I was actually expecting a URI only. Please note that in case the myapplication.zip-File you have put on Drive for download is an app that is not the ExoPlayer demo app, I will probably not use that app for investigating for several reasons. Mostly because we can not debug the functioning of an app but more the media and the player.

I'd prefer to have a URI to the stream that we can debug.

@MansiHC
Copy link
Author

MansiHC commented May 5, 2023

I've given general access to code on drive. It is the Exo player in which I've added youtube extractor to get the live video link

URI of?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants