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

Video only (i.e. no audio) live streams don't start playing when not starting at t=0. #758

Closed
Bastian35022 opened this issue Sep 4, 2015 · 3 comments
Labels

Comments

@Bastian35022
Copy link
Contributor

For pure live video content (i.e. without audio track), playback starts with a long buffering interval. This is caused by the difference in media time of the StandaloneMediaClock (always 0 initially) and the (much higher) media time of the incoming video content.

Somehow, the media start time of the video content is not propagated into the StandaloneMediaClock: its member "setPositionUs" is only called once in the demo app, caused by the call "player.seekTo(playerPosition);" in the "preparePlayer" function in the PlayerActivity, with the initial playerPosition 0.

This effect can also be observed with static content, if the media start time is much higher than 0.

I have a hard time thinking of a way to easily fix this. Will this issue be resolved? If not, i would be happy about some guidance where to start.

I only tested this behavior for DASH+MP4+AVC, if that is relevant.

@ojw28 ojw28 added the bug label Sep 4, 2015
@ojw28
Copy link
Contributor

ojw28 commented Sep 4, 2015

Yes, this is a known issue. We should fix it.

@ojw28 ojw28 changed the title Long buffering for live video content without audio Video only (i.e. no audio) live streams don't start playing when not starting at t=0. Sep 7, 2015
@addicted2defrac
Copy link

any updates on this issue?

ojw28 added a commit that referenced this issue Jun 15, 2016
- Code is simpler. We only ever reset all tracks.
- Allows the standalone media clock to be updated properly. This
  allows simpler recovery for live streams in ExtractorSampleSource.
- Fixes #1285 and paves the way for a fix for #758.

Issue: #1285
Issue: #758
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=120530682
@ojw28
Copy link
Contributor

ojw28 commented Aug 23, 2016

This is fixed in 2.x.

@ojw28 ojw28 closed this as completed Aug 23, 2016
@google google locked and limited conversation to collaborators Jun 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants