Skip to content

Fix SurfaceTexture can be available before the setData method is called#22

Open
pgloaguen wants to merge 1 commit into
yqritc:masterfrom
pgloaguen:master
Open

Fix SurfaceTexture can be available before the setData method is called#22
pgloaguen wants to merge 1 commit into
yqritc:masterfrom
pgloaguen:master

Conversation

@pgloaguen

Copy link
Copy Markdown

No description provided.

@yqritc

yqritc commented May 23, 2016

Copy link
Copy Markdown
Owner

@pgloaguen
Sorry for late reply, but could u please tell me in detail why u need this workaround?

@Deathhit

Deathhit commented Jan 31, 2018

Copy link
Copy Markdown

It feels like if onSurfaceTextureAvailable() happens before initializeMediaPlayer(), media player fails to set surface. So, video will not be visible while sound is still playing. I am not sure.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants